Web tier: servlets, JSP, Web frameworks: typo in faces-config to-view-id extension, but works fine?
I just noticed a typo in one of our to-view-id specifications, but everything seems to work fine. The extension shouldn't be "xhthml". But everything works fine. I'm just curious if the extension even gets used. Or maybe there is an algorithm (try with extension, if not found, look for jsp, then xhtml, then html, etc.) Any ideas? creation_createnew creation.xhthml
- Posted by: Tom O'Neill
- Posted on: February 09 2010 13:05 EST
- Re: typo in faces-config to-view-id extension, but works fine? by Sergei Batiuk on February 16 2010 18:08 EST
An extension is expected to be used at runtime, not at deployment time. An extension can be anything. The system won't even be able to tell an extension from a dot within a name because from it's point of view it's just a part of the name. What you need to check is it it works when actually deployed. Java Development on Demand http://www.hitech.com.ua/en/ http://www.hata.com.ua/