wood burning stoves 2.0*
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
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Reply locked New topic
Author

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
Bartender

Joined: Oct 18, 2000
Posts: 4121

Duplicate of this thread.


-Nate
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
 
Similar Threads
What makes Stripes unique?
Stripes 1.5 with eclipse 3.5 +tomcat 6
Stripes URL binding
Few questions on Stripes
HTTP 404 error using JBoss