This week's book giveaways are in the Jython/Python and Object-Oriented programming forums. We're giving away four copies each of Machine Learning for Business: Using Amazon SageMaker and Jupyter and Object Design Style Guide and have the authors on-line! See this thread and this one for details.
Hi All, I am running win98 and jdk1.3. I have successfully installed Apache 1.3.19 and Tomcat 3.2.1 (I can use them independently). Now I need to configure Apache and Tomcat so that Apache will handle the static content and Tomcat will handle the jsps/servlets. From the Tomcat-Apache howto, it appears I need to modify (1)Apache's httpd.conf file, (2)Install a webserver adapter(I guess its talking about mod_jk) and (3)modify Tomcat's server.xml file. I must admit after reading the instructions, I'm not sure what to do (To me, the Howto Says a lot but then again doesn't say anything). I hate asking these types of questions. Can anyone help me or direct me to a more straight forward (easier to follow) howto? I really would like to get to some programming. Thanks In Advance, Clyde
Hi, I have successfully configured it. I just needed the apache-tomcat howto to do it. U just follow what is said in the how to. If foe instance the howto says to edit a file.Edit it as it says. Further if you are not able to loacte the file, simly use "find". It took me some time to do this but the how to was sufficient. If you need specific help, then come out with a specific question. I am afraid if someone can give a better help than the one howto gives. Pankaj
posted 18 years ago
Pankaj, Thanks for your reply. Yeah, I can be specific. Here goes: I will start with the server.xml file today. The "setting up the contexts" on page 4 (I printed the Howto). I guess the links under the Running Examples on page 3 are not suppose to show a page (unless you have a SlifkaWorld class in the appropriate directories). I've searched for SlifkaWorld starting at the Tomcat directory and could not find anything. I copied the context path tags pages 4-5 and pasted it at the bottom of the server.xml file before the </Server> tag. I wonder why aren't there ending context tags (</context> ). While in the server.xml file, I notice there were already two context tags: <Context path="/examples" docBase="webapps/examples" crossContext="false" debug="0" reloadable="true" > </Context> and <Context path="/admin" docBase="webapps/admin" crossContext="true" debug="0" reloadable="true" trusted="false" > </Context> Do I need another one? I'm a little confused. I know I can deliver servlets by placing the class in the path tomcat/root/web-inf/classes directory. I have not tested for html pages yet. I would appreciated if you would let me know if my server.xml is configured. Tomorrow the web server adapter. Forgive me for the long explanation. Thanks, Clyde