JSP re-compile performance under heavy load

2001-05-02 Thread Jason_Henriksen
I am considering a design where a thread calls a long running query, uses the results to generate a JSP and then write the new JSP over the old JSP. Tomcat would then notice the update, recompile the JSP and display the new query results. The query/rewrite would happen once every 10 minutes.

RE: Detect Browser Disconnect

2001-04-30 Thread Jason_Henriksen
This is by far a better way to do things than putting an applet on the page. Tomcat does in fact throw an IOException if the other end of the socket has closed. If you need to detect the user backing out of something, just send a byte down ever now and then to see if the connection is still

Re: Servlet reloading problems

2001-04-17 Thread Jason_Henriksen
Servlet reloading works fine under Tomcat, however I've been bitten where the servlet re-loaded OK, but a class my servlet depends on changed but was not reloaded. For example, if ServletA uses StaticServiceB. I can reload ServletA all day long, but changes to StaticServiceB wont be picked up

RE: Where does System.out.println go under Tomcat

2001-04-17 Thread Jason_Henriksen
I used to have trouble with this, but now I just use System.err.println(); System.err behaves as you would expect by default. (Assuming you're not already using err for something else.) Jason -- Warning : The