tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tarwinder Dhak" <tarwinder.d...@net800.co.uk>
Subject Beans from a servlet
Date Wed, 31 Oct 2001 12:38:14 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 !!!

Regards

Tarwinder Dhak
tarwinder.dhak@net800.co.uk

Transact Group
Development

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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message