embedded@glassfish.java.net

Re: [embedded] Required trailed slash at end of web-app context

From: Rajiv Mordani <rajiv.mordani_at_sun.com>
Date: Thu, 12 Mar 2009 15:42:16 -0700
Joey,
    Both should work. If the path without the / at the end does not work then it is a bug. Please file an issue if you are seeing this problem.

- Rajiv

Joey Jarosz wrote:
  • I have a web application with a web.xml that contains a welcome-file-list that points to myfile.jsp

  • Using Glassfish V3 Prelude the user could enter http://hostname:port/myapp or http://hostname:port/myapp/ (with or without the trailing slash)

  • With embedded glassfish they must include the trailing slash, otherwise the app does not work.

 

Any clues as to why the difference in behavior?

 

Thanks,

joey

 

 

 

--------------------------------------------
Joey Jarosz

Senior Architect

Chip Planning Solutions

Cadence Design Systems, Inc.
(408) 914-6269


Need some IP? Check out www.chipestimate.com