?
Solved

Pass Hidden value from JSP to JSP

Posted on 2005-02-24
3
Medium Priority
?
984 Views
Last Modified: 2008-03-06
hello,
Can anyone tell me method how to pass the value from one jsp to other.

I got this set of list from DB.

1.abc
2.edf
3.rrt

Now I want each to be hyperlinked.
<a href=aa.jsp>1.abc</a>
ONce user click on 1.abc it should go to the page aa.jsp with the value (abc) as  name value pair or whatever. I know how to do it using form. But without forms how can U do it. I dont even want to use sessions.

On aa.jsp I want to accept abc or edf or rrt depending on what been click . So that if abc is click then store procedure with input parameter as abc or edf or rrt be executed.

Hope you got my idea.
Thx
Hyd
0
Comment
Question by:princehyderabad
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
kiranhk earned 200 total points
ID: 13395047
clicking on the link will not send anything that is in the form.. so even if u put a hidden filed in a form along with your link it will not be sent... so the only option is

<a href=aa.jsp?1=abc>1.abc</a>
<a href=aa.jsp?1=edf>2.abc</a>
<a href=aa.jsp?1=rrt>3.abc</a>
0
 
LVL 8

Expert Comment

by:kiranhk
ID: 13395235
thanks...with this i got my JSP Master certificate :)
0
 

Author Comment

by:princehyderabad
ID: 13395249
Congrats !!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introducing Priority Question, our latest feature.
Hey fellow admins! This time, I have a little fairy tale for you. As many tales do, it starts boring and then gets pretty gory. I hope you like it. TL;DR: It is about an important security matter, you should read it if you run or administer Windows …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question