aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet URI" Watch "Servlet URI" New topic
Author

Servlet URI

Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
Okay,
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
<ahref="http://server/examples/servlet?someparamter>
Any help would be greatly appreciated.
Thanks,
Sean.
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