dcsimg
getting an error after trying to forward to a JSP page via a servlet
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Gavin_Gaudet
Posted On:   Friday, June 29, 2001 06:25 AM

I get this error:


ERROR: Cannot forward. Writer or Stream already obtained.


This is in a VAJ environment with EJBs, Servlets and JSP pages


Before I forward to the JSP page, I put an EJB bean into the session. I only get this error when the JSP page tries to grab an attribute of the EJB bean.


Any help would be appreciated!


Gavin.

Re: getting an error after trying to forward to a JSP page via a servlet

Posted By:   Benoit_Quintin  
Posted On:   Friday, July 6, 2001 02:05 PM

If I understand correctly you are passing a EJB remote interface to your JSP and then, you try to access that remote interface within your JSP page??


Could it be that your EJB container isn't 'available' from your JSP engine? (Are you using clustering or somehting like that?)

Also, is it a Session / Entity bean?

And... What AppServer is this problem happening on?

About | Sitemap | Contact