Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Lambodar Eng.   on Mar 05 In Java Category.

  
Question Answered By: Sherrie Thomas   on Mar 05

There is no limitation for the location of error  pages.You can put them where ever in the packages of your web application  .

As I know , you can customize error pages  in your project , not in the application or web servers.[at least in Tomcat]

There is 2 possibilities :
1- There is a prob in the XML file that prevents it from correct behavior.[take a look]
2- The path or name of the error page is not correct.
[/pages/error/fileNotFound.html
for
-------web-inf
|
--------pages
|
----------error
|
fileNotFound.html

** Don't forget : "case sensitivity" of Tomcat
]



I can also send you a sample project,if you want.

Share: 

 
 
Didn't find what you were looking for? Find more on Displaying customised error pages in tomcat Or get search suggestion and latest updates.


Tagged: