Examining the javadocs for ServletContext.getRequestDispatcher(), it looks like it is a spec requirement that all paths passed to that methods must begin with '/'. Maverick should probably take care of this ensuring this all the time.
Mea culpa - I'll fix it tonight. Thanks for bringing it up :-) Jeff Schnitzer [EMAIL PROTECTED] > -----Original Message----- > From: Shackelford, John-Mason [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 21, 2003 6:46 AM > To: '[EMAIL PROTECTED]' > Subject: RE: [Mav-user] stuck w/ iPlanet > > Jeff, > > Thanks for the tip. iPlanet does appear to have a problem with relative > paths. > > Would you be willing to consider applying a patch to Maverick that would > allow the user to set a flag in maverick.xml that would force the > dispatcher > to absolutize paths? This would be make Maverick iPlanet compatible > without > requiring the user to comb through their maverick.xml file and code > looking > for relative paths. > > If you wouldn't be opposed to the idea, I'll get a patch to you. > > Thanks, > > John-Mason Shackelford > > Software Developer > NCS Pearson - Measurement Services > 2510 North Dodge St. > Iowa City, IA 52245 > 319-354-9200x6214 > [EMAIL PROTECTED] > > > > -----Original Message----- > From: Schnitzer, Jeff [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 14, 2003 5:40 PM > To: [EMAIL PROTECTED] > Cc: Lane, Brad > Subject: RE: [Mav-user] stuck w/ iPlanet > > > Just a thought, but have you tried path="/mav/helloWorld.html" (with the > leading '/')? Maybe iPlanet has strange ideas about mapping the paths of > relative urls. > > Another bit of information that would help in debugging is to create a > controller (or a servlet or whatever) that displays the results of > ServletRequest.getRealPath("mav/helloWorld.jsp"). It would be nice to > know > where iPlanet is looking. > > Actually, probably better than getRealPath() would be to call > getResource() and print the URL. > > Jeff > > ************************************************************************ ** > ** > This email may contain confidential material. > If you were not an intended recipient, > Please notify the sender and delete all copies. > We may monitor email to and from our network. > ************************************************************************ ** > ** > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > [INVALID FOOTER] ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp [INVALID FOOTER]
