Re: Get current URL on a page

2008-02-13 Thread Randy Burgess
tions Developer Nuvox Communications > From: Tommy Becker <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Tue, 12 Feb 2008 10:52:07 -0500 > To: Struts Users Mailing List > Subject: Re: Get current URL on a page > > Unfortunately it is. I'm

Re: Get current URL on a page

2008-02-12 Thread Dave Newton
Don't recall off-hand; IIRC there's a request wrapper that has a getRequest() method that I thought returned the underlying request, but I could be off-target on that one. Personally I still think exposing the request via the action is a better way of doing it, if this is the way you're going to i

Re: Get current URL on a page

2008-02-12 Thread Tommy Becker
Ugh. Thanks for the info, but now there's another problem. I'm using Tiles 2, and apparently it's manipulating the request url. When I do this, I'm getting back the url to the Tiles template I'm using to render the page, not the originally requested url Any ideas on how to get around that?

Re: Get current URL on a page

2008-02-12 Thread Dave Newton
--- Dave Newton <[EMAIL PROTECTED]> wrote: > value="#context.get('com.opensymphony.xwork2.dispatcher.HttpServletRequest').getRequestURL()"/> Too much cut, not enough paste: Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Get current URL on a page

2008-02-12 Thread Dave Newton
--- Tommy Becker <[EMAIL PROTECTED]> wrote: > Unfortunately it is. I'm creating a url to another site using > and passing the current url as a parameter. I suppose I don't *have* to > use Is it not possible? The S2 OGNL docs say there's access to the request *context*, which means the reque

Re: Get current URL on a page

2008-02-12 Thread Tommy Becker
e JSTL. Regards, Randy Burgess Sr. Web Applications Developer Nuvox Communications From: Tommy Becker <[EMAIL PROTECTED]> Reply-To: Struts Users Mailing List Date: Tue, 12 Feb 2008 10:31:09 -0500 To: Struts Users Mailing List Subject: Get current URL on a page Is there a way to get t

Re: Get current URL on a page

2008-02-12 Thread Randy Burgess
Users Mailing List > Subject: Get current URL on a page > > Is there a way to get the URL for the current page using struts tags? I > thought I had access to the HttpRequest, and therefore could just use > getRequestURL() but it appears the docs have led me astray :/ > <http://ww

Get current URL on a page

2008-02-12 Thread Tommy Becker
Is there a way to get the URL for the current page using struts tags? I thought I had access to the HttpRequest, and therefore could just use getRequestURL() but it appears the docs have led me astray :/ NOTICE: This e-mail message is for the sole use of the intende