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
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:
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
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 :
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.
*
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
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
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