-
basic servlet setup question
Hi,
I'm beginning to study servlets and all those stuff... I have my jdk131 installed,
and my tomcat up and running...
However, when I try to compile my first servlets using javac, it does not
see where the servlet libraries are. After some searching and head-scratching,
I found a servlet.jar in one of Tomcat's subdirectory. I know this is related,
but I couldn't figure out what to do... I have been changing a lot like changing
the CLASSPATH, PATH, etc.; but nothing seems to do the trick.
How do I make this work?
Thanks a lot in advance!!!
-
Re: basic servlet setup question
> the CLASSPATH, PATH, etc.; but nothing seems to do the trick.
Try: javac -classpath servlet.jar;something.jar etc.
Unix/Linux replece ';' with ':'
For more details:
http://java.sun.com/j2se/1.3/docs/to...n32/javac.html
http://java.sun.com/j2se/1.3/docs/to...ris/javac.html
Ben
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks