Answer the question
In order to leave comments, you need to log in
How to pass a parameter to an Action?
You can pass a parameter to an Action like this: <s:form action="index?pageLevel=99">
But you need to pass it dynamically, for example, <s:form action="index?pageLevel=<%=level%>">
or
<c:set var="pageLevel" scope="page" value="<%=level%>" />
<s:form action="index?pageLevel=${pageLevel}">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question