RE: Request Processor Struts2

2006-10-30 Thread Dave Newton
From: Jim Reynolds [mailto:[EMAIL PROTECTED] > So my question is: How do I handle this type of setup in Struts 2? I > noticed that there is a Interceptor that may be for this task, but I > am unsure. Do I extend the interceptor and handle my logic there, or > is there a simpler way. I'm not sure w

RE: Request Processor Struts2

2006-10-30 Thread Juan Espinosa
In the mailreader there is an example. you can do it with an interceptor package mailreader2; import com.opensymphony.xwork2.interceptor.Interceptor; import com.opensymphony.xwork2.ActionInvocation; import com.opensymphony.xwork2.Action; import java.util.Map; import org.apache.struts.apps.mailre

Re: request processor

2006-08-23 Thread Monkeyden
Classic! What is the purpose of a lawn mower? What about a hair brush? A screwdriver? Noun + [implied] Verb = clearly stated purpose On 8/23/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: Is this a bad Karnak routine? Johnny: "To parse requests" Ed McMahon: "To parse requests" -tears en

RE: request processor

2006-08-23 Thread Kalra, Ashwani
Do you know how to google ? http://wiki.apache.org/struts/RequestProcessor -Original Message- From: Gomathi [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 23, 2006 9:52 AM To: Struts Users Mailing List Subject: request processor hai, what is the use of request processor? This me

Re: request processor

2006-08-22 Thread Frank W. Zammetti
Is this a bad Karnak routine? Johnny: "To parse requests" Ed McMahon: "To parse requests" -tears envelope open- Johnny: "What is the use of request processor?" :grin: Sorry, couldn't resist :grin: The RP is essentially the series of steps that Struts goes though when a request is received

RE: Request Processor validation Question

2005-03-14 Thread Antony Joseph
Correction. Default implementation uses any configured roles. Your implementation can override this and implement whatever logic you want. - Original Message - From: "Antony Joseph" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Subject: RE: Request Pro

RE: Request Processor validation Question

2005-03-14 Thread Antony Joseph
ailing List" Subject: RE: Request Processor validation Question Date: Mon, 14 Mar 2005 10:18:34 -0600 > > If I use the processRoles(), does that mean I have to use the J2EE > authentication mechanism for web applications? Using the container > and declare the applications declarat

RE: Request Processor validation Question

2005-03-14 Thread Scott Purcell
List Subject: Re: Request Processor validation Question Hi Scott, Check the javadocs for the RequestProcessor. Any method which has an ActionMapping as an argument can be used to figure out the action (ex: mapping.getPath()). If you plan to do authorization the method processRoles() is a good

Re: Request Processor validation Question

2005-03-14 Thread Antony Joseph
Hi Scott, Check the javadocs for the RequestProcessor. Any method which has an ActionMapping as an argument can be used to figure out the action (ex: mapping.getPath()). If you plan to do authorization the method processRoles() is a good candidate to be overriden. - Original Message -

Re: request Processor in struts-2.

2005-02-09 Thread Bill Siggelkow
er that Action chaining was discouraged. Mohan -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 3:15 PM To: Struts Users Mailing List Subject: Re: request Processor in struts-2. In Struts 1.2 you can configure different RequestProcessors for di

RE: request Processor in struts-2.

2005-02-09 Thread Joe Germuska
I am just trying to understand this particular design decision. I remember that Action chaining was discouraged. Mohan -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 3:15 PM To: Struts Users Mailing List Subject: Re: request Processo

Re: request Processor in struts-2.

2005-02-09 Thread Joe Germuska
I am all for people downloading the nightly builds and acquainting themselves with the new designs in Struts (which is not Struts 2, by the way; it's Struts 1.3.0). But, I want to make sure that people understand -- this is code under rapid development; there are no API guarantees; and it may b

RE: request Processor in struts-2.

2005-02-09 Thread mohan.radhakrishnan
ecision. I remember that Action chaining was discouraged. Mohan -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 3:15 PM To: Struts Users Mailing List Subject: Re: request Processor in struts-2. In Struts 1.2 you can configure

Re: request Processor in struts-2.

2005-02-09 Thread Niall Pemberton
In Struts 1.2 you can configure different RequestProcessors for different modules, but you can' t have different RequestProcessors for the same module. Struts 1.3 (under development) is based on the Chain of Responsibilty (CoR) pattern (using Jakarta Commons Chain) - that introduces alot more flex

Re: request Processor in struts.

2005-02-09 Thread Niall Pemberton
You can configure it using the element in the struts-config.xml... http://struts.apache.org/userGuide/configuration.html#controller_config Niall - Original Message - From: "Sandip Khetle" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 09, 2005 7:42 AM Subject: request Processor i