• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet & JSP  RSS feed

 
Siddhartha Mukherjee
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please let me know the java code to call a JSP from a Servlet
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As you use the term "calling" rather than "forwarding". I think you require some reading. check out the bunkhouse for book reviews.

anyways following is a code snippet.


cheers.
 
Gert Cuppens
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're looking for a free copy of "core servlets and Java Server Pages", go to www.coreservlets.com. The first edition is free, the second edition can be bought at amazon.com.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!