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

Calling servlet from JSP

prakash muthu
Ranch Hand

Joined: Sep 06, 2000
Posts: 75
Can you tell me about the methods of calling servlet from JSP?
How many ways are there?
with regards

Prakash.M<BR>Bangalore- India<BR>(
Prasad Charasala
Ranch Hand

Joined: Nov 02, 2000
Posts: 67
First of all why do you need to call Servlet from JSP? The container finally converts the JSP into a servlet. So we can assume the JSP as a servlet. So you can forward the request to another Servlet or JSP or you can redirect the request to another servlet or JSP.
[This message has been edited by Prasad Charasala (edited November 03, 2000).]

I agree. Here's the link:
subject: Calling servlet from JSP
It's not a secret anymore!