A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Question about saveTokens
Joined: Sep 09, 2012
Feb 20, 2013 15:07:51
This page is submitted using button that calls a function that submits the page using the dom.
After it sets a function/parameter
document.forms['I'].elements['function'].value = 'addOffice';
This sends it to the action addOffice.
My question is about the saveToken.
I understand that saveToken() - generate the token key and save to request/session attribute.
My problem is that I am debugging this and I see that it does not get pass the SaveToken(request) statement and then
my page refreshes. Is there something that I am missing here?
I appreciate any help
setRequestAttributes (request, frm, null, true);
//return mapping.getInputForward ();
ActionForward testActionForward = mapping.getInputForward();
path = new
ActionForward myNewActionForward = new ActionForward(path.toString());
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Question about saveTokens
ActionForward and token Help please....
saveToken in a PRG pattern? will it work with Meta refresh for a long action?
saveToken & isTokenValid don't work
Struts Validator Plug-In
Handling double click on submit
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015