Re: http 404 page

2005-06-16 Thread Lixin Chu
your message size has to be more than 512 bytes otherwise 
the default IE 404 page will be used - if I remember correctly.

On 6/16/05, McDonnell, Colm (MLIM) <[EMAIL PROTECTED]> wrote:
> Use the optional  element defined in web.xml, this allows
> you to map an error code _or_ exception type to the path of a resource
> in the Web application (e.g. a custom page).
> 
> error-code: The http error code e.g. 404
> exception-type: fqcn of a Java exception type
> location: the location of the resource to be displayed in response to
> the error e.g. /pages/404.html
> 
> The web.xml entry might look like this:
> 
> 
> 403
> /pages/403.jsp
> 
> 
> 
> -Original Message-
> From: Tony Smith [mailto:[EMAIL PROTECTED]
> Sent: 16 June 2005 06:08
> To: user@struts.apache.org
> Subject: http 404 page
> 
> 
> If there is a problem, e.g. an action/page can not be
> found, the ugly "Http 404 page not found" page will be
> display. Is there a way to handle such event as Struts
> Exception handling?
> 
> Thanks,
> 
> 
> 
> 
> 
> 
> __
> Discover Yahoo!
> Find restaurants, movies, travel and more fun for the weekend. Check it
> out!
> http://discover.yahoo.com/weekend.html
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> If you are not an intended recipient of this e-mail, please notify the 
> sender, delete it and do not read, act upon, print, disclose, copy, retain or 
> redistribute it. Click here for important additional terms relating to this 
> e-mail. http://www.ml.com/email_terms/
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: http 404 page

2005-06-16 Thread McDonnell, Colm (MLIM)
Use the optional  element defined in web.xml, this allows
you to map an error code _or_ exception type to the path of a resource
in the Web application (e.g. a custom page).

error-code: The http error code e.g. 404
exception-type: fqcn of a Java exception type
location: the location of the resource to be displayed in response to
the error e.g. /pages/404.html

The web.xml entry might look like this:


403
/pages/403.jsp



-Original Message-
From: Tony Smith [mailto:[EMAIL PROTECTED] 
Sent: 16 June 2005 06:08
To: user@struts.apache.org
Subject: http 404 page


If there is a problem, e.g. an action/page can not be
found, the ugly "Http 404 page not found" page will be
display. Is there a way to handle such event as Struts
Exception handling?

Thanks,

 




__ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it
out! 
http://discover.yahoo.com/weekend.html 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Click here for important additional terms relating to this 
e-mail. http://www.ml.com/email_terms/


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



http 404 page

2005-06-15 Thread Tony Smith
If there is a problem, e.g. an action/page can not be
found, the ugly "Http 404 page not found" page will be
display. Is there a way to handle such event as Struts
Exception handling?

Thanks,

 




__ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]