RE: RequestURI (Action not JSP)

2005-03-01 Thread Paul McCulloch
. 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

Re: RequestURI (Action not JSP)

2005-02-28 Thread Ben Taylor
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

AW: RequestURI (Action not JSP)

2005-02-28 Thread Hauschel Fred
[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

Re: RequestURI (Action not JSP)

2005-02-28 Thread Erik Weber
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.

Re: RequestURI (Action not JSP)

2005-02-28 Thread Tim Christopher
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

RequestURI (Action not JSP)

2005-02-27 Thread Ben Taylor
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.

Re: RequestURI (Action not JSP)

2005-02-27 Thread Erik Weber
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