This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes JSP and the fly likes calling servlet  from jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

calling servlet from jsp

nitin kumar
Ranch Hand

Joined: May 14, 2002
Posts: 105
Im new to Servlet.In my web.xml
<display-name>Hello Servlet</display-name>
<description>Hello, Servlet!</description>

I need to call this servlet from a jsp .So can I use
this code

<jsp:forward page="/servlet/Hello">

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13018
PLEASE do not post the same msg in multiple forums
I just answered this in the servlet forum.
I agree. Here's the link:
subject: calling servlet from jsp
It's not a secret anymore!