This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Struts: No getter method for property name problem
what is defalut value of Custom tag body-content
creating a pop up calendar within a form
pop up page
WA #1.....word association