RE: Why global error handling doesn't work with struts?

2006-03-03 Thread Partha Pratim Dutta
Thanks Lixin, it works !!! 

-Original Message-
From: Lixin Chu [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 03, 2006 10:51 AM
To: Struts Users Mailing List
Subject: Re: Why global error handling doesn't work with struts?

to show your own error page in IE, you need to have error page size more
than 512 bytes.

On 3/3/06, Partha Pratim Dutta <[EMAIL PROTECTED]> wrote:
>
> Thanks George. It really works fine in Firefox. Why Microsoft is bent
> upon changing everything their way ?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 02, 2006 8:33 PM
> To: user@struts.apache.org
> Subject: RE: Why global error handling doesn't work with struts?
>
> You'll have to ask Microsoft why it works that way.
>
> In the meantime, I would advise checking your site with Firefox so
that
> you can see your custom 404 page.
>
> - George
>
> > -Original Message-
> > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 02, 2006 3:41 AM
> > To: Struts Users Mailing List
> > Subject: RE: Why global error handling doesn't work with struts?
> >
> >
> > But then why is it behaving that way. It shouldn't. Isn't it?
> > I am using IE 6.0
> >
> > -Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 01, 2006 7:49 PM
> > To: user@struts.apache.org
> > Subject: RE: Why global error handling doesn't work with struts?
> >
> > What browser are you using?  Note that a custom 404 page is
> > still a 404 page, and Internet Explorer will insist on
> > showing you its own 404 page instead of the one sent by the server.
> >
> > > -Original Message-
> > > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, February 28, 2006 11:39 PM
> > > To: Struts Users Mailing List
> > > Subject: Why global error handling doesn't work with struts?
> > >
> > >
> > > Hi All
> > >
> > > I am running Tomcat 4.x and have tried to set global error
> > > handling using the following entry in the web.xml file. But
> > > there is no redirection and I always end up with 404 page not
> > > found error in the browser. I am using struts 1.2 as the MVC
> > > framework for the application.
> > >
> > > One more strange thing that I have noticed is that although
> > > the error page doesn't show up but it prints the SOP
> > > statements on the console. That means that it is getting
> > > redirected to the error page but why is it not showing up then?
> > >
> > > Does anyone have a solution to this problem?
> > >
> > > 
> > > 404 /weberror.jsp
> > > 
> > >
> > >
> > > Thanks & Regards
> > >
> > > Partha
> > >
> > >
> > >
> >
> >
-
> > 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]
> >
> >
>
> -
> 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]
>
>

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



Re: Why global error handling doesn't work with struts?

2006-03-02 Thread Lixin Chu
to show your own error page in IE, you need to have error page size more
than 512 bytes.

On 3/3/06, Partha Pratim Dutta <[EMAIL PROTECTED]> wrote:
>
> Thanks George. It really works fine in Firefox. Why Microsoft is bent
> upon changing everything their way ?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 02, 2006 8:33 PM
> To: user@struts.apache.org
> Subject: RE: Why global error handling doesn't work with struts?
>
> You'll have to ask Microsoft why it works that way.
>
> In the meantime, I would advise checking your site with Firefox so that
> you can see your custom 404 page.
>
> - George
>
> > -Original Message-
> > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 02, 2006 3:41 AM
> > To: Struts Users Mailing List
> > Subject: RE: Why global error handling doesn't work with struts?
> >
> >
> > But then why is it behaving that way. It shouldn't. Isn't it?
> > I am using IE 6.0
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 01, 2006 7:49 PM
> > To: user@struts.apache.org
> > Subject: RE: Why global error handling doesn't work with struts?
> >
> > What browser are you using?  Note that a custom 404 page is
> > still a 404 page, and Internet Explorer will insist on
> > showing you its own 404 page instead of the one sent by the server.
> >
> > > -----Original Message-
> > > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, February 28, 2006 11:39 PM
> > > To: Struts Users Mailing List
> > > Subject: Why global error handling doesn't work with struts?
> > >
> > >
> > > Hi All
> > >
> > > I am running Tomcat 4.x and have tried to set global error
> > > handling using the following entry in the web.xml file. But
> > > there is no redirection and I always end up with 404 page not
> > > found error in the browser. I am using struts 1.2 as the MVC
> > > framework for the application.
> > >
> > > One more strange thing that I have noticed is that although
> > > the error page doesn't show up but it prints the SOP
> > > statements on the console. That means that it is getting
> > > redirected to the error page but why is it not showing up then?
> > >
> > > Does anyone have a solution to this problem?
> > >
> > > 
> > > 404 /weberror.jsp
> > > 
> > >
> > >
> > > Thanks & Regards
> > >
> > > Partha
> > >
> > >
> > >
> >
> > -
> > 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]
> >
> >
>
> -
> 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: Why global error handling doesn't work with struts?

