tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <m...@filip.net>
Subject RE: default page
Date Fri, 08 Jun 2001 00:15:35 GMT
RE: default pagethe <welcome-file-list> works perfectly when I put in a
static HTML file or when I put in the filip.jsp

your Login.jsp has to be in the root directory of the context of you webapp.
doesn't seem to be a problem at all with what you are trying to do

Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
filip@filip.net
www.filip.net

  -----Original Message-----
  From: Chris Huisman [mailto:chris.huisman@matrikon.com]
  Sent: Thursday, June 07, 2001 4:48 PM
  To: 'tomcat-user@jakarta.apache.org'
  Subject: RE: default page


  This brings me a step closer.  Now it brings up the directory listing for
the context, but not the login page (a .jsp file).  In web.xml I have set
the login page as a welcome file:

          welcome-file-list>
          <welcome-file>
              Login.jsp
          </welcome-file>
          . . .

  -----Original Message-----
  From: Filip Hanik [mailto:mail@filip.net]
  Sent: Thursday, June 07, 2001 5:42 PM
  To: tomcat-user@jakarta.apache.org
  Subject: RE: default page



  in server.xml (conf directory)
  add your context as the root context

            <Context path="/"
                   docBase="webapps/yourcontext"
                   crossContext="false"
                   debug="0"
                   reloadable="true" >
          </Context>

  Filip

  ~
  Namaste - I bow to the divine in you
  ~
  Filip Hanik
  Software Architect
  filip@filip.net
  www.filip.net
  -----Original Message-----
  From: Chris Huisman [mailto:chris.huisman@matrikon.com]
  Sent: Thursday, June 07, 2001 4:21 PM
  To: 'tomcat-user@jakarta.apache.org'
  Subject: default page



  I would like to have the login page of my webapp show up when the user
  enters the url http://localhost (or whatever the machine name is).  I
would
  also like the login page to appear when the user types in
  http://localhost/web-app-name .  I am able to do this using Tomcat 3.1,
but
  I need to do it in 3.2 as well.
  Any suggestions would be helpful.
  Thank you



  Chris Huisman   B.Sc. Specialization in Computing Science
  mailto:chris.huisman@matrikon.com
  Software Developer                          http://www.matrikon.com
  Matrikon                                            Phone: (780) 448-1010
  (ext. 4601)
  Suite 1800 10405 Jasper Avenue          Fax: (780) 448-9191
  Edmonton, Alberta, Canada, T5J 3N4


Mime
View raw message