Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 35959 invoked from network); 4 Feb 2003 15:40:34 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 4 Feb 2003 15:40:34 -0000 Received: (qmail 1997 invoked by uid 97); 4 Feb 2003 15:42:02 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 1990 invoked from network); 4 Feb 2003 15:42:02 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 4 Feb 2003 15:42:02 -0000 Received: (qmail 34433 invoked by uid 500); 4 Feb 2003 15:40:09 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 34421 invoked from network); 4 Feb 2003 15:40:08 -0000 Received: from unknown (HELO wilson.dc.Blackboard.com) (64.124.103.135) by daedalus.apache.org with SMTP; 4 Feb 2003 15:40:08 -0000 Received: from madison.dc.Blackboard.com ([10.8.0.112]) by wilson.dc.Blackboard.com with Microsoft SMTPSVC(5.0.2195.3779); Tue, 4 Feb 2003 10:40:09 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Path index.jsp does not start with a "/" Date: Tue, 4 Feb 2003 10:40:09 -0500 Message-ID: <66337F04F2A1E440BF87F2080B5F537001481E48@madison.dc.Blackboard.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Path index.jsp does not start with a "/" Thread-Index: AcLMWxbng3iSRntRQXaRpb3e5uX7HwACFegQ From: "Tim Moore" To: "Tomcat Users List" X-OriginalArrivalTime: 04 Feb 2003 15:40:09.0367 (UTC) FILETIME=[B2D11270:01C2CC63] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N What does your login page do when it's submitted? It sounds like it's calling ServletContext.getRequestDispatcher("index.jsp") which isn't quite legal. >From the Javadocs for getRequestDispatcher: "The pathname must begin with a "/" and is interpreted as relative to the current context root." I guess WebSphere may not be strictly conformant. --=20 Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 > -----Original Message----- > From: Inocencio Richiez [mailto:irichiez@yahoo.com]=20 > Sent: Tuesday, February 04, 2003 9:36 AM > To: tomcat-user@jakarta.apache.org > Subject: Path index.jsp does not start with a "/" >=20 >=20 > Hi can someone here please help??? > =20 > I have a WAR file that was succesfully deployed in > WebSphere Application Server. The file now needs to > be deployed in Tomcat apache 4.0. I copied the WAR=20 > file into the webapps folder. When I run the=20 > application, my first page (login page) comes up > great. But once I try to login, I get the following > exception: > =20 > java.lang.IllegalArgumentException: Path index.jsp > does not start with a "/" character at >=20 > org.apache.catalina.core.ApplicationContext.getRequestDispatch > er(ApplicationContext.java:572) >=20 > =20 > Here is what I've included in the server.xml file: > ..... > > > debug=3D"0"=20 > reloadable=3D"true" crossContext=3D"true"> >=20 > > privileged=3D"true"/> >=20 > > =20 > ..... >=20 > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.=20 http://mailplus.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org