Hi,

Apologies in advance for the newbie question.  I'm using UrlBinding
for clean URLs, and I can't figure out how to get the actual request
URL.  Both of these:

pageContext.request.requestURL

actionBean.context.sourcePage

return the jsp page URL, not the request URL.

So, e.g.:

@UrlBinding("/foo")
public class Foo extends ActionBean {
  public resolution bar() {
    return new ForwardResolution("/baz.jsp");
  }
}

what I want is

http://host/foo

but what I get is

http://host/baz.jsp

Again, apologies for the newbie nature of my question.  Can anyone
help me?  Thanks!


Joel

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to