This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi guys, I was wondering... In plain ol servlets, when you make changes to your servlet, you would usually have to restart tomcat. Since I haven't tested struts on a live running site(uploaded on the internet) with users accessing your files/classes most of the time. Would it be ok to just replace the old class files with a new one without restarting the server? I'm getting a little anxious about the impact it could cause to my app's performance. I have a feeling that there would be frequent changes, and that It would require me to update the classes on the server as soon as changes are made. Thanks!
When I'm testing, I frequently make changes to my Action and model classes without restarting the application. Most of the time, it works fine, but there are a few "gotchas". I find that if I try to change a Static field or method, it doesn't work. I have to restart. If you make changes to your struts-config.xml file, there's no getting around it.. you must restart the application.