java - Pass values from html to Action Class Struts -
i new struts , facing issues.
here html code :-
<div id = "processingmode"> <div id = "appbutton"> <input type="hidden" value="cancel" name="flagvalue" /> <a href="**action class path**">cancel</a> </div> </div>
and want retrieve hidden field values in action class (or please let me know how pass values html action class).
can me achieve this.
in order pass hidden parameter value using struts first need add struts library , import struts tag library try below code
<s:url action="actionclass"> <s:param name="id" value="parametervalue" /> </s:url>
Comments
Post a Comment