On 04/05/04 22:34, "Samuel Rochas" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I would like to use a button as a link.
> 
> I used to solve that, before struts, with a form containing only a button.
> 
> With struts, it seems I have to declare a form object in the
> struts-config.xml, create a class for that empty form, etc.
> 
> Is there a simple way to solve that?
> 

  What about a button with an onclick Javascript event that redirects you to
the desired Struts action passing any parameters by building the url?

Pedro Salgado


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

Reply via email to