iling list.
Paul
> -Original Message-
> From: Tim Christopher [mailto:[EMAIL PROTECTED]
> Sent: 28 February 2005 21:31
> To: Struts Users Mailing List
> Subject: Re: RequestURI (Action not JSP)
>
>
> Hi,
>
> I'd like to be able to access the path of my
Hi,
I'd like to be able to access the path of my Struts Action as the
Display Tag requires a parameter 'requestURI'. It needs this
attribute so that it can append values to the end of the current url -
without the requestURI it will make the link point to the jsp which is
located under the WEB-IN
I used something like this once.
First I extended RequestProcessor. I picked the processActionPerform
method because it's one of the last ones to be invoked by the
controller, and various attributes tend to get removed/added as the
controller moves through the request processing chain. Sometimes
I must admit I'm a little unsure of how to do that within the JSP.
I'm tempted to use request.getRequestURI() from within the
StrutsAction and place that value into the session / request under my
own variable name Obviously if a value already exists that is in
scope I'd much prefer to use tha
I don't have the best answer, but I've got two ideas for you.
One is to remember that the ActionMapping (which inherits from
ActionConfig) instance is available to the setup action before you
transfer control to your JSP. Not sure if that would help or not.
Also, I found it very helpful to overr
5 matches
Mail list logo