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...

how can we execute servelt?

what the use ".war" or ".jar" file creation

Answer Posted / ramesh

Whenever client send the request for the first time server will create servlet object and after that it was using that object until we undeploy or shutdown the server
Generally we deliver the project to the client in the form of jar files . Suppose the project is a webbased project we deliver that project in the form of war files . Suppose that project is a normal core java project we deliver that project in the form of jar files. But to create jar or war files we use 'jar' command only , but the extension will be changed

ex:jar -cvf myproject.jar
jar -cvf myproject.war

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Client-Server Computing?

2350


What are the functions of the servlet container?

1553


What is servlet mapping?

971


What is difference between server and servlet?

1034


What mechanisms are used by a Servlet Container to maintain session information?

1109


Explain is servlet mapping?

959


What exactly are the functions of servlet?

1034


What are session variable in servlets?

979


What do you mean by request dispatcher in servlet?

1072


How do servlets work?

975


Why doesn’t a servlet include main()? How does it work?

1099


Write a simple servlet program to print the contents of html.

981


How do we go with database connection and log4j integration in servlet?

1120


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

965


Tell us something about servletconfig interface.

947