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
What is Client-Server Computing?
What are the functions of the servlet container?
What is servlet mapping?
What is difference between server and servlet?
What mechanisms are used by a Servlet Container to maintain session information?
Explain is servlet mapping?
What exactly are the functions of servlet?
What are session variable in servlets?
What do you mean by request dispatcher in servlet?
How do servlets work?
Why doesn’t a servlet include main()? How does it work?
Write a simple servlet program to print the contents of html.
How do we go with database connection and log4j integration in servlet?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
Tell us something about servletconfig interface.