Distinguish between request parameters and struts.xml parameters in Struts2

Hi all,
  I'm trying to distinguish the parameters that come from the request from
those that come from the params defined in the struts.xml. For example, I
have the following mapping in my struts.xml

        <action name="Login_*" method="{1}" class="example.Login">
            <param name="resource">my resource</param>
            <result name="input">/example/Login.jsp</result>
            <result type="redirectAction">Menu</result>
        </action>

The call to that action will have a variable number of parameters, so I want
to distinguish between them and the parameter defined in the struts.xml. How
can I do that? In Struts 1 I was able to use the tag <set-property>, and
since the action was separated from the form, there was no problem, but in
Struts2 that is no longer possible. Any ideas?

Thanks

Jose Luis

Reply via email to