2006-03-02 Thread Partha Pratim Dutta
Thanks George. It really works fine in Firefox. Why Microsoft is bent
upon changing everything their way ?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 02, 2006 8:33 PM
To: user@struts.apache.org
Subject: RE: Why global error handling doesn't work with struts?

You'll have to ask Microsoft why it works that way.

In the meantime, I would advise checking your site with Firefox so that
you can see your custom 404 page.

 - George

> -Original Message-
> From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 02, 2006 3:41 AM
> To: Struts Users Mailing List
> Subject: RE: Why global error handling doesn't work with struts?
> 
> 
> But then why is it behaving that way. It shouldn't. Isn't it? 
> I am using IE 6.0 
> 
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 01, 2006 7:49 PM
> To: user@struts.apache.org
> Subject: RE: Why global error handling doesn't work with struts?
> 
> What browser are you using?  Note that a custom 404 page is 
> still a 404 page, and Internet Explorer will insist on 
> showing you its own 404 page instead of the one sent by the server.
> 
> > -Original Message-
> > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 28, 2006 11:39 PM
> > To: Struts Users Mailing List
> > Subject: Why global error handling doesn't work with struts?
> > 
> > 
> > Hi All
> > 
> > I am running Tomcat 4.x and have tried to set global error
> > handling using the following entry in the web.xml file. But 
> > there is no redirection and I always end up with 404 page not 
> > found error in the browser. I am using struts 1.2 as the MVC 
> > framework for the application.
> >  
> > One more strange thing that I have noticed is that although
> > the error page doesn't show up but it prints the SOP 
> > statements on the console. That means that it is getting 
> > redirected to the error page but why is it not showing up then?
> > 
> > Does anyone have a solution to this problem?
> > 
> > 
> > 404 /weberror.jsp
> > 
> > 
> > 
> > Thanks & Regards
> > 
> > Partha
> > 
> >  
> > 
> 
> -
> 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]
> 
> 

-
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: Why global error handling doesn't work with struts?

2006-03-02 Thread George.Dinwiddie
In Internet Explorer, under Advanced Internet Options, uncheck "Show
friendly HTTP error messages."  You may have to log out of your computer
and back in for this to take affect.

> -Original Message-
> From: Dinwiddie, George 
> Sent: Thursday, March 02, 2006 10:03 AM
> To: user@struts.apache.org
> Subject: RE: Why global error handling doesn't work with struts?
> 
> 
> You'll have to ask Microsoft why it works that way.
> 
> In the meantime, I would advise checking your site with 
> Firefox so that you can see your custom 404 page.
> 
>  - George
> 
> > -Original Message-
> > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 02, 2006 3:41 AM
> > To: Struts Users Mailing List
> > Subject: RE: Why global error handling doesn't work with struts?
> > 
> > 
> > But then why is it behaving that way. It shouldn't. Isn't it?
> > I am using IE 6.0 
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, March 01, 2006 7:49 PM
> > To: user@struts.apache.org
> > Subject: RE: Why global error handling doesn't work with struts?
> > 
> > What browser are you using?  Note that a custom 404 page is
> > still a 404 page, and Internet Explorer will insist on 
> > showing you its own 404 page instead of the one sent by the server.
> > 
> > > -Original Message-
> > > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, February 28, 2006 11:39 PM
> > > To: Struts Users Mailing List
> > > Subject: Why global error handling doesn't work with struts?
> > > 
> > > 
> > > Hi All
> > > 
> > > I am running Tomcat 4.x and have tried to set global 
> error handling 
> > > using the following entry in the web.xml file. But there is no 
> > > redirection and I always end up with 404 page not found 
> error in the 
> > > browser. I am using struts 1.2 as the MVC framework for the 
> > > application.
> > >  
> > > One more strange thing that I have noticed is that although the 
> > > error page doesn't show up but it prints the SOP 
> statements on the 
> > > console. That means that it is getting redirected to the 
> error page 
> > > but why is it not showing up then?
> > > 
> > > Does anyone have a solution to this problem?
> > > 
> > > 
> > > 404 /weberror.jsp
> > > 
> > > 
> > > 
> > > Thanks & Regards
> > > 
> > > Partha
> > > 
> > >  
> > > 
> > 
> > 
> -
> > 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]
> > 
> > 
> 
> -
> 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: Why global error handling doesn't work with struts?

