Hi Arpan, Setting autocomplete to off in the text field might help you.
e.g. <html:text property="username" size="20" maxlength="11" autocomplete="off"/> Regards, Sampath Ekanayake On Mon, Jun 13, 2011 at 9:10 PM, Arpan <arpan.deb...@gmail.com> wrote: > Hi All, > > Do any one know how to solve caching problem in jsp. > My requirement is that, it should not display previously submitted credit > card number and passwords. > Whenever I put the first number, my page shows all other numbers previously > entered as a suggession. > > I have used the bellow code to solve caching and autocmplete problem. > > <%response.setHeader("Cache-Control", "no-cache");%> > <%response.setHeader("Pragma", "no-cache");%> > <%response.setHeader("Expires", "0");%> > > <head> > > <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> > > </head> > > But till now no success. > > Thanks > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org