I get the following log in my console:
2008-Mar-18 16:21:17,671 - DEBUG freemarker.cache - Could not find template in cache, creating new one; id=[template/xhtml/fielderror.ftl[en_US,UTF-8,parsed] ] 2008-Mar-18 16:21:17,671 - DEBUG freemarker.cache - template/simple/fielderror.ftl[en_US,UTF-8,parsed] cached copy not yet stale; using cached. Does it have anything to do with caching of the page? Thanks, Tauri. Tauri Valor wrote: > > Hi Lukasz, > > Thanks for responding.. > > Snippet of Jsp: > > > <form name="myForm" method="post" action="MyAction.do" validate="true"/> > > > <tr> > <td > width="115">First Name</td> > <td > width="142"><input type="text" name="firstName" > id="firstName" class="form_field"></td> > > <td> > > > <s:fielderror> > > <s:param>firstName</s:param> > > </s:fielderror> > </td> > > > > My Struts-config: > > <action name="MyAction" class="activationPendingAction"> > <result name="input" type="tiles">MyForm</result> > <result name="failure" type="tiles">MyForm</result> > <result name="success" type="tiles">SuccessPage</result> > </action> > > > > > > Thats the snippet of my code. > > > Thanks, > Tauri. > > > Lukasz Lenart wrote: >> >>> But when I enter the value in the textbox and click submit again, the >>> validation error for next is displayed correctly but entered value >>> disappears in the textbox which is abnormal . >> >> Maybe you are redirecting to the next page? Could you paste snippet >> for your struts.xml and jsp? >> >> >> Regards >> -- >> Lukasz >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/Struts2-Annotation-based-Validation-tp16089678p16116284.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]