Search the web
Sign In
New User? Sign Up
croftsoft-ajgp · Advanced Java Game Programming discuss
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Unable to find javax.servlet   Message List  
Reply | Forward Message #188 of 198 |


I'm trying to compile the code that I downloaded and I get these
errors:

E:\croftsoft\src\com\croftsoft\ajgp\http\ScoreServlet.java:5: package
javax.servlet does not exist
import javax.servlet.*;
E:\croftsoft\src\com\croftsoft\ajgp\http\ScoreServlet.java:6: package
javax.servlet.http does not exist
import javax.servlet.http.*;

Below is my path statement:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sys
tem32\Wbem;d:\Sun\AppServer\bi
n

This is where the javax directory is located on my system:

D:\Sun\AppServer\docs\api\javax\servlet

I have installed "J2EE 1.4 SDK and Sun Java System Application Server
Platform Edition 8.1 2005Q1 February 4, 2005" in D:\Sun\AppServer.

Can you tell me where the problem is?

Thanks,
amdarden









Wed Feb 23, 2005 2:54 am

amdarden
Offline Offline
Send Email Send Email

Forward
Message #188 of 198 |
Expand Messages Author Sort by Date

I'm trying to compile the code that I downloaded and I get these errors: E:\croftsoft\src\com\croftsoft\ajgp\http\ScoreServlet.java:5: package javax.servlet...
amdarden
Offline Send Email
Feb 23, 2005
2:52 pm

... Search in an appserver subdirectory for a JAR file called j2ee.jar and add it to your classpath. ===== David Wallace Croft / (214) 636-3790 mobile / (214)...
David Wallace Croft
david_wallac...
Offline Send Email
Feb 23, 2005
7:34 pm

That fixed that problem and I was hoping it would fix the following, but it didn't: E:\croftsoft\src\com\croftsoft\apps\compiler\Calc.java:5: package ...
amdarden
Offline Send Email
Feb 25, 2005
5:38 am

Amarden, ... You don't need to compile that stuff. I recommend that you use the Ant build. It will compile just what you need. ===== David Wallace Croft /...
David Wallace Croft
david_wallac...
Offline Send Email
Feb 25, 2005
2:29 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help