Hi guys, new to tomcat and I'm trying to find the appropriate web.xml tweek to avoid trailing '/*' mapping to take place.
For example lets say abc.com/current/ is a valid request.
however abc.com/current/xyz should not be.
my Tomcat server is always returning the abc.com/current/<anything trailing> just as though it was abc.com/current.
How can I return a 404 page not found or similar error instead of the real xml.
thanks alot!
For example lets say abc.com/current/ is a valid request.
however abc.com/current/xyz should not be.
my Tomcat server is always returning the abc.com/current/<anything trailing> just as though it was abc.com/current.
How can I return a 404 page not found or similar error instead of the real xml.
thanks alot!