Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Servlets & <strong>Server</strong>s<br />
Receive our newsletter with new tips! Almost 6,000 subscribers (by June 2001) can not be wrong!<br />
They read our tips every week! To subscribe to The <strong>Java</strong> FAQ Daily send empty e-mail to:<br />
javafaq-tips-subscribe@topica.com or visit at:<br />
http://www.topica.com/lists/javafaq-tips/<br />
Servlets & <strong>Server</strong>s<br />
Q: The first thing is that i don't know how to do to create Servlets ... no more<br />
precisely, I don't know how to compile it !!<br />
It says that it doesn't find the packages (javax I think) ...<br />
Plz, could someone tell me exactly what I should put on my environment variables<br />
(Class_path, path, java_home etc...)<br />
Answer: Well, I also started to learn about servlets. I recently downloaded JDK1.3.0<br />
and Apache Tomcat 3.1.0 .<br />
I set the following paths.<br />
CLASSPATH = %TOMCAT_HOME%\webapps\examples\WEB-INF\classes\work;<br />
(my working directory)<br />
TOMCAT_HOME = C:\JDK\tomcat;<br />
(or wherever you installed tomcat)<br />
PATH=%TOMCAT_HOME%\bin ;<br />
appended tomcat bin path to the path statement)<br />
I also copied the servlet.jar found in the tomcat bin directory to both:<br />
C:\jdk\jre\lib\ext\<br />
C:\Program Files\<strong>Java</strong>Soft\JRE\1.3\lib\ext\<br />
I hope this helps....<br />
Gregory Pedder<br />
Q: Any simple server I can download to run my java servlets...<br />
file:///F|/350_t/350_tips/servlets_servers.htm (1 of 8) [2002-02-27 21:19:05]<br />
Visit us here and you will find<br />
much more tips!