Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why filter is used in servlet?

1041


How native code can be used in a servlet?

4121


What is the difference between Servlets and Applets?

1097


What is the functionality of actionservlet and requestprocessor?

1144


Why do we have servlet filters?

1079


Difference between forward() method and sendredirect() method ?

1093


Why do we have servlet listeners?

1131


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!

2451


Tell us something about servletcontext interface.

1147


How to handle exceptions thrown by application with another servlet?

1143


Where do you define dispatcherservlet?

1108


What is the difference between the http servlet and generic servlet?

1210


Is dispatcher servlet a singleton?

1074


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

3451


Why is httpservlet declared abstract?

1179