This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes creating servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "creating servlet" Watch "creating servlet" New topic

creating servlet

Thomas Whalen
Ranch Hand

Joined: Aug 26, 2001
Posts: 123
how do i create a servlet? do i compile it or just put in a directory from which servlets are served?

if you don't know, then ask. if you do know, then share. love is knowledge.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Compile and put the class file in the directory from which servlets are served. It also depends on the container you are using. You can check out the quick servlet tutorial at Sun's site.

SCJP for the Java� 2 Platform

So much trouble in the world -- Bob Marley
I agree. Here's the link:
subject: creating servlet
It's not a secret anymore!