Home | Ajax | BioInformatics | Dojo | EAI | EJB | Hibernate | J2ME | Java | Java Glossary | Java Servlets | JavaScript | Jboss | JDBC | JDO | Jmeter | JSF | JSP | JUnit | Maven | MySQL | Spring Framework | SQL | Struts | Technology | WAP | Web Services | XML
 
 
Search All Tutorials
  

 
Programming Tutorials: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML
 
JSF
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments

Installing JSF 1.1 in TOMCAT 5.5.23

                          

In this section, we will learn about installation of JSF 1.1 to TOMCAT 5.5.23. Java Server Faces (JSF) requires some steps to follow while configuring it in TOMCAT. Here we are considering you comfortable installing the tomcat. There is nothing much to do to install JSF if you have already installed and configured tomcat 5.5.23. We require 

  1. Jdk1.6.0
  2. Tomcat 5.5.23
  3. Jsf 1.1
  4. Servlet 2.3
  5. Jsp 1.2

 The steps required to make your JSF application run are summarized below :

  1. Download zip file of tomcat 5.5.23 from http://tomcat.apache.org/download-55.cgi#5.5.23.
  2. Extract this file to the directory of your choice (suppose c:/tomcat) (remember to set JAVA_HOME variable).
    You will get 9 sub-folders into this tomcat directory :
    1)bin
    2)common
    3)conf
    4)logs
    5)server
    6)shared
    7)temp
    8)web-apps
    9)work
    and some files.
  3. Download zipped file of jsf 1.1 Reference Implementation from http://java.sun.com/javaee/javaserverfaces/download.html.
  4. Extract the above zipped file of jsf 1.1 to the directory of your choice (suppose c:/jsf).
    You will get 7 sub-folders in this jsf folder :
    1) docs 
    2) javadocs
    3) lib
    4) metadata
    5) renderkitdocs
    6) samples
    7) tlddocs
    and some files.
  5. Copy all jar files from jsf/lib directory of above extracted file to tomcat/common/lib directory.
  6. Copy two jar  files "jstl.jar" and "standard.jar" from tomcat/webapps/jsp-examples/WEB-INF/lib directory  to tomcat/common/lib directory.
  7. Set class path for these jar files.
  8. Start tomcat.

After configuring JSF in tomcat, we can create and run JSF application. After making any changes in application, its better restart the tomcat before running the application. If you want to run a sample application provided by JSF reference implementation then

  1. go to  jsf/samples folder
  2. copy any war file from here to tomcat/webapps
  3. restart tomcat server

This war file gets extracted automatically to the directory structure with the same name of war file. Now you can run this application in tomcat and  you can follow the directory structure of these applications to make your own application. In this tutorial, all steps have been described in simple manner by a simple application "SimpleHelloByEnteringName".

                          

Facing Programming Problem?
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 

Current Comments

1 comments so far (post your own) View All Comments Latest 10 Comments:

I am very much thank ful to view ur portal as it is helping me a lot .Also i want to know how our doughts are cleared thru this is there any way?


Posted by deepa on Tuesday, 11.13.07 @ 07:33am | #37152

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Java String toLowerCase Example
Java String toCharArray Example
Java String substring Example
Java String indexOf Example
Java String startsWith Example
Java String hashCode Example
Java String matches Example
Java String length Example
Java String lastIndexOf Example
Java String isEmpty Example
Java String equalsIgnoreCase Example
Java String equals Example
Java String endsWith Example
Java String copyValueOf Example
Java String contentEquals Example
  EAI Articles
  Java Certification
Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.