Re: S 1.3.8 Custom Request Processor Vs Action Class

2011-03-07 Thread Anjib Mulepati
I am looking at the custom request processor blog where its doing basic common task such as validating user session is done in request processor now I am doing same validation in the base action class. So which one is better way doing in request processor or as base action class

Re: Not able to pass value from jsp to request Processor

2006-12-30 Thread Sarry
e: > > Is your form submitted with method GET or POST? For a GET request I'd > expect request.getParameter() to work fine. If the form is being posted, > then you wont be able to get at form data until the multi-part request > processing has occurred. The request processor shou

Re: Not able to pass value from jsp to request Processor

2006-12-29 Thread Laurie Harper
Is your form submitted with method GET or POST? For a GET request I'd expect request.getParameter() to work fine. If the form is being posted, then you wont be able to get at form data until the multi-part request processing has occurred. The request processor should invoke that at some

Re: Not able to pass value from jsp to request Processor

2006-12-28 Thread Sarry
and then, access the value in the request processor using the > > ( name > as string>); > > Hope this helps. > > - Sandeep > > > > On 12/29/06, Sarry <[EMAIL PROTECTED]> wrote: >> >> >> Hi, >> >> I am tryin to extend requ

Re: Not able to pass value from jsp to request Processor

2006-12-28 Thread Sandeep Gupta
Hi Sarry Try setting the variable using the request.setAttribute(, ); and then, access the value in the request processor using the (); Hope this helps. - Sandeep On 12/29/06, Sarry <[EMAIL PROTECTED]> wrote: Hi, I am tryin to extend request processor which basically trac

Not able to pass value from jsp to request Processor

2006-12-28 Thread Sarry
Hi, I am tryin to extend request processor which basically tracks the session and does some routing stuff. but for that I need to pass a variable which is available on JSP and need to pass it to the request processor to check something. I tried hidden field in the form but gettin value of

RE: How & Where to specify the Request Processor class name?

2006-11-28 Thread Anil Kumar T
Thanks Nuwan. It gave me some useful info. Anil. -Original Message- From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 29, 2006 3:35 PM To: Struts Users Mailing List Subject: Re: How & Where to specify the Request Processor class name? read this...

Re: How & Where to specify the Request Processor class name?

2006-11-28 Thread Nuwan Chandrasoma
read this... http://wiki.apache.org/struts/RequestProcessor - Original Message - From: "Anil Kumar T" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, November 29, 2006 6:53 AM Subject: How & Where to specify the Request Processo

How & Where to specify the Request Processor class name?

