tomcat/web.xml
<welcome-file-list>
       <welcome-file>index.html</welcome-file>
       <welcome-file>index.htm</welcome-file>
       <welcome-file>index.jsp</welcome-file>
</welcome-file-list>

application web.xml
<welcome-file-list>
       <welcome-file>index.jsp</welcome-file>
       <welcome-file>index.html</welcome-file>
</welcome-file-list>

From: Phillip Qin <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: 'Tomcat Users List' <[EMAIL PROTECTED]>
Subject: RE: problem in accessing / instead of /index.jsp
Date: Wed, 10 Nov 2004 14:47:03 -0500

Have you set your welcome file in web.xml?



-----Original Message-----
From: Didier McGillis [mailto:[EMAIL PROTECTED]
Sent: November 10, 2004 2:33 PM
To: [EMAIL PROTECTED]
Subject: problem in accessing / instead of /index.jsp


very odd. very. if I access the page with http://www.domain/dir/index.jsp it fine. if I access the page with http://www.domain/dir/ or http://www.domain/dir it give me the error. org.apache.jasper.JasperException: String index out of range: -1

I have index.jsp in the welcome file list, but I dont think its that.

anyone have any idea?

_________________________________________________________________
Powerful Parental Controls Let your child discover the best the Internet has


to offer.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=htt
p://hotmail.com/enca&HL=Market_MSNIS_Taglines
  Start enjoying all the benefits of MSN(r) Premium right now and get the
first two months FREE*.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:41926d8d308781137219969!

_________________________________________________________________
Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The new MSN Search! Check it out!



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to