----- Original Message -----
From: "Remy Maucherat" <rmaucher(a)redhat.com>
To: jboss-as7-dev(a)lists.jboss.org
Sent: Thursday, April 14, 2011 2:00:25 AM
Subject: Re: [jboss-as7-dev] Missing 404 for non-existent web app context?
On Thu, 2011-04-14 at 12:55 +0530, Jaikiran Pai wrote:
> I was testing the lastest AS7 upstream and am noticing an issue with
> web application context handling. Just start the server and access
> any
> non-existent URL like
http://localhost:8080/nonexistentapp. It just
> renders a blank page. Shouldn't it show up a 404 error page like it
> does in previous versions of JBoss AS?
If there's nothing to map, you get a 404. Your browser then does not
feel like it has to display the status code to you.
I saw the same thing, and I used Wireshark to see if a 404 was coming back from AS 7, and
it always does. So, the blank page is caused by the browser.
Andy
For whatever reason, just like it is a good idea to allow users to
package whatever JAR they think is useful in their war, it is
apparently
needed to have hardcoded HTML generation with embedded images to
present
some hello page.
--
Remy Maucherat <rmaucher(a)redhat.com>
Red Hat Inc
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev