Hi Kenneth,
try:
1) res.setHeader("Pragma", "no-cache");
for HTTP/1.0 headers
2) res.setHeader("Cache-Control", "no-cache");
for HTTP/1.1 headers
3) res.setHeader("Expires",0);
thats's only necessary if the browsers still cache your response header.
in your doGet(HttpServletRequest req, HttpServletResponse res) or
do Post(HttpServletRequest req, HttpServletResponse res) methods.
I guess if you code the three lines in your code it will work.
Hope that helps you,
Michel
Kenneth McCord schrieb:
> I am trying to disable servlet caching in iPlanet Web Server 4.0 SP2 or
> force the server to reload the servlet every time the page is loaded. Can
> anyone help?
>
> Thanks,
>
> Kenneth A. McCord
>
> Email: [EMAIL PROTECTED]
> Work: (703) 288-8232 X4641
> Cell: (703) 338-9619
> MSN IM: [EMAIL PROTECTED]
> AOL: joeymccord
> Yahoo: dj_chicken_butt
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets