Link looks like:
<html:link action="/whatever.do?action=Do Something">hi</html:link>

Make sure you have following in ApplicationResources.properties:
whatever.dispatch=Do Something

When you load the method Map, make sure something like this happens:

public Map getKeyMethodMap() {
         // stuff
         map.put("whatever.dispatch", "Do Something");
         // stuff
         return map;
}

Zarar



----- Original Message ----- From: "Rafael Taboada" <[EMAIL PROTECTED]>
To: "Struts List" <user@struts.apache.org>
Sent: Friday, June 17, 2005 10:29 AM
Subject: HTML:LINK


Hi folks.... I'm programming a module.
This Action class extend LookupDispatchAction and the jsp has several button in order to do something. Because it extends LookupDispatchAction each time I click on any button I can save the form elements in a session var.
All work fine...
But what about if I have a html:link... When user click on the link, I'd like to do the same what I do clicking on the button.. If there any possibility to do that???.. I notices when I click on the link, the reset method of the ActionForm is called...
Thanks in advance

--
Rafael Taboada
Software Engineer

Cell : +511-97753290

"No creo en el destino pues no me gusta tener la idea de controlar mi vida"



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to