File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Just a Clarification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Just a Clarification" Watch "Just a Clarification" New topic

Just a Clarification

Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
If I have j2ee installed, but opt to use TomCat in order to develop servlets, I can use tje servlet package from j2ee right? I don't need to adjust things in order to use the servlet package that comes with Tomcat, right?
Vladan Radovanovic
Ranch Hand

Joined: Mar 20, 2000
Posts: 216
Well I think all you need to do is to set a classpath to point to j2ee.jar instead of servlet.jar
Please someone correct me if I am wrong.
Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
That's what I figured. I have j2ee already installed. Someone mentioned that if I was just developing servlets for practice and not to upload them onto the web, then it'd probably be easier on Tomcat than on the j2ee server.
It is sorta covered in the JavaRanch Style Guide.
subject: Just a Clarification