This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 17038
    
  26

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


An IDE is no substitute for an Intelligent Developer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Custom error page setup for specific URL pattern
 
jQuery in Action, 3rd edition