aspose file tools*
The moose likes Servlets and the fly likes jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "jsp" Watch "jsp" New topic
Author

jsp

manoj Mahadik
Greenhorn

Joined: Nov 21, 2000
Posts: 8
how to call servlet from jsp page?
Paul Ramsden
Greenhorn

Joined: Sep 22, 2000
Posts: 28
Manoj,
One way would be to add a form to the JSP and set the form action to call the servlet.
You can include content into a JSP from another JSP (which is essentially a servlet)
Paul
------------------
nirmal baba
Greenhorn

Joined: Apr 06, 2001
Posts: 10
Hello
U can use the <jsp:forward>action tag to allow the request to be forwarded to another servlet. The only constraint with this tag is the servlet to which the request is being forwarded must be in the same context as the JSP dispatching the request.
U can also use the <jsp:include> tag to include the servlet output in the calling JSP
Nirmal
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp
 
Similar Threads
what is defalut value of Custom tag body-content
pop up page
WA #1.....word association
creating a pop up calendar within a form
Struts: No getter method for property name problem