JavaServer Faces (JSF 2) provides a number of user interfaces components that cover the most common requirements, one of the most important component is a <h:outputText/> component. The outputText is a component that has a value, optionally retrieved from a model tier bean via expression, that is displayed to the user. The user cannot directly modify the …
JSF 2 Tutorials
This page (JSF 2 Tutorials) is regularly updated with latest information and articles on Java Server Faces (JSF) technology. If you come across any good JSF tutorials and not listed here, please send a mail to krishnas at javabeat.net or write it in the comments section. JavaServer Faces (JSF) which provides a Component-Based Architecture for developing reusable User Interface Components hides …
Spring 4 REST Example
This tutorial provides a simple example for writing the Spring MVC REST services using the Spring 4 APIs. We have written several articles about the spring 4 features in our previous articles. The REST implementation on Spriing 4 also very much similiar to the previous releases. Here I have provided the sample source code what …
FileNotFoundException in Java
If you are working with the File APIs in Java, it is common that you would encounter the FileNotFoundException. This is a subclass of IOException. This Java exception is thrown by the classes FileInputStream, FileOutputStream, and RandomAccessFile. These classes trying to access a file in the system for the purposes of reading or writing into …
JSF 2 InputText Example
JavaServer Faces (JSF 2) provides a number of user interfaces components that cover the most common requirements, one of the most important component is a <h:inputText/> component. The inputText is a component that both displays the current value of the component to the user and processes request parameters on the subsequent request that need to be decoded. …
JSF 2 Installation and Configuration Using Maven 3
JavaServer Faces (JSF) is a server side component framework for building Java Technology web-based application. JavaServer Faces (JSF) consists of two main parts: The JavaServer Faces API for representing components, managing their states, handling events, handling server side validations, and achieving data conversion; defining pages navigation, supporting internationalization and accessibility and providing extensibility for all these …
HTML5 Month Input Type
The month type is used to specify the particular month and year by the user. The month type is used in <input> tag. It only specifies the month and year and not the date. To specify the complete date we can use date input type. One example is the credit card expiry date where only …
How To Get Eclipse Current Workspace Location
One of the simple trick in Eclipse which many find difficult is to find the current path or location of the workspace. The confusion arises often when the developers are using the multiple workspaces and forget the current workspace used by the eclipse instance. Note that you can open multiple Eclipse instances with different worspaces. …