File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Servlet & JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet & JSP" Watch "Servlet & JSP" New topic

Servlet & JSP

Siddhartha Mukherjee

Joined: Jan 27, 2005
Posts: 8
Please let me know the java code to call a JSP from a Servlet
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
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.

Gert Cuppens
Ranch Hand

Joined: Jul 13, 2003
Posts: 87
If you're looking for a free copy of "core servlets and Java Server Pages", go to The first edition is free, the second edition can be bought at
I agree. Here's the link:
subject: Servlet & JSP
It's not a secret anymore!