wood burning stoves 2.0*
The moose likes Servlets and the fly likes Servlet URI 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 "Servlet URI" Watch "Servlet URI" New topic

Servlet URI

Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
I have an application with one servlet as the controller. I want I have a main.jsp which has a menu of links to other pages. When one of these links are clicked, I want the control to go to the servlet and have the servlet determine which page to forward to. My question is how do I write the link so it goes to the servlet with a particular parameter? I know how to do this with <form></form> but I'm not sure how to do it with
Any help would be greatly appreciated.
Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
I figured it out. I was using == insted of equals(). It was driving me crazy.
I agree. Here's the link: http://aspose.com/file-tools
subject: Servlet URI
Similar Threads
post form data when slection changed in list
Calling a servlet via a link how do I pass a parameter
servlets and html forms.....
How to keep a button from submitting a form.
Question on Links using struts