Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet & JSP

 
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic