In my JSP, there are 4 buttons add, delete, save, return which returns to
previous JSP.
I am trying to use Token, to handle double submit.
My post action is a LookupDispatchAction, and have implemented code for add,
delete, save, return.
I am trying to use isTokenValid(request,true)
in all these methods.
private void add(){
if( isTonkenValid(....) ) {
}
}
private void delete() {
if( isTonkenValid(....) ) {
}
}
................
...............
.............
When did this. Add is working as it supposed to, But delete is not.
delete is the hyperlink
<c:url value="/DispatchAction.do" var="deleteUrl">
<c:param name="method" value="Delete"/>
</c:url>
<a href="<c:out value="${deleteUrl}"/>" >
<fmt:message key="btn.delete"
bundle="${appbundle}"/>
</a>
Also, when Saved I am trying to show all validation erros textfields in red.
It works fine once. But refreshed using browser , the red color textfields
are again normal (no red).
What am i missing here?
Thanks.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]