RE: Mapping struts.xml actions to their full URL

2019-03-12 Thread Yasser Zamani
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.

Regards.

>-Original Message-
>From: shonlevin1234@ 
>Sent: Monday, March 11, 2019 3:45 PM
>To: user@struts.apache.org
>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-
>
>
>
>bar2.jsp
>
>
>
>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: user-unsubscr...@struts.apache.org
>For additional commands, e-mail: user-h...@struts.apache.org



Re: Mapping struts.xml actions to their full URL

2019-03-11 Thread shonlevin1234



On 2019/03/11 12:42:14, Dave Newton  wrote: 
> The "servlet prefix" (whatever that is) is dependent on the deployment, not
> the app.
> 
> On Mon, Mar 11, 2019 at 8:22 AM shonlevin1...@gmail.com <
> shonlevin1...@gmail.com> wrote:
> 
> > 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-
> >
> > 
> > 
> > bar2.jsp
> > 
> > 
> >
> > 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: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
> 
> -- 
> em: davelnew...@gmail.com
> mo: 908-380-8699
> tw: @dave_newton 
> li: dave-newton 
> gh: davelnewton 
> so: Dave Newton 
> bl[0]: Bucky Bits 
> bl[1]: Maker's End Blog 
> sk: davelnewton_skype
> Not sure what do yo mean... a servlet is associated with a specific web 
> application so how can I get to which servlet each action is mapped to?

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Mapping struts.xml actions to their full URL

2019-03-11 Thread shonlevin1234



On 2019/03/11 12:42:14, Dave Newton  wrote: 
> The "servlet prefix" (whatever that is) is dependent on the deployment, not
> the app.
> 
> On Mon, Mar 11, 2019 at 8:22 AM shonlevin1...@gmail.com <
> shonlevin1...@gmail.com> wrote:
> 
> > 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-
> >
> > 
> > 
> > bar2.jsp
> > 
> > 
> >
> > 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: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> >
> >
> 
> -- 
> em: davelnew...@gmail.com
> mo: 908-380-8699
> tw: @dave_newton 
> li: dave-newton 
> gh: davelnewton 
> so: Dave Newton 
> bl[0]: Bucky Bits 
> bl[1]: Maker's End Blog 
> sk: davelnewton_skype
> Not sure you understood my question... a servlet is associated with a 
> specific web application so how can I know for every action in struts.xml to 
> which servlet it's mapped? 

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Mapping struts.xml actions to their full URL

2019-03-11 Thread Dave Newton
The "servlet prefix" (whatever that is) is dependent on the deployment, not
the app.

On Mon, Mar 11, 2019 at 8:22 AM shonlevin1...@gmail.com <
shonlevin1...@gmail.com> wrote:

> 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-
>
> 
> 
> bar2.jsp
> 
> 
>
> 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: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

-- 
em: davelnew...@gmail.com
mo: 908-380-8699
tw: @dave_newton 
li: dave-newton 
gh: davelnewton 
so: Dave Newton 
bl[0]: Bucky Bits 
bl[1]: Maker's End Blog 
sk: davelnewton_skype