Articles Archive for May 2009
JEE, JSF, Tech Notes »
Normally, a jsp contains static and dynamic contents. Static contents are written using html while dynamic contents are executed at server side, and the resultant data is presented again in html format. When a page is presented in a browser, it contains sequence of html tags that are nested to present view elements and data. When we are working with JSF, the presented page is still the same, but the way jsp code is written, and the way it is processed by the container, there is major difference. Let us …
JEE, Tech Notes »
If we look at the new technologies introduced in Java domain, it can be clearly seen that web tier is one of the prime focus area now a days. Evolution of Java web technology had been slow as compared to the middle tier and persistent data access technology for past few years. For ages, we have been building presentation tier of our application around the jsp technology, with minor variation in the way we are constructing a jsp page. Though web tier is face of any application, and it has …
JEE, JSF, Tech Notes »
In this example, we will write a simple application using JSF and it’s default renderer – HTML renderer on Eclipse IDE. Next, the application will be deployed on tomcat, and run to see results. Functionality of our project is simple – enter first name and last name, on press of submit button, show the complete name. If any field is empty then show error.
Create a Dynamic Web Project
Create dynamic web project in eclipse using following steps. In eclipse, click on New > Project to arrive at following screen.
On this screen, …
