Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet specification" Watch "Servlet specification" New topic
Author

Servlet specification

Amit Mohan Tiwari
Greenhorn

Joined: Aug 21, 2006
Posts: 10
Hi

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

can anyone tell me what it means

Thanks
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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
    
    1

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:

http://www.technicalfacilitation.com/get.php?link=runtime

Cheers,

-Cameron
 
Consider Paul's rocket mass heater.
 
subject: Servlet specification
 
Similar Threads
sinificance of value of tag <load-on-startup> in web.xml
HttpSession and servlets
EE application architecture
How does j_security_check works
JEE 1.5