p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Servlets (http://p2p.wrox.com/forumdisplay.php?f=111)
-   -   error while compiling servlet in Weblogic8.1 (http://p2p.wrox.com/showthread.php?t=41169)

adityasharma003 April 12th, 2006 05:30 AM

error while compiling servlet in Weblogic8.1
 

hi,

i am facing problem while compiling a servlet.
i have a folder of "bea" in C drive and i created a new folder called "Project" in the same drive .in bea there is also a folder jdk142_08.
under project i created a servlet called "sample" and parallel to that a folder "WEB-INF" .under "WEB-INF" a folder called "classes" and parallel to that web.xml.

now to compile this servlet in cmd prompt i ws at this location
C:\> cd Project
after which i gave the classpath as
C:\Project>set classpath = c:\bea\weblogic81\server\lib\weblogic.jar;.;c:\bea \weblogic81\workshop\lib\tools.jar;

and also one more classpath as
C:\bea\jdk142_08\lib\tools.jar
and finally
C:\Project>javac -d sample.java
which does not give me an error and shows
C:\Project>
which means the sample is compiled , but when i check the Project folder there is no class file for sample. there is only the source file.

pls help i cant figure it out whats happening.

regards,
Aditya






All times are GMT -4. The time now is 04:14 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.