Hi,
Does the Struts 1.0 (synchronizer token)supports
the following mechanism ?
saveToken(request) ..?
isTokenValid(request) ..?
setting the hidden field in the form(Token value
from session) automatically...?
Thanks
Uma Kagitha.
--- Craig McClanahan <[EMAIL PROTECTED]> wrote:
> Once you've called saveToken(), the <html:form> tag
> will automatically
> create a hidden field with a name that is known to
> the isTokenValid()
> and resetToken() methods -- you do not have to do
> anything at all in
> the JSP page for this to work.
>
> Craig
>
>
> On Thu, 14 Oct 2004 11:30:28 -0700 (PDT),
> umamaheswara rao
> <[EMAIL PROTECTED]> wrote:
> > Hi ,
> >
> > Your help is apprciated.....
> >
> > How do I set a token it to JSP ? do I need to
> have
> > to set
> > the token to the form bean(form.setToken("value
> from
> > session with saveToken method")) in the action
> class
> > which calls saveToken(request) method ?
> >
> > I understand the following process...but I got
> stuck
> > here with isTokenValid(request) method ...if at
> all I
> > need to set the token in hidden field what name
> should
> > I use...
> >
> > saveToken(request)
> > on the return trip,
> > isTokenValid(request)
> > resetToken(request)
> >
> > Thanks
> > Uma
> >
> > _______________________________
> > Do you Yahoo!?
> > Declare Yourself - Register online to vote today!
> > http://vote.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > 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]
>
>
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]