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
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:
> 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
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
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
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
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
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
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
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
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
--
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
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
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
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
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
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
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
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
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
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
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
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
.
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-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
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
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
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
. 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 &
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:
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
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
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
33 matches
Mail list logo