Hello,

I've got a problem using callPage along with frames.

On my servlet I am setting a Bean as attribute and use callPage .
...
   jrunReq.setAttribute("Bean",myBean);
   jrunRes.callPage(template,jrunReq);

where template is a frameset defined below.

------------------------------------------
Frame1    page1.htm           |
------------------------------------------
Frame2    page2.jsp            |
------------------------------------------
Frame3    page3.htm           |
------------------------------------------


page2.jsp is a jsp page and is requiring the bean myBean to do some
processing.

page2.jsp source is below:

<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="Adobe PageMill 3.0 Win">
  <TITLE></TITLE>
<BEAN NAME="myBean" TYPE="TestBean" CREATE="NO" SCOPE="REQUEST"
INTROSPECT="NO">
</BEAN>
</HEAD>
<BODY>
<%out.print(myBean.output());%>
</BODY>
</HTML>

---

When the servlet call the frameset the following error
message is display in Frame2
----------------------------------------------------
page1.htm (display as normal)       |
----------------------------------------------------
error message                              |
----------------------------------------------------
page3.htm (display as normal)       |
----------------------------------------------------

the error message is below:
java.lang.NullPointerException:
        at
jsp.tsheet.webinterface.documents.edittimesheetdetails.service(edittimesheet
details.java:90)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at
com.livesoftware.jrun.plugins.jsp.JSPCore.runServlet(JSPCore.java:763)
        at com.livesoftware.jrun.plugins.jsp.JSP.callPage(JSP.java:621)
        at com.livesoftware.jrun.plugins.jsp.JSP.service(JSP.java:543)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at com.livesoftware.jrun.JRun.runServlet(Compiled Code)
        at com.livesoftware.jrun.JRunGeneric.handleConnection(Compiled Code)
        at
com.livesoftware.jrun.service.web.JRunWebServiceHandler.handleOutput(Compile
d Code)
        at
com.livesoftware.jrun.service.web.JRunWebServiceHandler.handleRequest(Compil
ed Code)
        at com.livesoftware.jrun.service.ThreadConfigHandler.run(Compiled
Code)


Can you help?
Thanks for the time that you spend on it.

Regards,
Pascal


**********************************************************************
LEGAL DISCLAIMER
**********************************************************************
The contents of this email and any transmitted files are confidential
and intended solely for the use of the individual or entity to whom
they are addressed. Synopsys hereby excludes any warranty and any
liability as to the quality or accuracy of the contents of this email
and any attached transmitted files. If you are not the intended
recipient, be advised that you have received this email in error and
that any use, dissemination, forwarding, printing or copying of this
email is strictly prohibited.

If you have received this email in error please notify the Technology
Department at Synopsys Ltd. on +44 171 250 1990.
**********************************************************************

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to