Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with compiling sevlets!

 
Vamshi Krishna Kodthivada
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, download J2EE from Sun.
As long as j2ee.jar is on your classpath, you'll have everything you need to compile servlets.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic