--- Tommy Becker <[EMAIL PROTECTED]> wrote: > Unfortunately it is. I'm creating a url to another site using <s:url> > and passing the current url as a parameter. I suppose I don't *have* to > use <s:url> Is it not possible?
The S2 OGNL docs say there's access to the request *context*, which means the request attributes. If you're doing this in the result of an S2 action one way would be to expose the request in the action. If you're a glutton: <s:property value="#context.get('com.opensymphony.xwork2.dispatcher.HttpServletRequest').getRequestURL()"/> Dave > Randy Burgess wrote: > > If the value is not going into a struts tag then just use JSTL. > >> From: Tommy Becker <[EMAIL PROTECTED]> > >> > >> 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://www.motricity.com> > >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]