[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

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] welcome page

2009-03-10 Thread Vadim Vararu
Hi everybody! How could i set the welcome page to be not a .jsp, but an action, dispatched by the stripes dispatcher. I tried to do this: welcome-file-list welcome-file/Default.action/welcome-file /welcome-file-list so, i have in default package a Default class that implements ActionBean

Re: [Stripes-users] welcome page

2009-03-10 Thread VANKEISBELCK Remi
Hi Vadim, I don't really understand why thous should not work, apart froom : 1/ your action isn't resolved from the classpath (default package might not be a good idea : you have to declare your action packages in the stripes filter config...) 2/ the request doesn't reach your action bean :

[Stripes-users] Stripes Book Example Issue

2009-03-10 Thread Seth Duda
On page 317 there is an example of adding role checkboxes to a list of users. Next to each user, the JSP adds a User and Administrator checkbox where you can select roles for the user. Then, at the bottom of the screen, there's a submit button to update all of the user roles in the list. *

Re: [Stripes-users] Stripes Book Example Issue

2009-03-10 Thread Oscar Westra van Holthe - Kind
On 10-03-2009 at 11:02, Seth Duda wrote: Now, the issue I have with this is what happens if the user list changes before the user presses submit? The indexes assigined in users[${index}].roles might no longer refer to the correct user. How would you go about actually building something like

Re: [Stripes-users] Stripes Book Example Issue

2009-03-10 Thread Ben Gunter
When I have a form to edit multiple entities at once, I use indexed properties in a similar manner to this example. What I do not do is allow the list that I'm indexing into to be initialized before binding takes place, for exactly the reason you have pointed out. Instead, I always have a

Re: [Stripes-users] welcome page

2009-03-10 Thread azizi yazit
I agree with Remi. On Tue, Mar 10, 2009 at 6:50 PM, VANKEISBELCK Remi r...@rvkb.com wrote: Hi Vadim, I don't really understand why thous should not work, apart froom : 1/ your action isn't resolved from the classpath (default package might not be a good idea : you have to declare your