struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anders R. Sveen" <and...@f12.no>
Subject Re: DispatchAction
Date Thu, 30 Dec 2004 11:32:30 GMT
Use the html:link tag with an action attribute. 
(action="MyDispatchActionMapping?cmd=myMethod" should do it)

You can also use a normal html href if you absolutley wanted to.

Anders,

There's also no problem

Rudi Doku wrote:
> Hello,
> 
> I'm a struts newbvie!
> 
> I have created a class that extends DispatchAction to
> perform some CRUD.
> 
> Can I use an html link to invoke an action, or does it
> always have to be from a form?
> 
> Regards,
> 
> Rudi
> 
> 
> 	
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - You care about security. So do we. 
> http://promotions.yahoo.com/new_mail
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message