Re: Check for forward

2004-07-13 Thread Emmanouil Batsis
Bill Siggelkow wrote: Create a custom RequestProcessor that extends the Struts RequestProcessor. In the custom class override the processForwardConfig method to do whatever you want. Although not an API call, this is exactly what I needed. Thanks to all who answered. Manos -

Re: Check for forward

2004-07-13 Thread Bill Siggelkow
Create a custom RequestProcessor that extends the Struts RequestProcessor. In the custom class override the processForwardConfig method to do whatever you want. Emmanouil Batsis wrote: Bill Siggelkow wrote: You can use container-managed security to restrict access to URLs -- IIRC direct request

Re: Check for forward

2004-07-13 Thread Emmanouil Batsis
Bill Siggelkow wrote: You can use container-managed security to restrict access to URLs -- IIRC direct requests (or redirects) to the resources is restricted, but forwards are not. True, as Michael also suggests (WEB-INF is by default protected by the container). However, I need some more flexib

Re: Check for forward

2004-07-13 Thread Bill Siggelkow
You can use container-managed security to restrict access to URLs -- IIRC direct requests (or redirects) to the resources is restricted, but forwards are not. Emmanouil Batsis wrote: Michael McGrady wrote: You can add information to your forwards, but, since they are your forwards, why would yo

Re: Check for forward

2004-07-13 Thread Michael McGrady
There are all sorts of ways to do this. One good one is to put all your jsp pages inside WEB-INF. At 04:44 AM 7/13/2004, you wrote: Michael McGrady wrote: You can add information to your forwards, but, since they are your forwards, why would you? I would like to protect resources from direct ac

Re: Check for forward

2004-07-13 Thread Emmanouil Batsis
Michael McGrady wrote: You can add information to your forwards, but, since they are your forwards, why would you? I would like to protect resources from direct access (i.e. non forwarded requests), and was wondering if there is a more standard way to do it besides forcing everyone in my team t

Re: Check for forward

2004-07-13 Thread Michael McGrady
You can add information to your forwards, but, since they are your forwards, why would you? I don't understand the practical reach of this question. At 03:56 AM 7/13/2004, you wrote: Is there a way to "know" whether the HttpServletRequest I am processing (in my action or whatever) was forward

RE: Check for forward

2004-07-13 Thread ravi.vedala
My 2 cents : Add an attribute and decide from that !! -Original Message- From: Emmanouil Batsis [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 4:26 PM To: Struts Users Mailing List Subject: Check for forward Is there a way to "know" whether the HttpServletRe

Check for forward

2004-07-13 Thread Emmanouil Batsis
Is there a way to "know" whether the HttpServletRequest I am processing (in my action or whatever) was forwarded and thus is not a direct or redirected request? Thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi