File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Passing parameters - help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Passing parameters - help" Watch "Passing parameters - help" New topic

Passing parameters - help

ammu vasanth
Ranch Hand

Joined: Sep 04, 2004
Posts: 47
Hi Ranchers

I have this jsp page with links to various forms , which are actually XML forms coded inside a servlet..(like ..if i click the "certificate" link , a certificate.xml is invoked with suitable parameters and displayed on the next page) my problem is, if i click certificate , iam getting a tab of all the forms inside the servlet and from there i have to choose the desired form again. for a click on certificate , i must get the certificate form alone..i tried with various set and get parameters but to no avail.

any help would be greatly appreciated.

thanks in advance.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
you can use different servlets for different requests. or just simply go for struts.
Mike Burnham

Joined: Jun 06, 2001
Posts: 24
You should be able to pass a parameter embedded in the link that the servlet can check to respond with the correct form (i.e. html block keyed on this parameter). Is this what you have already tried?

SCJP 1.2
I agree. Here's the link:
subject: Passing parameters - help
It's not a secret anymore!