struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heiko Jürgens" ...@iap.de>
Subject Re: Parameters to Actions
Date Mon, 07 Jul 2003 12:36:18 GMT


> Hello, i'm using this dynamic link to pass a parameters to an action:
> 
> http://localhost:8081/deleteEvent.do?action=confirmDelete

>             String action = (String) request.getAttribute("action");
>             

Use getParameter instead of getAttribute!

HTH, Heiko

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


Mime
View raw message