tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From François Richard <frich...@sofice.fr>
Subject Re: error-page exception-type
Date Tue, 12 Oct 2004 15:12:15 GMT
YEEEEESSSSSS !!!!!!!
This is the answer of my problem ;-))

THX  A LOT !!!

Steve Kirk wrote:

>That reminds me.
>
>I remember reading a few days ago on this list that IE ignores pages that
>are shorter than 512 bytes in length.
>
>  
>
>>-----Original Message-----
>>From: Markus Schönhaber [mailto:mailing-tomcat-user@schoenhaber.de] 
>>Sent: Tuesday 12 October 2004 15:47
>>To: Tomcat Users List
>>Subject: Re: error-page exception-type
>>
>>
>>François Richard wrote:
>>    
>>
>>>I have a beginning of answer,        
>>>      
>>>
>>theguiltycouldbeInternetExplorer6.0...
>>    
>>
>>>The redirection works fine with Firefox and mozilla.
>>>
>>>Anyone no why ? Anyone have this working on IE6 ?
>>>
>>>      
>>>
>>Does redirection really not happen or is the error page 
>>simply not shown
>>by IE? IE ignores the page content sent by the server and display it's
>>own error page, if the HTTP status-code isn't 2xx and 
>>"Internet Settings
>>/ Advanced / Show short HTTP error messages" is selected (I'm not sure
>>whether the name of the option is exactly right, since I don't use an
>>English windows - but you'll get the point, I hope).
>>
>>    
>>
>>>Streve >
>>>1) In my case the problem is the same with the redirection 
>>>      
>>>
>>error-code, 
>>    
>>
>>>like :
>>>   <error-page>
>>>       <error-code>404</error-code>
>>>       <location>/pagesErreur/404.jsp</location>
>>>   </error-page>
>>>2) yes, same problem ...
>>>
>>>Steve Kirk wrote:
>>>
>>>      
>>>
>>>>I've had similar problems myself (not fully answered yet). 
>>>>        
>>>>
>> Here's a 
>>    
>>
>>>>couple
>>>>of issues that I found:
>>>>
>>>>1. Check the exception messages / stack traces in your browser and 
>>>>logfiles
>>>>carefully to make sure that droit.jsp is not itself 
>>>>        
>>>>
>>throwing a second
>>    
>>
>>>>exception when trying to display the DroitsException that 
>>>>        
>>>>
>>"called" it.
>>    
>>
>>>>2. does droits.jsp contain this line?
>>>>   <%@page isErrorPage="true"%>
>>>>
>>>>
>>>> 
>>>>
>>>>        
>>>>
>>>>>-----Original Message-----
>>>>>From: François Richard [mailto:frichard@sofice.fr] Sent: 
>>>>>          
>>>>>
>>Monday 04 
>>    
>>
>>>>>October 2004 13:53
>>>>>To: tomcat-user@jakarta.apache.org
>>>>>Subject: error-page exception-type
>>>>>
>>>>>
>>>>>Hi,
>>>>>I'm blocked since this morning with an annoying problem on Tomcat 
>>>>>(5.27 and 5.28). Impossible to redirect users with the 
>>>>>          
>>>>>
>>error-page tag 
>>    
>>
>>>>>on jsp and html files. I'm using that on the web.xml :
>>>>>   <error-page>
>>>>>       
>>>>>
>>>>>          
>>>>>
>><exception-type>com.sofice.commun.securite.DroitsException</ex
>>    
>>
>ception-type>        
>  
>
>>>>><location>/pagesError/droits.jsp</location>
>>>>>   </error-page>
>>>>>
>>>>>The jsp are well-compiled but the broswer display an 
>>>>>          
>>>>>
>>error message 
>>    
>>
>>>>>(HTTP 500). The start of the DroitsException (jsp, 
>>>>>          
>>>>>
>>servlet ...) is 
>>    
>>
>>>>>unimportant the problem is the same.
>>>>>Notice that the redirection works fine with servlet and 
>>>>>          
>>>>>
>>'directory 
>>    
>>
>>>>>listing' :
>>>>>   <error-page>
>>>>>       
>>>>>
>>>>>          
>>>>>
>><exception-type>com.sofice.commun.securite.DroitsException</ex
>>    
>>
>ception-type>        
>  
>
>>>>><location>/servlet/test</location>
>>>>>   </error-page>
>>>>>   <error-page>        
>>>>>
>>>>>          
>>>>>
>><exception-type>com.sofice.commun.securite.DroitsException</ex
>>    
>>
>ception-type>        
>  
>
>>>>><location>/pagesError/</location>
>>>>>   </error-page>
>>>>>
>>>>>Many thanks for your answer.
>>>>>  
>>>>>          
>>>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>    
>>
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>      
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message