A Simple JSF Program
- This file defines an object dateTime with type java.util.Date
- A new object is constructed with each "request"
- Whenever a browser requests the page,
- A new Date object is constructed, and
- It is attached to the dateTime variable
- The Date constructor constructs an object with the current time
- #{dateTime.time} calls getTime of dateTime
- The h:outputText tag converts the result of that method call to text