The default extension is set in web.xml. It's not a Seam thing, it's a JSF thing.
This is not a Seam stuff, but I'll give you some hints to figure out (maybe you should read more about JSF ).
It depends what you have configured in your web.xml.
By instance, if you are using facelets, you should have this:
<context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.xhtml</param-value> </context-param>
Now, the Faces Servlet is configured to use *.seam whether you have this:
<servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.seam</url-pattern> </servlet-mapping>
This means when you write a page like home.xhtml in your app. and in the browser you type: http://domain/helloworld/home.seam
This will open the JSF managed view for home.xhtml.
So, if you wanna change .seam to .html , you should change:
<servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.html</url-pattern> </servlet-mapping>
Then all *.html extensions will call the respective .xhtml JSF managed view.
Thanks alot sorry about posting something off-topic I'm new to JSF as well.