2006-03-02 Thread George.Dinwiddie
You'll have to ask Microsoft why it works that way.

In the meantime, I would advise checking your site with Firefox so that
you can see your custom 404 page.

 - George

> -Original Message-
> From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 02, 2006 3:41 AM
> To: Struts Users Mailing List
> Subject: RE: Why global error handling doesn't work with struts?
> 
> 
> But then why is it behaving that way. It shouldn't. Isn't it? 
> I am using IE 6.0 
> 
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 01, 2006 7:49 PM
> To: user@struts.apache.org
> Subject: RE: Why global error handling doesn't work with struts?
> 
> What browser are you using?  Note that a custom 404 page is 
> still a 404 page, and Internet Explorer will insist on 
> showing you its own 404 page instead of the one sent by the server.
> 
> > -Original Message-
> > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 28, 2006 11:39 PM
> > To: Struts Users Mailing List
> > Subject: Why global error handling doesn't work with struts?
> > 
> > 
> > Hi All
> > 
> > I am running Tomcat 4.x and have tried to set global error
> > handling using the following entry in the web.xml file. But 
> > there is no redirection and I always end up with 404 page not 
> > found error in the browser. I am using struts 1.2 as the MVC 
> > framework for the application.
> >  
> > One more strange thing that I have noticed is that although
> > the error page doesn't show up but it prints the SOP 
> > statements on the console. That means that it is getting 
> > redirected to the error page but why is it not showing up then?
> > 
> > Does anyone have a solution to this problem?
> > 
> > 
> > 404 /weberror.jsp
> > 
> > 
> > 
> > Thanks & Regards
> > 
> > Partha
> > 
> >  
> > 
> 
> -
> 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]
> 
> 

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



RE: Why global error handling doesn't work with struts?

2006-03-02 Thread Partha Pratim Dutta
But then why is it behaving that way. It shouldn't. Isn't it? I am using
IE 6.0 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 01, 2006 7:49 PM
To: user@struts.apache.org
Subject: RE: Why global error handling doesn't work with struts?

What browser are you using?  Note that a custom 404 page is still a 404
page, and Internet Explorer will insist on showing you its own 404 page
instead of the one sent by the server.

> -Original Message-
> From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 28, 2006 11:39 PM
> To: Struts Users Mailing List
> Subject: Why global error handling doesn't work with struts?
> 
> 
> Hi All
> 
> I am running Tomcat 4.x and have tried to set global error 
> handling using the following entry in the web.xml file. But 
> there is no redirection and I always end up with 404 page not 
> found error in the browser. I am using struts 1.2 as the MVC 
> framework for the application.
>  
> One more strange thing that I have noticed is that although 
> the error page doesn't show up but it prints the SOP 
> statements on the console. That means that it is getting 
> redirected to the error page but why is it not showing up then?
> 
> Does anyone have a solution to this problem?
> 
> 
> 404
> /weberror.jsp
> 
> 
> 
> Thanks & Regards
> 
> Partha 
> 
>  
> 

-
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: Why global error handling doesn't work with struts?

2006-03-01 Thread George.Dinwiddie
What browser are you using?  Note that a custom 404 page is still a 404
page, and Internet Explorer will insist on showing you its own 404 page
instead of the one sent by the server.

> -Original Message-
> From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 28, 2006 11:39 PM
> To: Struts Users Mailing List
> Subject: Why global error handling doesn't work with struts?
> 
> 
> Hi All
> 
> I am running Tomcat 4.x and have tried to set global error 
> handling using the following entry in the web.xml file. But 
> there is no redirection and I always end up with 404 page not 
> found error in the browser. I am using struts 1.2 as the MVC 
> framework for the application.
>  
> One more strange thing that I have noticed is that although 
> the error page doesn't show up but it prints the SOP 
> statements on the console. That means that it is getting 
> redirected to the error page but why is it not showing up then?
> 
> Does anyone have a solution to this problem?
> 
> 
> 404
> /weberror.jsp
> 
> 
> 
> Thanks & Regards
> 
> Partha 
> 
>  
> 

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



