This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes use of javax.faces.DEFAULT_SUFFIX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "use of javax.faces.DEFAULT_SUFFIX" Watch "use of javax.faces.DEFAULT_SUFFIX" New topic
Author

use of javax.faces.DEFAULT_SUFFIX

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Guys,

Why do we specify this as a context-param?? What effect does this play in the web.xml file?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Mariusz Choda
Greenhorn

Joined: Apr 26, 2012
Posts: 4
Parameter javax.faces.DEFAULT_SUFFIX you can set in your application deployment descriptor (web.xml file). By example:

<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.abc</param-value>
</context-param>


You can find more information about JSF engine configuration parameters in my post: http://my-java-planet.blogspot.com/2012/04/how-to-jsf-20-application-configuration.html

Regards
Mariusz
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: use of javax.faces.DEFAULT_SUFFIX