As far as I can recall it should cause a page not found exception. You can set up a page to refer to when these happen via the turbine resources file.
<code> # This is the template that is used by the respective Template based # ErrorScreen for displaying the error. If you are not using a Template based # ErrorScreen, then this is ignored. # # Default: Error.vm template.error=Error.vm # This is the default error screen. # # Default: VelocityErrorScreen screen.error=VelocityErrorScreen # This is the screen that is displayed when the user's web page is in # an invalid state. # # Default: error.InvalidState screen.invalidstate=error.InvalidState # Tells the user to quit hitting reload when submitting forms. template.invalidstate=InvalidState.vm </code> > Date: Mon, 21 Sep 2009 10:21:31 +0200 > Subject: Show "unknown page" error > From: [email protected] > To: [email protected] > > Hello, > > I'm trying to achieve that when an unknown page is called, an appropiate > error message is shown. The specific case I'm looking at is when a template > is called that has no known extention (f.e. mistyping); in that case I lose > all markup (menus, headers) and get the message "*Turbine - A Servlet > Framework for building Secure Dynamic Websites." *in the header and > footer.How can I set Turbine up to keep my layout, and show some more > ellegant > message? I'm using 2.3.3 > > -- > > Regards, Bo _________________________________________________________________ Ready for Fall shows? Use Bing to find helpful ratings and reviews on digital tv's. http://www.bing.com/shopping/search?q=digital+tv's&form=MSHNCB&publ=WLHMTAG&crea=TEXT_MSHNCB_Vertical_Shopping_DigitalTVs_1x1
