|
Thanks Phil :)
I'll have to look up the syntax for caching headers. Owe you
one.
[Phil wrote]
You can set for HTTP 1.0 protocol a header which tells proxy servers
and
browsers to not cache your server respones. > Are you asking me, or suggesting that i do?
> Asking if you set the caching headers in your servlet response. > Um, here's some sample code.(part of my doGet method) >
> > .... > String param1 = request.getParameter("param").toUpperCase(); > ..... > > I'm executing everything in doGet, without using doPost(). Would that be > part of the problem? > > Regards, > > Robert > > RE: Cached Parameter?? > > > > > > Sounds like you have a proxy or over zealous browser. Have played with > > cache headers or expires or making sure your URI has "cgi-bin" in it. > > -phil > > -phil ([EMAIL PROTECTED]) > > Phillip A. Lindsay > > eBuilt, Inc. > > > Hi :) > > > > > > I have a servlet that accepts a single paramter. It works fine. > > > Problem is, > > > when I attempt to change the parameter to something that is > invalid, the > > > servlet seems to use the original value instead. > > > > > > i.e. > > > > > > ..../name_of_servlet?param1=value1 > > > > > > then > > > > > > ..../name_of_servlet?param1=value2 > > > > > > Each produce the same result. I guess the servlet is using a > > > cached version > > > of the parameter? Is there a way i might force fresh reload of sorts? > > > > > > Much obliged, > > > > > > Robert > > > > > > Sounds like you have a proxy or over zealous browser. Have played with > cache headers or expires or making sure your URI has "cgi-bin" in it. > -phil > -phil ([EMAIL PROTECTED]) > Phillip A. Lindsay > eBuilt, Inc. > > > > > > > Hi :) > > > > I have a servlet that accepts a single paramter. It works fine. > > Problem is, > > when I attempt to change the parameter to something that is invalid, the > > servlet seems to use the original value instead. > > > > i.e. > > > > ..../name_of_servlet?param1=value1 > > > > then > > > > ..../name_of_servlet?param1=value2 > > > > Each produce the same result. I guess the servlet is using a > > cached version > > of the parameter? Is there a way i might force fresh reload of sorts? > > > > Much obliged, > > > > Robert > > > > __________________________________________________________________ |
