I have a
servlet ServletTest that generates an HTML page using class HTMLTest. It does a fine job of displaying the page in my browser, but when I change the code of HTMLTest, my browser still shows the old version. I've tried refreshing my browser (also using option and command keys) and I still see the old version of the page. HTMLTest outputs its page to a text file which gets updated fine, and I recompiled ServletTest (although it doesn't seem like I'd need to--it just calls the "create" method of HTMLTest) but I still see the outdated page.
I have a feeling it's a browser problem.... don't know how else to
test the contents of the servlet.... Tried emptying my cache, didn't help. I imagine it's something simple, but I'm stumped for now. Here's my doGet servlet code, in case that's the problem somehow:
public void doGet (HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println(HTMLTest.createDogPage());
out.close();
}
Thanks in advance for any help!
e