aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes which jar file for classpath ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "which jar file for classpath ?" Watch "which jar file for classpath ?" New topic
Author

which jar file for classpath ?

hasan khan
Ranch Hand

Joined: Aug 04, 2003
Posts: 222

At my office on my machine i have weblogic 8.1 and tomcat installed.

weblogic have 2.3 version of servlet and
tomcat have 2.4 version of servlet

weblogic is for production purpose (development of servlet, jsp and ejb)
and tomcat is for my own practice. (just for servlet and jsp)

i have weblogic.jar as well as servlet-api.jar in my class path.

now when i compile my servlet which jar file compiler will use to create the classes.

if the compiler chooses servlet-api.jar will my servlet run in weblogic
else
if the compiler chooses weblogic.jar will my servlet run in tomcat


SCJP, SCWCD
Nobuhiro Watsuki
Ranch Hand

Joined: May 07, 2004
Posts: 81
i'd use the classpath option in the javac command


SCJP, SCMAD, SCWCD, SCBCD, CCIE (written), IBM 287<a href="http://hollandiahaven.blogspot.com/" target="_blank" rel="nofollow">.</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: which jar file for classpath ?