Are you using a <html:form ... Tag for submitting the user request ? and
are you sure that you are mapping the action to the correct action in
the <html:form action="?????">
Did you implement the token check and forgot about it, so that you
actually are getting double form submit exceptions ?

I have once had the problem that we implement a token test on form
submits to catch client double submits, well that's great when you
update data but when you just view data it's not needed!
Cheers
Tommy

-----Oprindelig meddelelse-----
Fra: Vinicius Carvalho [mailto:[EMAIL PROTECTED] 
Sendt: 26. januar 2004 17:07
Til: [EMAIL PROTECTED]
Emne: Struts Actions Forms Actions - ?????????


        Well, sometimes I wonder if struts is really the best framework
to use in 
our application scope, it brought so many problems then solutions...
        But now I think its too late.
        Here's my problem (another one in the huge, never-ending list)

I need to call the same Action from a link and a Form, this is simple
cuz 
the page rendered is the same, the diff. is that the first time it's
called 
from a link it renders the form, and a list of default attributes, when
the 
user submits the form (actually just change a select object) the list is

changed (the select acts like a filter). Well, problem is its not
working.

when the user clicks on the link, it fowards to the default error page, 
trying to debug, I've noticed that the controller never gets to the
desired 
action (probably cuz the form class, can not get the getter and setter
for 
its properties, cuz in the first call, the form does not exists yet). So

what can I do to solve this? If at least the controller where getting to

the desired action, but it redirects the user before that.

Thanks

Vinicius


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to