-
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
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|