hai buddies, is there any solution for loading the servlet automaticaly when it is changed rather than restarting the server for every change done to the file.(this is very problematic when developing servlet, restarting server everytime). thanks regards, Mahesh
Compile your servlet files to put the classes with the correct package structure in the path where the server has the class files. javac -d <directory where the server stores its servlet classes> <source files> just refresh the servlet... I hope this is what you have asked for...
SCJP 1.4<br />SCJA BETA
Joined: Jul 02, 2004
dear pratibha, hope u have not got me. if we use servlets , we have to make entries in web.xml (i use tomcat webserver) file.when we start server the servlet is loaded by taking the info from web.xml file. when i change the same servlet and need to reflect the changes, we need to restart the server and access the servlet.(becoz like JSP pages tomcat server will not check automatically for latest versions of servlets.we can request the changed JSP page without restarting the server as the server automatically checks for new versions in case of JSP). hope u got me now. whatz the solution for this. regards, mahesh