struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yasser Zamani <>
Subject RE: Mapping struts.xml actions to their full URL
Date Tue, 12 Mar 2019 08:40:47 GMT
Hi there,

The whole Struts itself is a servlet/filter defined in web.xml and you cannot divide your
actions between multiple servlet/filter I think.


>-----Original Message-----
>From: shonlevin1234@ <>
>Sent: Monday, March 11, 2019 3:45 PM
>Subject: Mapping struts.xml actions to their full URL
>As part of security tests we are doing, I have to map the actions appears in
>struts.xml to their full URLs. I know to connect between the namespace and the
>action name of every action from struts.xml, but how can I know which servlet
>refers to each action?
>For example, this is my struts.xml file-
><package name="mypackage" namespace="/barspace">
>    <action name="bar" class="mypackage.simpleAction">
>        <result name="success" type="dispatcher">bar2.jsp</result>
>    </action>
>I know that the URL contains the path "/barspace/bar.action" but how can I build
>the rest of the URL (with the servlet prefix as well)?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

View raw message