RE: Why global error handling doesn't work with struts?

2006-03-01 Thread Partha Pratim Dutta
Thanks for your reply Niall. But I have a very simple error page and
here it is :

<%@ page isErrorPage="true" %>

 
Error

 

The page you requested was not found. Kindly try
again and submit feedback on the homepage if the problem persists.


 

This works if I don't use struts as a framework. But the moment I
integrate it with struts, it stops working. :(

I even tried with simple html page but too failed.

-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 01, 2006 3:58 PM
To: Struts Users Mailing List
Subject: Re: Why global error handling doesn't work with struts?

Maybe theres an error in your error page? Try replacing it with a simple
html page and see if that works. Also test your error page outside of
the
error mechanism.

Niall

- Original Message - 
From: "Partha Pratim Dutta" <[EMAIL PROTECTED]>
Sent: Wednesday, March 01, 2006 4:39 AM


Hi All

I am running Tomcat 4.x and have tried to set global error handling
using the following entry in the web.xml file. But there is no
redirection and I always end up with 404 page not found error in the
browser. I am using struts 1.2 as the MVC framework for the application.

One more strange thing that I have noticed is that although the error
page doesn't show up but it prints the SOP statements on the console.
That means that it is getting redirected to the error page but why is it
not showing up then?

Does anyone have a solution to this problem?


404
/weberror.jsp



Thanks & Regards

Partha





-
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: Why global error handling doesn't work with struts?

2006-03-01 Thread Partha Pratim Dutta
Thanks for your reply Niall. But I have a very simple error page and
here it is :

<%@ page isErrorPage="true" %>

 
Error

 

The page you requested was not found. Kindly try
again and submit feedback on the homepage if the problem persists.


 

This works if I don't use struts as a framework. But the moment I
integrate it with struts, it stops working. :(

I even tried with simple html page but too failed.

-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 01, 2006 3:58 PM
To: Struts Users Mailing List
Subject: Re: Why global error handling doesn't work with struts?

Maybe theres an error in your error page? Try replacing it with a simple
html page and see if that works. Also test your error page outside of
the
error mechanism.

Niall

- Original Message - 
From: "Partha Pratim Dutta" <[EMAIL PROTECTED]>
Sent: Wednesday, March 01, 2006 4:39 AM


Hi All

I am running Tomcat 4.x and have tried to set global error handling
using the following entry in the web.xml file. But there is no
redirection and I always end up with 404 page not found error in the
browser. I am using struts 1.2 as the MVC framework for the application.

One more strange thing that I have noticed is that although the error
page doesn't show up but it prints the SOP statements on the console.
That means that it is getting redirected to the error page but why is it
not showing up then?

Does anyone have a solution to this problem?


404
/weberror.jsp



Thanks & Regards

Partha





-
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: Why global error handling doesn't work with struts?

2006-03-01 Thread Niall Pemberton
Maybe theres an error in your error page? Try replacing it with a simple
html page and see if that works. Also test your error page outside of the
error mechanism.

Niall

- Original Message - 
From: "Partha Pratim Dutta" <[EMAIL PROTECTED]>
Sent: Wednesday, March 01, 2006 4:39 AM


Hi All

I am running Tomcat 4.x and have tried to set global error handling
using the following entry in the web.xml file. But there is no
redirection and I always end up with 404 page not found error in the
browser. I am using struts 1.2 as the MVC framework for the application.

One more strange thing that I have noticed is that although the error
page doesn't show up but it prints the SOP statements on the console.
That means that it is getting redirected to the error page but why is it
not showing up then?

Does anyone have a solution to this problem?


404
/weberror.jsp



Thanks & Regards

Partha





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



Why global error handling doesn't work with struts?

2006-02-28 Thread Partha Pratim Dutta
Hi All

I am running Tomcat 4.x and have tried to set global error handling
using the following entry in the web.xml file. But there is no
redirection and I always end up with 404 page not found error in the
browser. I am using struts 1.2 as the MVC framework for the application.
 
One more strange thing that I have noticed is that although the error
page doesn't show up but it prints the SOP statements on the console.
That means that it is getting redirected to the error page but why is it
not showing up then?

Does anyone have a solution to this problem?


404
/weberror.jsp



Thanks & Regards

Partha