PlanetJava
Custom Search

java-stripes-user
[Top] [All Lists]

clean urls without /action/*

Subject: clean urls without /action/*
Date: Wed, 6 Feb 2008 01:01:09 +0000 (UTC)
OK. First post.
New to many things, including Stripes. As a newbie, Stripes seems to make a lot
of things fairly straightforward, and my hiccups have had more to do with my own
learning curve. So the following problem may have a simple solution:
Would like to implement the clean url's in Stripes 1.5
Would like urls like:
/home/...
/login/...
etc...
corresponding to @UrlBinding("/home/...") in my action bean.
but can only find examples for
/action/home/...
/action/login/...
the /action/ seems important as it corresponds to the /action/* url-pattern in
the servlet-mapping in my web.xml
but I would like to not see "/action/". If I change the url-pattern to /*, I get
an infinite loop as Stripes is continually redirecting to 'home.jsp'.
What configuration do I need to get the urls I want?
Thanks so much for your thoughts!
Cameron
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy