GeeCON Prague 2014*
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


JavaRanch » Java Forums » Java » Servlets
Bookmark "Help with compiling sevlets!" Watch "Help with compiling sevlets!" New topic
Author

Help with compiling sevlets!

Vamshi Krishna Kodthivada
Greenhorn

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
Sheriff

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
 
GeeCON Prague 2014
 
subject: Help with compiling sevlets!