struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Salgado <>
Subject Re: button as link
Date Tue, 04 May 2004 22:06:57 GMT
On 04/05/04 22:34, "Samuel Rochas" <> 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:
For additional commands, e-mail:

View raw message