aspose file tools*
The moose likes JSP and the fly likes JSP forward or include? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP forward or include?" Watch "JSP forward or include?" New topic
Author

JSP forward or include?

Med Shabe
Ranch Hand

Joined: May 08, 2001
Posts: 84
Hi,
I'm trying to get rid of the frameset trap. How would I target two different destinations, an html and a servlet say, from a jsp passing a request object to the servlet?
Thanks much.
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
When you use forward the invoker will not have an access to request any longer ( request & the control will be forwarded to destination ). If you use include, request object thus the control will return to the invoker that calls include after the destination is done with processing the request.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP forward or include?