learn java
The moose likes Servlets and the fly likes Servlet specification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet specification" Watch "Servlet specification" New topic

Servlet specification

Amit Mohan Tiwari

Joined: Aug 21, 2006
Posts: 10

I wrote that
the web applications are written in servlet specification, not in server

can anyone tell me what it means

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

It means that a web application must follow some rules defined (at least a part of it) in the Servlet Specification, which you can download at the SCWCD links page : http://faq.javaranch.com/view?ScwcdLinks (see Servlets 2.4)

Servlets compliant web containers and web applications are required to follow those rules.

[My Blog]
All roads lead to JavaRanch
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

Servlets are written according to the Servlet specification. This specification outlines what a Servlet can do, how a Servlet should behave, and how programmers can write code to develop servlets.

Programmers write Servlets according to the Servlet API, with an expectation of how a Servlet will behave at deployment time. When a Servlet is deployed to an applicaiton Server, like WebSphere or WebLogic, the vendor ensures that the deployed servlet behaves as a developer would expect it.

Here's a little link that describes Servlets and the J2EE server at runtime:



Have you tried LearnNowOnline? http://www.learnnowonline.com/
subject: Servlet specification