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.
request.putAttribute()


-----Original Message-----
From: Huaxin [mailto:[EMAIL PROTECTED]]
Sent: 29. september 2001 21:11
To: [EMAIL PROTECTED]
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

Reply via email to