• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help needed. Apache Tomcat / Java Servlets.

gittyup

Diamond Member
I installed JDK 1.3.0 and Apache Tomcat 3.2.1 on my box. I have installed both and set the path and classpath correctly. I can start Tomcat and run the Servlet examples that came with Tomcat. So, I create a simple servlet and place it in the same directory as the examples and compile it. Everything is fine. Now, I load the servlet via the browser (http://localhost:8080/examples/servlet/MyServlet) and it comes up just fine. Now, when I go and modify MyServlet src file and then re-compile. When I refresh the url above, I am not seeing the changes I made to my servlet. It still shows thre servlet the way it was prior to my change. So, what am I missing here? Any help would be great.
 
For the sake of anyone having the same problem, I will answer my own question. When developing Java Servlets using Apache's Tomcat, you need to stop and restart the server after each code re-compile.
 
Back
Top