I am developing an Java Web Application. We all know we have to do several changes in the class/servlet at times.
Everytime i make any change to my Class/Servlet, i have to restart my Tomcat server.
So, is there any way i can reload the class automatically on every SAVED change?
PS:In Netbeans IDE, i would never face such problem, but I don't use that anymore.
Everything's tough until you try your best
check that this code is in your tomcat-useer.xml file
- <!-- NOTE: By default, no user is included in the "manager-gui" role required
to operate the "/manager/html" web application. If you wish to use this app,
you must define such a user - the username and password are arbitrary.
- <!-- NOTE: The sample user and role entries below are wrapped in a comment
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
I have always wondered how to enter the administration section, but hadn't time to check further. Who will expect that everything is explained in great details in the right place next to the role definitions in a comment
I added the admin user with manager-gui role and now I can access the manager section. Thanks again!