Title: RE: IF UR ON APACHE + WINNT + TOMCAT...LISTEN UP!
I apologize for making the directions high-leve.
 
Good catch!
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 1:41 PM
To: [EMAIL PROTECTED]
Subject: RE: IF UR ON APACHE + WINNT + TOMCAT...LISTEN UP!

You missed a critical step.  You need to add "index.jsp" as an allowable default page to the DirectoryIndex entry in httpd.conf.

-----Original Message-----
From: Arif Tayebali [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 2:27 PM
To: '[EMAIL PROTECTED]'
Subject: IF UR ON APACHE + WINNT + TOMCAT...LISTEN UP!
Importance: High


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

Reply via email to