Q:

Pass values from html to Action Class Struts

I am completely new to Struts and now I am facing some issues.
Here is my 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 I want to retrieve hidden field values in the action class (or please let me know how to pass values from html to action class).
Can anyone help me to achieve this.

A:

In order to pass the hidden parameter value using struts
you first need to add the struts library and import the struts tag library
 Try this below code
<s:url action="actionclass">
    <s:param name="id" value="parametervalue" />
</s:url>

