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

Can I include a jsp page in servlet

Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

Hi,
I wandt to include an jsp page in a servlet page is it possible. If it is so please tell me how.


Java Best Practices
Linux Best Practices
Amortization Calculator

Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3855

vinoth thirunavukarasu wrote:I wandt to include an jsp page in a servlet page is it possible. If it is so please tell me how.


First, there's no such thing called servlet page. You can include a jsp (rather jsp fragment) in another jsp page.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Shashi Kant Pandey
Greenhorn

Joined: Jan 29, 2009
Posts: 1
Yes you can do what you want.

when including just use this code.




Thanks.

Shashi Kant

SCJP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I include a jsp page in servlet