tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tarwinder Dhak" <>
Subject Java beans
Date Thu, 01 Nov 2001 09:24:54 GMT
Hi all,

I've got an index servlet the handles the initial request to my web app.
This servlet creates a session and a bean; this bean is then stored in the
session scope.  Once this is done, I use a request dispatcher to forward the
request to a JSP page.  The problem is that when I try to use the bean I
created in the servlet (using <jsp:useBean>), I get an internal servlet
error 500.

To try to narrow down the problem I removed the bean instantiation from the
servlet and created it in the JSP page, this works as it should.

Any ideas ???

Thanks in advance for you help !!!


Tarwinder Dhak

Transact Group

Legal Disclaimer: Internet email communications are not secure and
therefore the NetInvest Group does not accept legal responsibility for
the contents of this message. Any views or opinions presented are solely
those of the author and do not necessarily represent those of the
NetInvest Group unless otherwise specifically stated.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message