|
|
|
Servlets
Posted by regretfuldaydreamer [send private reply] at September 08, 2002, 01:26:25 PM
How do you compile Java Servlets?
When I try to compile it it can't import the javax.servlet etc. libarys. Where do you get them and how do you compile them(I can't find the specific place on the Sun website).
Posted by AnyoneEB [send private reply] at September 10, 2002, 05:35:50 AM
What are you using to compile them?
Posted by regretfuldaydreamer [send private reply] at September 10, 2002, 11:03:04 AM
OK I've JSDK 1.4.0
(C:\JSDK 1.4.0\) Then I've Apache Tomcat 4.1 (C:\Program Files\Apache Group\Tomcat 4.1\) The necessary libaries are located in: (C:\Program Files\Apache Group\Tomcat 4.1\common\lib\) This is the line that I've read should be added to my autoexec.bat file(In various tutorials it said this should be added). SET CLASSPATH =.;C:\Program Files\JavaSoft\JRE\1.4\QTJava.zip;C:\ServletDevelopment;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar;C:\Program Files\Apache Group\Tomcat 4.1\common\lib\jsp.jar I can't think whats wrong. Anyone any ideas?
Posted by buzgub [send private reply] at September 10, 2002, 11:57:49 PM
have you got a "C:\Program Files\JavaSoft\JRE\1.4\" folder?
Posted by regretfuldaydreamer [send private reply] at September 11, 2002, 12:14:19 PM
Nope, I just realised that.
Register as a new user | |||||||