tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vernon Wu" <vwu98...@lycos.com>
Subject RE: Weird Problems
Date Tue, 10 Feb 2004 18:27:41 GMT
Hi, Yoav:

>
>>127.0.0.1 - - [10/Feb/2004:09:19:13 -0800] "GET
>>/jsp/templates/stylesheet.css HTTP/1.1" 200 1558
>>127.0.0.1 - - [10/Feb/2004:09:19:13 -0800] "GET /favicon.ico HTTP/1.1"
>404
>>3362
>>127.0.0.1 - - [10/Feb/2004:09:19:13 -0800] "GET / HTTP/1.1" 200 3738
>>
>>I don't know what the "favicon.ico" is. It is not a part of the
>>application. After I click the reload button, the log message is the
>>following:
>
>The favicon request is from Internet Explorer, looking for a little icon
>to show by the address bar (and in bookmarks if users bookmark your
>page).  You can ignore it.  The 200 responses are fine, no errors.
>

I got the error handling page at the time. In other words, a user see the error page and can't
use the application any further when it happens. So, I need do something about it. The 404
error handling page is invoked through the configuration in the web.xml:

  <error-page>
  	<error-code>404</error-code>
  	<location>/jsp/notfound.jsp</location>
  </error-page>
 
How can I change the way the notfound.jsp is invoked so that the type of 404 error is ignored?

>>127.0.0.1 - - [10/Feb/2004:09:30:15 -0800] "GET
>>/jsp/templates/stylesheet.css HTTP/1.1" 304 -
>>
>>So, the cause of the error is still a mystery to me.
>
>304 is fine (and typical for a stylesheet): not modified, telling the
>browser to use the copy it has cached.  So all of this looks fine in
>your access log.  Repeat the test after clearing your browser's cache.
>

I can clear my browser's cache, but I can't ask all users to do the same. The too sensitive
error report drives people away as far as I can tell.

I also enable the access log at the production box and I will observe the log file for any
other causes.



Thank very much for your helps.

Vernon 



____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10

---------------------------------------------------------------------
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