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:36:58 GMT
oops, I thought you still talked about the web.xml welcome file :)

my mistake
Filip

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

>-----Original Message-----
>From: Filip Hanik [mailto:mail@filip.net]
>Sent: Thursday, June 07, 2001 5:35 PM
>To: tomcat-user@jakarta.apache.org
>Cc: rdyson@reef.com
>Subject: RE: default page
>
>
>not true, look at this web.xml entry. will list the file /test/filip.jsp as
>welcome file
>
>    <welcome-file-list>
>      <welcome-file>
>	  test/filip.jsp
>      </welcome-file>
>
>Filip
>
>~
>Namaste - I bow to the divine in you
>~
>Filip Hanik
>Software Architect
>filip@filip.net
>www.filip.net
>
>>-----Original Message-----
>>From: Ross Dyson [mailto:rdyson@reef.com]
>>Sent: Thursday, June 07, 2001 5:25 PM
>>To: tomcat-user@jakarta.apache.org
>>Subject: RE: default page
>>
>>
>>And if they type the URL for a page that is down one level, what
>>will you do
>>then?
>>
>>You need to look at putting data in the session to check if they
>>have logged
>>in, if they haven't you need to send them to your login page.
>>
>>You gotta write the code, its not something that can be done just through
>>configuration.  Well, you can do some things through configuration.
>>
>>Ross.
>>
>>
>>-----Original Message-----
>>From: Chris Huisman [mailto:chris.huisman@matrikon.com]
>>Sent: Friday, 8 June 2001 10:08 AM
>>To: 'tomcat-user@jakarta.apache.org'
>>Subject: RE: default page
>>
>>
>>I'm going to try and clarify what I would like to do.
>>When I type in http://localhost, I do not want to see the Tomcat
>index.html
>>page.  I also do not want to see the directory listing.  I NEED to see my
>>applications login screen.  It is imperative that the user never sees the
>>directory listing, but they MUST see the login screen wherever a directory
>>listing would show up.
>>My webapp is in the webapps directory. The login page is in:
>>        webapps/myApplication/login.jsp
>>One directory deeper:
>>        webapps/myApplication/userPages
>>contains all of the pages that the user will go to.
>>So I do not want the user to see the myApplication directory, or the
>>userPages directory. I now setting the StaticInterceptor suppress value to
>>true, makes the directories unavailable, but I need to see a user page
>>(specifically the login screen).
>>Sorry to be so verbose.
>>Again Any help is appreciated.
>>Chris.
>>-----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