I use the framework experience. I have a simple problem.
I have a link on the page. I want the Struts2 action to be executed when the user clicks the link and wants to pass some parameters.
For instance:
link on page = My Link
Action I want to call = myTestAction (it is defined in struts.xml)
parameter I want to pass = typeA=false
How can i do this? I looked at the tag <s:url><s:param name="typeA" value="false"></s:url>. However, the parameter does not seem to pass. when I put the link on the link, I do not see any parameters.
ratan source
share