2006-11-28 Thread Anil Kumar T
Hi Guys, I have read in the documentation and on the net also about the Struts framework. There would be only one ActionServlet per web app and one RequestProcessor per module. Is that true? Any body pls help me with your answers and any useful sites. I believe we can over write the ActionSe

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
n.invoke(); } } } -Mensaje original- De: Jim Reynolds [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 30 de Octubre de 2006 03:46 p.m. Para: user@struts.apache.org Asunto: Request Processor Struts2 Hello, Newbie with WW, so hopefully this is not a silly question. In Struts 1.x I used to ex

Request Processor Struts2

2006-10-30 Thread Jim Reynolds
Hello, Newbie with WW, so hopefully this is not a silly question. In Struts 1.x I used to extend the request processor, and check for a user with a certain object in the session. If it did not exist, I would put it in, and at the same time, send to the front login if it did not exist. This was

Re: request processor

2006-08-23 Thread Monkeyden
rse 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 and recognized as a request it should handle (i.e., mapped to

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

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

request processor

2006-08-22 Thread Gomathi
hai, what is the use of request processor?

Session LOST between Request processor and Action

2006-04-06 Thread Shafiqul Islam
hi, It seems that I am loosing the session information between the Request processor and Action. Any idea to what I may be doing wrong? Thanks. ---Struts-config--- http://struts.apache.org/dtds/struts-config_1_2.dtd

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
- From: "Scott Purcell" To: user@struts.apache.org Subject: Request Processor validation Question Date: Mon, 14 Mar 2005 09:31:35 -0600 > > Hello, > I have extended the RequestProcessor and I am looking for a way to > find out where the page is going to. The reason for

Request Processor validation Question

2005-03-14 Thread Scott Purcell
Hello, I have extended the RequestProcessor and I am looking for a way to find out where the page is going to. The reason for this is as follows. I am giving each user a UserObject when they hit the site. Later on, after they log in, I set some flags to know they are valid inside the application

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

request Processor in struts-2.

2005-02-09 Thread Sandip Khetle
Message - > From: "Sandip Khetle" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, February 09, 2005 7:42 AM > Subject: request Processor in struts. > > > Hi > >Where do we make the entry for the request processor in > > strut

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: r

request Processor in struts.

2005-02-08 Thread Sandip Khetle
Hi Where do we make the entry for the request processor in struts application?for example I have extended the RequestProcessor class to create my MyRequestProcessor ...How do I communicate this to the application.Will i have to make any entry in some config file...? Thanks in

Re: Synchronization in request processor may cause performance impacts????

2005-02-06 Thread Leandro Melo
Huummm... Got it now. I'm using 1.1 source, that's why. I'll get the latest version! --- Niall Pemberton <[EMAIL PROTECTED]> escreveu: > I'm not sure which version of the source code you're > looking at but this > issue was raised in Bug 30707 and resolved in > version 1.2.4 of Struts. > > http

Re: Synchronization in request processor may cause performance impacts????

2005-02-06 Thread Leandro Melo
Huummm... Got it now. I'm using 1.1 source, that's why. I'll get the latest version! --- Niall Pemberton <[EMAIL PROTECTED]> escreveu: > I'm not sure which version of the source code you're > looking at but this > issue was raised in Bug 30707 and resolved in > version 1.2.4 of Struts. > > http

Re: Synchronization in request processor may cause performance impacts????

2005-02-06 Thread Niall Pemberton
I'm not sure which version of the source code you're looking at but this issue was raised in Bug 30707 and resolved in version 1.2.4 of Struts. http://issues.apache.org/bugzilla/show_bug.cgi?id=30707 While the getRequestProcessor() method is still synchronized, it only gets called if the getProce

Synchronization in request processor may cause performance impacts????

2005-02-06 Thread Leandro Melo
Hi. I was taking a look at struts source and found out something new (to me, of course). I knew that the RequestProcessor is the one that acutally handles the request. Although it makes sense, I didn't know that the method getRequestProcessor() in the ActionServlet was synchronized. Has anyone "mea

Re: Tiles problem when uploading war .... was [Re: Extending Request Processor]

2004-07-16 Thread Brett Connor
inters? Thanks... =) - Original Message - From: "Lucas Gonzalez Pearson" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 08, 2004 6:19 PM Subject: Re: Extending Request Processor I have this in my

Tiles problem when uploading war .... was [Re: Extending Request Processor]

2004-07-16 Thread Lucas Gonzalez Pearson
ROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 08, 2004 6:19 PM Subject: Re: Extending Request Processor > I have this in my struts-config.xml file.. > > > value="/WEB-INF/tiles-defs.xml"/> > &

Re: Extending Request Processor

2004-07-08 Thread Lucas Gonzalez Pearson
still works.. strange.. =/ - Original Message - From: "Venkat Maddipati" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, July 08, 2004 6:00 PM Subject: RE: Extending Request Processor Try to put include

RE: Extending Request Processor

2004-07-08 Thread Venkat Maddipati
Message- From: Lucas Gonzalez Pearson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 08, 2004 1:37 PM To: Struts Users Mailing List Subject: Extending Request Processor Hi I´ve recently extended the requestProcessor with one of my own and found this error: javax.servlet.ServletException

Extending Request Processor

2004-07-08 Thread Lucas Gonzalez Pearson
Hi I´ve recently extended the requestProcessor with one of my own and found this error: javax.servlet.ServletException: TilesPlugin : Specified RequestProcessor not compatible with TilesRequestProcessor at org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.ja

No Stack Information For Null Ptr Caught By Request Processor

2004-05-05 Thread Hohlen, John C
Hi, We're currently getting quite a few stack dumps in our production application (like the one at the bottom of this e-mail) where there is no stack information indicating where a Null Pointer Exception occurred. Instead, all we see is where the RequestProcessor (Struts 1.1) threw a new exce

RE: Custom Request Processor is failing at startup.

2004-04-24 Thread Josh Holtzman
, April 23, 2004 7:34 PM To: Struts Users Mailing List Subject: Re: Custom Request Processor is failing at startup. I believe that the will try to set a property in the ControllerConfig class. So you would need to extend ControllerConfig and put your "ignoreSessionCheckPath" propert

Re: Custom Request Processor is failing at startup.

2004-04-23 Thread Niall Pemberton
our custom ControllerConfig like this: Then in your custom request processor you can use the following to get the property value: ((MyControllerConfig)moduleConfig.getControllerConfig()).getIgnoreSessionChe ckPath(); Niall - Original Message - From: "Josh Ho

Custom Request Processor is failing at startup.

2004-04-23 Thread Josh Holtzman
I have created a custom RequestProcessor that extends the default RequestProcessor. I would like to initialize it with a parameter from config file. Using the element I've done the following in my config file: And within my Request Processor: private S