[Stripes-users] current page url?

2009-10-10 Thread Rusty Wright
How do I get the url for the current page? I need it for a redirect back to the current page after the user logs in. I've tried the following things (in the log.debugs) with no success: public String getLoginUrl() { this.log.debug("uri: " + this.context.getRequest().getRequestURI()

Re: [Stripes-users] current page url?

2009-10-10 Thread Freddy Daoud
Hi Rusty, > How do I get the url for the current page? I need it for a redirect back > to the current page after the user logs in. Here's how I do it in the Stripes book: public String getLastUrl() { HttpServletRequest req = getContext().getRequest(); StringBuilder sb = new