Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: why i can't show my index.jsp

FRANCOIS Dufour

2004-01-05


try this
     <welcome-file-list>
              <welcome file>/folder/your index</welcome file>
     </welcome-file-list>


francoisdufour@(protected)
crazy-wilys webmaster





>From: Edson Alves Pereira <eapereira@(protected)>
>Reply-To: "Tomcat Users List" <tomcat-user@(protected)>
>To: 'Tomcat Users List' <tomcat-user@(protected)>
>Subject: RE: why i can't show my index.jsp
>Date: Mon, 5 Jan 2004 14:06:54 -0300
>
>  Maybe you need to define <welcome-file-list/> in your
>WEB-INF/web.xml and try to create a new webapp, instead of edit default
>index.jsp from tomcat. I�m think tomcat�s default root application ( webapp
>) is configured to not reload JSP pages.
>
> > ----------
> > De:  aaaaa aaaaa[SMTP:absword@(protected)]
> > Responder:  Tomcat Users List
> > Enviada:  segunda-feira, 5 de janeiro de 2004 6:09
> > Para:  tomcat-user@(protected)
> > Assunto:  why i can't show my index.jsp
> >
> > after installed apache and tomcat5 on windows xp.
> >
> > 1. run ie type http://127.0.0.1   apache index.html is ok
> > 2. run ie type http://127.0.0.1:8080 tomcat's page also ok
> > 3. config httpd.conf add dso suppert and jsp servelet
> > 4. config servers.xml add tomcat path infomation
> > 5. restart service
> >
> > edit test.jsp saved at tomcat/**/ROOT
> > 6. now, run ie type http://127.0.0.1/test.jsp, ok
> > 7. now rename test.jsp to index.jsp, but the page is not the content of
> > test.jsp
> > but the content of tomcat.
> >  e.g:( Administration Status Tomcat Administration
> >       Tomcat Manager Documentation Release Notes Tomcat
> > Documentation
> >     If you're seeing this page via a web browser, it means you've
>setup
> >
> > Tomcat
> >     successfully. Congratulations!
> >     )
> > Now, the question is :
> >   1. why it can't show my test.jsp?
> >   2. i have already removed tomcat's index.jsp, and i searched all the
> > programs director and i can't found and index.jsp file 's content is
> > matched the index.jsp i have see when
> > type http://127.0.0.1/index.jsp, i wonder to know where is it located of
> > the index.jsp
> > i have see at http://127.0.0.1/index.jsp
> >
> > _________________________________________________________________
> > ??????????,??? MSN Messenger: http://messenger.msn.com/cn
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> > For additional commands, e-mail: tomcat-user-help@(protected)
> >

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis !
http://messenger.fr.msn.ca/


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.