I did not see the other posts, but anytime I have a problem with issues like this I use a meta tag to make the page expire some time ago. I usually put stuff like this: <META HTTP-EQUIV="expires" CONTENT="Tue, 2 OCT 1996 17:45:00 GMT">
in my head. There is also a header which you can set in your jsp/servlet code of the same name (Expires)..that is what the HTTP-EQUIV does. Says in this html take this to be the same as an http header and use it as such. Hope that helps, Wade -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 1:14 PM To: Tomcat Users List Subject: RE: Help root context problem!!! Well, I got it to work, but I don't care for it. I'd like to know what's wrong if someone knows. Here's the jsp below: <% java.net.URL url = new java.net.URL(request.getRequestURL().append("/PageWorks/servlet/PageMill ").toString()); java.net.URLConnection connect = url.openConnection(); connect.connect(); java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(connect.getInputStream())); String html; while((html = in.readLine()) != null){ out.write(html); } %> This works, but it's not very pretty of a method. Why doesn't the <jsp:forward/> work? This way it doesn't cache the page forever on the server. If I just us jsp:forward it caches the page and never update it's information from the servlet. Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center Vincennes University (812)888-5813 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
