This is the JSP code snippet: <html-el:form action="/personal/BeneficiarySubmit" method="post" focus= "${HTMLFocusElement.elementName}"> <html-el:hidden property="bid" value= "${beneficiaryForm.beneficiary.beneficiaryId}"/> <html-el:hidden property="beneficiaryAdd"/>
Here is the HTML source: <form name="beneficiaryForm" method="post" action="/hronline/secure/personal/BeneficiarySubmit.do"><div><input type="hidden" name="org.apache.struts.taglib.html.TOKEN" value="0e4c64c9eeefb8cf6be7f6f09cb183df"></div> <input type="hidden" name="bid" value="D00"> <input type="hidden" name="beneficiaryAdd" value="true"> Here is code in my Action class: // set the synchronization token String token = generateToken(request); httpSession.setAttribute(Globals.TRANSACTION_TOKEN_KEY, token); - Glenn Laurie Harper <[EMAIL PROTECTED]> Sent by: news <[EMAIL PROTECTED]> 14/07/2005 06:29 PM Please respond to "Struts Users Mailing List" <user@struts.apache.org> To user@struts.apache.org cc Subject Re: Token element wrapped with a div tag [EMAIL PROTECTED] wrote: > Just curious as to why in the JSP the token is wrapped in a div tag? > > <div><input type="hidden" name="org.apache.struts.taglib.html.TOKEN" > value="383952ea7a0093448e02f3f0d635865b"></div> > > I'm using v1.2.7. What does your JSP look like? L. -- Laurie, Open Source advocate, Java geek and novice blogger: http://www.holoweb.net/~laurie/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]