Help coderanch get a
new server
by contributing to the fundraiser

suc fung

Greenhorn
+ Follow
since Jul 11, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by suc fung

Thanks again for your prompt response. You are right about the usage of javascript. I even tried using <a href ="javascript:submit()"> something </a>. But it gives me javascript error. Doesn't specify the error but says object not supported. Im using IE 6 .

Thanks again
18 years ago
Thank you very much for the response. The 'thread' that you were speaking about explains how to use <a href .... > . But I want to use <html:link> and pass a few hidden variables to the action. I DO NOT want to use any java script. My question is..

Is there a way that i can map the link to a method in LookupDispatchAction's getKeyMethodMap(), wherein i can use the hidden parameters from the jsp ?
18 years ago
I have a jsp page which has two buttons and a link.

I am using <html:submit> for the buttons and it works fine
in the action class, which extends LookUpDispatchAction.

Now I want to submit the form when I click on the link.

The action tag in my strutsConfig.xml has an attribute 'parameter= something' for the buttons.

How do I send hidden parameters when I click the link ?
What should I add in strutsconfig for the link ?
18 years ago