wrote in news:91c563d1-bf7e-493b-a08c-
:
> hello,
>
> In struts when from is submit then values are get in action
> method
>
> but through html:link values are not able to get
>
> but it possible only through pass in url as pass.do?
> id=999&value=ford
>
>
> can any body tell about problem
>
> regards
> sivakaminathan
<html:link /> does not pass the form to Action, you have to your http
parameters or html:link's "name" attribute.
Example of the former:
<html:link action="/system/editAdministrator.do?action=view&login=
${admin.login}" scope="page">
<c

ut value="${admin.name}" />
</html:link>
Example of the latter:
<bean:define id="login" name="admin" property="login"/>
<%
java.util.HashMap params = new java.util.HashMap();
params.put("login", login);
pageContext.setAttribute("linkParameters", params);
%>
<html:link action="/system/editAdministrator.do?action=view"
scope="page" name="linkParameters" >
<c

ut value="${admin.name}" />
</html:link>
Then in the Action you get the value by calling
request.getParameter("login")
Examples need use struts-el tags to work.