• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with error-code tag

 
anil kumar
Ranch Hand
Posts: 447
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I wrote these tags in web.xml file.

<error-page>
<error-code>404</error-code>
<location>/NotFound.jsp</location>
</error-page>


And i type this URL in Mozilla Firefox

http://localhost:8084/WebApplication1/display.jsp

The result is :The data present in that page.

OK

And then i type this URL

http://localhost:8084/WebApplication1/display.js

Now i am getting the content in the NotFound.jsp

UPTO now it is ok



But the same URL [http://localhost:8084/WebApplication1/display.js]i typed in Internet Explorer.

This type i am getting pagenot found.Generally we get this every time.

Does any one face this problem?

What is really happening here ?


Thanks

Anil Kumar
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In IE's options, make sure that the "Show Friendly HTTP Error Messages" is off :
http://support.microsoft.com/kb/294807/en-us
 
anil kumar
Ranch Hand
Posts: 447
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ya

Now it is working.

Thanks


Thanks

Anil Kumar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic