[Stripes-users] How to set default action (not a jsp) in web.xml?

2009-03-10 Thread Vadim
Hi!
I've set in web.xml the welcome file:
welcome-file-list
welcome-fileDefault.action/welcome-file
/welcome-file-list

So, i have a Default class in default package that has a @defaulthandler which
forwards to my .jsp, but something goes wrong an server gives me 404 error code.
How actually is correct to set the welcome action?


--
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] How to set default action (not a jsp) in web.xml?

2009-03-10 Thread Héctor López
If you are using Tomcat, you need to put a file named Default.action in
every folder that you want your default action to be served.

Hope it helps.


-Mensaje original-
De: Vadim [mailto:vadb...@gmail.com] 
Enviado el: martes, 10 de marzo de 2009 10:05
Para: stripes-users@lists.sourceforge.net
Asunto: [Stripes-users] How to set default action (not a jsp) in web.xml?

Hi!
I've set in web.xml the welcome file:
welcome-file-list
welcome-fileDefault.action/welcome-file
/welcome-file-list

So, i have a Default class in default package that has a @defaulthandler
which
forwards to my .jsp, but something goes wrong an server gives me 404 error
code.
How actually is correct to set the welcome action?



--
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


--
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users