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()
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