File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat Custom error page setup for specific URL pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Custom error page setup for specific URL pattern" Watch "Tomcat Custom error page setup for specific URL pattern" New topic
Author

Tomcat Custom error page setup for specific URL pattern

Mihir K Parekh
Greenhorn

Joined: Jul 20, 2012
Posts: 11




I want to configure my tomcat server 6.x in such a way,

user request like following

htttp://xxx.com/product/product.jsp

and the response would be 404 - page not found ,

it means like any jsp page request to server result in page not found error though the page exist on the server at mentioned location.

or in other way

i want that all the request must processed by Action class which extends DispatchAction class not by container itself.

Thank You Mihir Parekh
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16054
    
  21

Sorry, I don't understand what you are asking for.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Custom error page setup for specific URL pattern