Jim Driscoll's Blog

Notes on Technology and the Web

JSF 2.0 Reminder: Project Stage

leave a comment »

Just a reminder that while you are developing a JSF 2.0 project, you really, really, really should enable the Development Project Stage. Doing this enables better error messages, including in the client side JavaScript, at the cost of some performance.

Enabling this is as simple as putting the below into your web.xml:


When going into production, simply change the project stage to Production, like so:


This will turn off some error messages, and emphasize performance.

(This article originally published on my java.net blog on September 28, 2009.)


Written by jamesgdriscoll

February 9, 2010 at 10:32 PM

Posted in JSF

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: