File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Help with compiling sevlets! 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 "Help with compiling sevlets!" Watch "Help with compiling sevlets!" New topic

Help with compiling sevlets!

Vamshi Krishna Kodthivada

Joined: Jan 19, 2004
Posts: 6
Is there a way to compile servlet source file without resorting to
Resin or Apache-Tomcat servers.

I have latest version of JDK installed but compiler complains saying that
javax.servlet.* and other packages not found. I am just interested in compiling, not deploying my servlets.

Any help will be greatly appreciated.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Yes, download J2EE from Sun.
As long as j2ee.jar is on your classpath, you'll have everything you need to compile servlets.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Help with compiling sevlets!
It's not a secret anymore!