Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 12th, 2006, 05:30 AM
Registered User
Join Date: Apr 2006
Location: Delhi, Delhi, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default error while compiling servlet in Weblogic8.1


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
and finally
C:\Project>javac -d sample.java
which does not give me an error and shows
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.


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling error sarah lee ASP.NET 1.0 and 1.1 Basics 7 May 31st, 2007 07:24 AM
servlet compiling anilcharpe Servlets 1 October 27th, 2006 09:52 PM
error while compiling sarah lee ASP.NET 1.0 and 1.1 Basics 5 October 4th, 2006 09:22 AM
Error in source code compiling angelika J2EE 2 December 29th, 2003 11:45 AM
Char Error In Code - Compiling but strange results aolden C++ Programming 1 July 17th, 2003 11:38 AM

All times are GMT -4. The time now is 03:07 AM.

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