.
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 Struts Action as the
Display Tag requires a parameter
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
[mailto:[EMAIL PROTECTED]
Gesendet: Montag, 28. Februar 2005 14:20
An: Struts Users Mailing List
Betreff: Re: RequestURI (Action not JSP)
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
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.
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
Can anyone tell me if it is possible to extract the name of the
current action from within a JSP? ie. /welcome.do, or
/secure/login.do... Is there a tag that can do this - maybe within
one of the additional tag libraries?
Thank you in advance.
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
7 matches
Mail list logo