tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <>
Subject RE: servlet to jsp
Date Sun, 30 Sep 2001 20:35:53 GMT
u must use the requestDispatcher to forward the request onto the JSP
page from the servlet.

then you can use what ever in your JSP to access what ever beans your
servlet instanciates and puts into the request object.

-----Original Message-----
From: Huaxin []
Sent: 29. september 2001 21:11
Subject: servlet to jsp

how can i create a bean in a servlet, and then the serlet
forward/include to a jsp, the jsp can read from the bean?

thanks a lot

View raw message