Hey all u jsp types..whats up?
If u were woundering how sites use jsp files as their index page like this:
www.urtheman.com (takes u to index.jsp)
listen up.
1. make sure u turn off tomcat and apache
1a. create index.jsp like so:
<html>
<body>
<%
out.println("Let me know");
%>
</body>
</html>
2. make sure u add contect like this:
<Context path=""
docBase="<location to ur jsp, html, css files on the same
network drive as Tomcat and Apache>"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
3. make sure u configure Apache to point to that location as well
4. config mod_jk.conf-auto so that Tomcat and Apache can communicate swiftly
5. Start Tomcat
6. Start Apache
7. U can know punch in www.whatever.com (and itll take u to a index.jsp
file)
Lemme know if u r stuck!
software used:
WinNT4, Apache1.3 + Tomcat3.2 (as services), mod_jk (using ajpv1.3)
happy programming