Re: s2: Retrieve current url value

2008-08-04 Thread Paweł Wielgus
Hi, have You been redirecting to jsp? You can also print uri with Best greetings, Paweł Wielgus. 2008/8/4 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Thanks Chris. I got the same value using requestURL as using requestURI. > > On Mon, Aug 4, 2008 at 11:45 AM, Chris Pratt <[EMAIL PROTECTED]> wrote:

Re: s2: Retrieve current url value

2008-08-04 Thread [EMAIL PROTECTED]
Thanks Chris. I got the same value using requestURL as using requestURI. On Mon, Aug 4, 2008 at 11:45 AM, Chris Pratt <[EMAIL PROTECTED]> wrote: > Try > > ${request.requestURL} > > or > > value="%{#context['com.opensymphony.xwork2.dispatcher.HttpServletRequest'].requestURL}"/> > > Instead. > (*C

Re: s2: Retrieve current url value

2008-08-04 Thread Chris Pratt
Try ${request.requestURL} or Instead. (*Chris*) On Mon, Aug 4, 2008 at 8:29 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks Wes. > > Maybe my question is not clear enough. I'd like to find a way to get > value in address bar which is different from the path to the jsp > renderin

Re: s2: Retrieve current url value

2008-08-04 Thread [EMAIL PROTECTED]
Thanks Wes. Maybe my question is not clear enough. I'd like to find a way to get value in address bar which is different from the path to the jsp rendering current page. Your solutions give us the latter. e.g., if loginForm.jsp is responsible for rendering page for login_input.action, ${...reque

Re: s2: Retrieve current url value

2008-08-03 Thread Wes Wannemacher
Depending on how you want it, you can use EL like - ${request.requestURI} or, if you are talking OGNL, try - -Wes On Sun, 2008-08-03 at 23:42 -0400, [EMAIL PROTECTED] wrote: > Hi, > > Is there a way to get current page's url in struts2? > > e.g. suppose a login page's url is http://.../ n

s2: Retrieve current url value

2008-08-03 Thread [EMAIL PROTECTED]
Hi, Is there a way to get current page's url in struts2? e.g. suppose a login page's url is http://...//login_input.action, how to get the url in that page? JavaScript is not allowed. Thanks. - To unsubscribe, e-mail: [EMAIL P