jQuery in Action, 3rd edition
The moose likes Other Application Frameworks and the fly likes Setting in Stripes welcome file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Reply locked New topic

Setting in Stripes welcome file

Vadim Vararu
Ranch Hand

Joined: Jan 03, 2009
Posts: 147
How to set in Stripes (in web.xml) the default-file not a .jsp, but a mapping to an action?

For instance when the url is: http://www.yyy.com/ , i would like the container to make it http://www.yyy.com/someAction.action ore anything else.
I've tried many ways, but i didn't obtain a result.
It's strage, but when i type explicitly http://www.yyy.com/someAction.action, it goes ok. When i type http://www.yyy.com and have in web.xml default-file someAction.action, it does not work...

If you think you've done too much, usually it means you've done too few.
Nathan Pruett

Joined: Oct 18, 2000
Posts: 4121

Duplicate of this thread.

Write once, run anywhere, because there's nowhere to hide! - /. A.C.
I agree. Here's the link: http://aspose.com/file-tools
subject: Setting in Stripes welcome file
It's not a secret anymore!