struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chenlin (JIRA)" <>
Subject [jira] [Created] (WW-4251) S:token does not generate any hidden value
Date Wed, 04 Dec 2013 03:55:35 GMT
chenlin created WW-4251:

             Summary: S:token does not generate any hidden value
                 Key: WW-4251
             Project: Struts 2
          Issue Type: Bug
          Components: Core Interceptors, Plugin - Tags
    Affects Versions:
         Environment: IBM AIX
Websphere Application server
Websphere Portal server
            Reporter: chenlin

Sometimes the "S:token" tag cannot generate hidden value on JSP which cause all form failed
which have add token interceptor validation. Please advice if there is any particular scenario
which will cause this issue

<FORM id=submitPrefernceId name=submitPrefernceId action=/wps/myportal/XXXXX method=post
<INPUT type=hidden name=""> 
<INPUT type=hidden name="">
Correct : 
<FORM id=submitPrefernceId name=submitPrefernceId action=/wps/myportal/XXXX method=post
<INPUT type=hidden value=token> 
<INPUT type=hidden value=2OMLV0WXN1QGPN9BVBYEB8Z9NHLF3RDI name=token>

This message was sent by Atlassian JIRA

View raw message