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
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
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
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
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
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
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
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
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 -
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
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
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
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
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
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
15 matches
Mail list logo