embedded@glassfish.java.net

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

From: Joey Jarosz <joey_at_cadence.com>
Date: Thu, 12 Mar 2009 16:07:24 -0700

My bad. Someone over here accidently filled in the "server-name" of an
http-listener with "server"

 

        <http-listener

address="0.0.0.0"

default-virtual-server="server"

id="http-listener-1"

port="8888"

server-name="server" />

 

I will have to track them down and force them to buy me large quantities
of adult beverage for wasting my time and the time of those on this
mailinglist.

 

Thanx,

joey

________________________________

From: Rajiv Mordani [mailto:rajiv.mordani_at_sun.com]
Sent: Thursday, March 12, 2009 3:42 PM
To: embedded_at_glassfish.dev.java.net; Jan Luehe
Subject: Re: [embedded] Required trailed slash at end of web-app context

 

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
<http://www.chipestimate.com>

 

--------------------------------------------------------------------- To
unsubscribe, e-mail: embedded-unsubscribe_at_glassfish.dev.java.net For
additional commands, e-mail: embedded-help_at_glassfish.dev.java.net