aspose file tools*
The moose likes Servlets and the fly likes Can a servlet  include  jsp files? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Can a servlet  include  jsp files?" Watch "Can a servlet  include  jsp files?" New topic
Author

Can a servlet include jsp files?

Ryan Yeap
Greenhorn

Joined: Apr 28, 2001
Posts: 28
Is there a way? for servlets to include external jsp files to compile and display them?
thanks


<A HREF="http://www.mmorpgforums.com" TARGET=_blank rel="nofollow">An Online community for Online RPGs!</A>
Alejandro Villalobos
Greenhorn

Joined: Sep 17, 2001
Posts: 1
yes, including jsp files in a servlet like in a jsp is possible, you have to use the following sentences:
request.getRequestDispatcher("/myJsp.jsp").include(request,response);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can a servlet include jsp files?