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

Answers were Sorted based on User's Feedback



how can we execute servelt? what the use ".war" or ".jar" file creation..

Answer / rajendra kumar

war is a web archive which is used for web app and their
directory structure we can execute servlet by mapping in xml
file and called servlet by do get or do post metod.
jar file is java archive for simple a java program class
file and source code archive

Is This Answer Correct ?    11 Yes 1 No

how can we execute servelt? what the use ".war" or ".jar" file creation..

Answer / 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

how can we execute servelt? what the use ".war" or ".jar" file creation..

Answer / noorbasha

I hope servlets are executed by adding the jar file to the
folder .war files r used for extacting the sfwares

Is This Answer Correct ?    8 Yes 12 No

Post New Answer

More Servlets Interview Questions

What are the advantages of cookies?

0 Answers  


Is servlet a server side scripting language?

0 Answers  


What is the difference between servlet and filter?

0 Answers  


Can a servlet be called by passing its name as a parameter in the URL?

1 Answers   iFlex,


What is the use of servletconfig interface?

0 Answers  


How can I share objects across different sessions?

2 Answers   Accenture,


What is the difference between forward () and sendredirect () functions in servlet? Explain

0 Answers  


What are the steps that are involved in using the httpservlet class?

0 Answers  


Difference between httpservlet and generic servlets?

0 Answers  


What do you mean by servlet context?

0 Answers  


In jsp custom tags from child tags to how many levels of parent tags you can acess

1 Answers   Bosch,


What's the architecture of a servlet package?

0 Answers  


Categories