shan
Jun 2nd, 2006, 01:33 PM
I apologize if this is too easy a question, but I can't figure it out
currently I'm using a SimpleUrlHandlerMapping to map URLs to controllers
if no match is found, a 404 is sent to the browser
I want to switch the behaviour around, so that if no match is found for the URL, the system actually tries to load the htm file from where it would actually reside if there was no servlet mapping in place
is there a direct way to do this? or do I need to create a secondary HandlerMapping that maps to a ParameterizableViewController that somehow loads views differently?
currently I'm using a SimpleUrlHandlerMapping to map URLs to controllers
if no match is found, a 404 is sent to the browser
I want to switch the behaviour around, so that if no match is found for the URL, the system actually tries to load the htm file from where it would actually reside if there was no servlet mapping in place
is there a direct way to do this? or do I need to create a secondary HandlerMapping that maps to a ParameterizableViewController that somehow loads views differently?