Sometimes I'm stuck with the same problem. I know this is not the best solution and I'm also still looking for the correct one...
After editing myFile.jsp I save it to another format (i.e myFile.jspi) I then re-save the myFile.jspi to myFile.jsp, overwriting the old myFile.jsp, when I load it into the browser it gets compiled. ----- Original Message ----- From: "Daniel Tom�" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 21, 2002 9:54 PM Subject: Re: JSP Tomcat for developers > I've already tried these. > The problem is that Tomcat isn't compiling the Jsp again. > > In ASP I edit the .asp file and when I reload my webbrowser I see the > changes inmediatly. With JSPs running on tomcat I can't do this. I have to > delete the contents of the work folder every time and it's very anoying. > > There has to be a better way... > > I tried searching google, and there's are a lot of people in the same > situation and no one has a solution. > > It says that when you invoke a JSP in your browser and it wasn't modified it > loads quickly because it's compiled in /work. And if you modify the file it > will compile. (this is no working for me) > > Any ideas? > > > > -----Mensaje original----- > De: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]En nombre de Hiren Dossani > Enviado el: Viernes, 21 de Junio de 2002 16:03 > Para: [EMAIL PROTECTED] > Asunto: Re: JSP Tomcat for developers > > > try these commands in a jsp page > > <% response.setHeader("Pragma", "no-cache"); > response.setHeader("Expires", "0"); > response.setHeader("Cache-control", "no-cache, must-revalidate"); > %> > > -----Original Message----- > From: Sajag Patel [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 21, 2002 2:35 PM > To: [EMAIL PROTECTED] > Subject: Re: JSP Tomcat for developers > > > You need to deleted the cache from Tomcat/Work/. Everytime restart the > server. > > > sajag > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
