1 Reply Latest reply on Apr 19, 2006 7:16 AM by tzimmerman

    getpagecontext function

    anuradha@radiusmedia.com
      hi all,

      have anybody integrated jsp or servlet pages in coldfusion applications....
      i am right now in a position to supply a request object to the jsp page from a coldfusion page....
      so after a long r&d i found that the getpagecontext() function could help me out....
      but the problem with this function is that it throws a null pointer exception....
      is that my coding problem or is it an coldfusion bug?

      here is my code......

      <cfset pc = GetPageContext()>
      <cfset pc.include("jsp2include.jsp")>

      and i have tried using the function like this also....

      <cfscript>
      getpagecontext().include("jsp2include.jsp")
      </cfscript>

      any help would be greatly appreciated.....
      thanks in advance....