Asked 12 years, 7 months ago. Active 7 years, 9 months ago. Viewed 16k times. Improve this question. Woo Woo. Add a comment. Active Oldest Votes. Improve this answer. Matt Solnit Matt Solnit Indeed it does help! Thank you! Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta.
But it's safe to say that if you only use the Servlet API, all Servlet containers that implement that version of the Servlet API will be able to run your web application. The configuration files of the different web applications might differ though which is outside of the Servlet API scope , so you should always check the documentation of the target web application.
Does each web-container provide this jar e. And does each vendor provide the "same name" to the jar that is needed to build this simple Servlet.
Yes for the servlet api because it is a set of interfaces, which enables programming to interfaces rather than class implementations so we avoid programming to a specific application server. The name of the jar containing the implementation must not have part of this name in common.
When we download Java EE , is this jar part of download? OR do we get this file as part of web container? Can we then deploy the war in some other vendor container?
As long as you don't use a Tomcat specific class, library or feature, then yes, there would be no problem. Otherwise, no. Python Javascript Linux Cheat sheet Contact. Understanding who provides servlet-api. Where can you get it?
0コメント