when you comppile the servlet is it neccesary to restaet the
tomcat server?
Answer Posted / prapanch
if you are deploying the application with a war file then
no need to restart the tomcat server, but you need to
redeploy it to create a new war file as one of your servlet
had changed.but if you are doing in another way like
creating a folder in web-apps copying all the classes to
classes folder like then you need to stop and again start
the tomcat.clear.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Why filter is used in servlet?
How native code can be used in a servlet?
What is the difference between Servlets and Applets?
What is the functionality of actionservlet and requestprocessor?
Why do we have servlet filters?
Difference between forward() method and sendredirect() method ?
Why do we have servlet listeners?
Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!
Tell us something about servletcontext interface.
How to handle exceptions thrown by application with another servlet?
Where do you define dispatcherservlet?
What is the difference between the http servlet and generic servlet?
Is dispatcher servlet a singleton?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
Why is httpservlet declared abstract?