tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reynir Hübner <rey...@hugsmidjan.is>
Subject RE: servlet to jsp
Date Sun, 30 Sep 2001 20:36:57 GMT
sorry I was going to write this into the other email ...but accidentaly
clicked send...

use this to forward the request..

    RequestDispatcher dispatcher =
getServletContext().getRequestDispatcher(ServletName);
    dispatcher.forward(request,response);


hope it helps 
-r

-----Original Message-----
From: Huaxin [mailto:hxzhang@cs.ualberta.ca]
Sent: 29. september 2001 21:11
To: tomcat-user@jakarta.apache.org
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


Mime
View raw message