Downloading and Installing "SimpleHelloByEnteringName" JSF Example
In the last section we explained how you can develop "SimpleHelloByEnteringName" JSF example. In this, we will show you how you can quickly download and install the source code of the application provided by us. This will help you start JSF easily without spending time in installing and configuring JSF application your self.
STEPS-
- Download zip file of the "SimpleHelloByEnteringName" JSF application form here.
- Extract the zip file anywhere. You will get a folder named "SimpleHelloByEnteringName".
- Download tomcat 5.5.23 or latest version and install it (I am assuming that you are comfortable with tomcat installation)
- Move the extracted file "SimpleHelloByEnteringName" to the webapps directory of tomcat.
- Run the tomcat
- type http://localhost:8080/SimpleHelloByEnteringName in the address bar of browser and click "go" or hit the enter key of keyboard
When you submit the request, you will see the result displayed on the browser like this :
Suppose you have filled name "rose" in the input text box in the above page, You will be welcomed with your name like this :
This is the final output of this application. Now we expect that you can build your own application that may be as simple as explained here or even complex. Here, it was an attempt to provide you a simple structure of web application that makes you clear about directory structure means where to place what and how to write code and mappings.