Re: Extending Request Processor to append request parameter

2004-03-06 Thread Michael McGrady
ot;) response.setDateHeader("Expires", "1") Comments welcome. Niall - Original Message - From: "Geeta Ramani" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, March 07, 2004 1:12 AM Subject: Re: Extend

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Niall Pemberton
quot;) response.setDateHeader("Expires", "1") Comments welcome. Niall - Original Message - From: "Geeta Ramani" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, March 07, 2004 1:12 AM Subject: Re:

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Geeta Ramani
> From: "Geeta Ramani" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Saturday, March 06, 2004 10:15 PM > Subject: Re: Extending Request Processor to append request parameter > > > Brad: > > > > I looked

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Niall Pemberton
ssage - From: "Geeta Ramani" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Saturday, March 06, 2004 10:15 PM Subject: Re: Extending Request Processor to append request parameter > Brad: > > I looked at the API and notice

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Craig R. McClanahan
Quoting Geeta Ramani <[EMAIL PROTECTED]>: > Brad: > > I looked at the API and noticed the RequestProcessor is a 1.1 feature.. Your > solution seems nice and clear! I only have one question for you though: How > do you "connect" the subclass of RequestProcessor that you wrote with the > struts Ac

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Geeta Ramani
Brad: I looked at the API and noticed the RequestProcessor is a 1.1 feature.. Your solution seems nice and clear! I only have one question for you though: How do you "connect" the subclass of RequestProcessor that you wrote with the struts ActionServlet..? Do you have to subclass the ACtionServl

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Michael McGrady
I am failing to see what the problem is. Just create a new parameter and give it a new number. Why is that a problem? At 09:23 AM 3/6/2004, you wrote: Hi Brad, Someone on this list (sorry; can't remember who) subclassed ActionForward to do exactly this. Search the archives for ParameterAction

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Craig R. McClanahan
Quoting Brad Balmer <[EMAIL PROTECTED]>: > Well, I searched through the archives with no luck on > 'ParameterActionForward' or similar. I ended up trying to ovveride the > ActionForward class but couldn't get it to work well. Then I noticed in > the RequestProcessor there is a doForward() tha

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Brad Balmer
Well, I searched through the archives with no luck on 'ParameterActionForward' or similar. I ended up trying to ovveride the ActionForward class but couldn't get it to work well. Then I noticed in the RequestProcessor there is a doForward() that can be ovveridden. I wrote the following and i

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Curtis Taylor
Hi Brad, Someone on this list (sorry; can't remember who) subclassed ActionForward to do exactly this. Search the archives for ParameterActionForward. If you can't find it, email me off-list & I'll send you the Java file (I have it stashed away somewhere. Curtis -- c dot tee at verizon dot net

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Geeta Ramani
Oops, typo.. > In your Action classes, where you usually have something like: > return mapping.findForward("success") > > you instead could have: > > return (Util.makeUnique("success")); I meant: return (Util.makeUnique(mapping.findForward("success"))); Geeta --

Re: Extending Request Processor to append request parameter

2004-03-06 Thread Geeta Ramani
Brad: Here's one very simple way of achieving your objective, but I am quite certain other people will have better ones, but since this is kind of a cute problem, I want to offer this as well..:) First write a simple "util" method (I always have a Util class in my apps where I gather stuff which

Extending Request Processor to append request parameter

2004-03-06 Thread Brad Balmer
I've been looking into this for a while and can't figure out how to do this easily. I would like to append a unique number to each request in an attempt to defeat caching (setting all the normal META tags as well as the 'nocache' in the controller doesn't seem to ALWAYS work). Therefore I want

Re: custom request processor

2004-01-23 Thread Franck Lefebure
Le Friday, January 23, 2004 7:18 AM, Mohan Radhakrishnan <[EMAIL PROTECTED]> m'a, d'une plume avisee, ecrit: > HI > A follow-up question. > > How does this impact my Tile request processor ? > > SEVERE: TilesPlugin : Specified RequestProcessor not compatibl

RE: custom request processor

2004-01-23 Thread Mohan Radhakrishnan
ppreciated. Mohan -Original Message- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 4:45 PM To: 'Struts Users Mailing List' Subject: custom request processor Hi If I have to use a custom request processor then I specify the following Is there an

RE: custom request processor

2004-01-23 Thread Mohan Radhakrishnan
HI A follow-up question. How does this impact my Tile request processor ? SEVERE: TilesPlugin : Specified RequestProcessor not compatible with TilesReques tProcessor Mohan -Original Message- From: Mohan Radhakrishnan [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 4:45 PM

custom request processor

2004-01-23 Thread Mohan Radhakrishnan
Hi If I have to use a custom request processor then I specify the following Is there anything else I have to do ? I am using modules. I got a parsing error. SEVERE: Parse Error at line 51 column 14: file:/D:/oracle9.0.4.0.1/j2ee/home/app lications/emis/emis-web/WEB-INF/struts-config

request processor error.

2003-11-06 Thread Abhijeet Mahalkar
Just an hour before my websphere 5.0 was working properly but suddenly it started giving following error and my websphere 5.0 server automatically stus down after few minutes. and this error comes in a loop and finally it throws StackoverFlow exception Will any body help me to underrstand the erro

Re: Request PRocessor

2003-10-21 Thread Philip Mark Donaghy
Abhijeet, I have created Request PreProcessors. You create a class that extends RequestProcessor and overrides the method processPreprocess. You do whatever you want in that method (logging, security, and session validation is useful) and it will be executed before every action is executed. It mus

RE: Request PRocessor

2003-10-21 Thread Chen, Gin
From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 7:16 AM To: Struts Users Mailing List Subject: Request PRocessor Sorry for previous wrong Subject Line. abhijeet - Original Message - From: "Abhijeet Mahalkar" <[EMAIL PROTECTED]> To: &quo

Request PRocessor

2003-10-21 Thread Abhijeet Mahalkar
Sorry for previous wrong Subject Line. abhijeet - Original Message - From: "Abhijeet Mahalkar" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, October 21, 2003 2:39 PM Subject: Re: element type null > Hi All, > > Will Anybody explain me How Request

Re: [struts workflow extension and tiles]Problem with configuring the request processor

2003-09-25 Thread Matthias Bauer
tiles]Problem with configuring the request processor Shirish, what Struts version are you using? I certainly tested the TilesWorkflowRequestProcessor together with the Tile plugin and it worked fine in my setup. Has the Tiles initialization code changed lately? --- Matthias [EMAIL PROTECTED

RE: [struts workflow extension and tiles]Problem with configuring the request processor

2003-09-25 Thread shirishchandra.sakhare
configuration is working now. Regards, Shirish. -Original Message- From: Matthias Bauer [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 10:22 AM To: Struts Users Mailing List Subject: Re: [struts workflow extension and tiles]Problem with configuring the request processor

Re: [struts workflow extension and tiles]Problem with configuring the request processor

2003-09-25 Thread Matthias Bauer
. Now with the workflow extenuation, I want to use the Request processor for workflow, so I have added following entry to the struts-config.xml at the very end. com.livinglogic.struts.workflow.TilesWorkflowRequestProcessor

[struts workflow extension]Problem with configuring the request processor

2003-09-25 Thread shirishchandra.sakhare
struts-config.xml had following entry. Now with the workflow extenuation, I want to use the Request processor for workflow, so I have added following entry to the struts-config.xml at the very end

RE: Request Processor to intercept URL that call a JSP as well as actions

2003-01-08 Thread Steve Vanspall
ailing List <[EMAIL PROTECTED]> > Subject: RE: Request Processor to intercept URL that call a JSP as well > as actions > > Actually thinking about it, > > My main problem is if, > > for some reason, someone tries to enter a request into the location bar, > that

RE: Request Processor to intercept URL that call a JSP as well asactions

2003-01-07 Thread Craig R. McClanahan
On Wed, 8 Jan 2003, Steve Vanspall wrote: > Date: Wed, 8 Jan 2003 17:37:05 +1100 > From: Steve Vanspall <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: Request Proc

RE: Request Processor to intercept URL that call a JSP as well asactions

2003-01-07 Thread Craig R. McClanahan
On Wed, 8 Jan 2003, Steve Vanspall wrote: > Date: Wed, 8 Jan 2003 17:33:40 +1100 > From: Steve Vanspall <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts Users Mailing List <[EMAIL PROTECTED]> > Subject: RE: Request Proc

RE: Request Processor to intercept URL that call a JSP as well as actions

2003-01-07 Thread Steve Vanspall
. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 8 January 2003 5:30 PM To: Struts Users Mailing List Subject: Re: Request Processor to intercept URL that call a JSP as well as actions On Wed, 8 Jan 2003, Steve Vanspall wrote: > Date: Wed, 8 Jan 2003 17:08:04 +1100 > From: Steve Vanspall &

RE: Request Processor to intercept URL that call a JSP as well as actions

2003-01-07 Thread Steve Vanspall
Subject: Re: Request Processor to intercept URL that call a JSP as well as actions On Wed, 8 Jan 2003, Steve Vanspall wrote: > Date: Wed, 8 Jan 2003 17:08:04 +1100 > From: Steve Vanspall <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To:

Re: Request Processor to intercept URL that call a JSP as well asactions

2003-01-07 Thread Craig R. McClanahan
On Wed, 8 Jan 2003, Steve Vanspall wrote: > Date: Wed, 8 Jan 2003 17:08:04 +1100 > From: Steve Vanspall <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: Struts User Mailing List <[EMAIL PROTECTED]> > Subject: Request Processor

Request Processor to intercept URL that call a JSP as well as actions

2003-01-07 Thread Steve Vanspall
Hi there, I have succesfully restricted access to certain Actions, using a RequestProcessor I have made. But I have notices that the RequestProcessor processPreProcess file only seems to be called if a URL is determined to be an action. I would like, also to be able to intercept a request if it

Subclass Actions vs Request processor? - Design Question

2002-06-18 Thread Jeff_Mychasiw
uture, if I want to perform common functionality for each request, then I should plan to use the request processor. 2 - I should still create an Application specific super Action Class to hold common helper methods but I do not need to force an abstract myPerform() Am I off base? -- To unsubscri