This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I include a jsp page in servlet

 
Vinoth Thirunavukarasu
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I wandt to include an jsp page in a servlet page is it possible. If it is so please tell me how.
 
Vijitha Kumara
Bartender
Posts: 3913
9
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Shashi Kant Pandey
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you can do what you want.

when including just use this code.




Thanks.

Shashi Kant

SCJP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic