Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML
 
 
Hot Web Programming Job

 

Tutorial Categories: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML


 

Java Tutorials

Core Java
JSP
Servlet
JDBC
Hibernate
Struts 1
Struts 2
JSF
Spring
J2EE
J2ME
Web Services
Ajax
Dojo
MySQL
Latest Comments
Null pointer excep
swap program faile
hi.........
very good
navigaton mobile
  All Comments...
 

 

 
Struts Tutorials
*Stuts TOC
*Apache Struts Introduction
* Struts Controller
* Struts Action Class
* Struts ActionFrom Class
* Using Struts HTML Tags
*Struts Validator Framework    
*Client Side Address Validation    
*Struts Tiles
*tiles-defs.xml
*Struts DynaActionForm
*Struts File Upload
*Struts DataSource
*AGGREGATING ACTIONS
*Internationalization
Struts Resources
*Struts Books
*Struts Articles
*Struts Frameworks
*Struts IDE
*Struts Alternative
*Struts Links
*Struts Presentations
*Struts Projects
*Struts Software
*Struts Reference
*Struts Resources
*Other Struts Tutorial
Visit Forum! Post Questions!
Jobs At RoseIndia.net!

Have tutorials?
Add your tutorial to our Java Resource and get tons of hits.

We offer free hosting for your tutorials. and exposure for thousands of readers. drop a mail
roseindia_net@yahoo.com
 
   

 
Join For Newsletter

Powered by groups.yahoo.com
Visit Group! Post Questions!

Jsf Jsf1.2 Jsf 1.2 Tomcat 6

User Comments
Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl
  Blink   Furl   Simpy   Y! MyWeb 

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

Current Comments

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

There is a mistake in the article. The file name should be hello.jsp instead of hello.jsf.

Posted by Deepak on Friday, 01.30.09 @ 03:54am | #84315

can i run ejb on tomcat6 in jdk1.6.0

Posted by sonu on Wednesday, 12.17.08 @ 03:46am | #82856

Yes,the "hello.jsf" file should be "hello.jsp",or it will generate errors

Posted by huybau on Thursday, 09.11.08 @ 12:23pm | #78653

This is very good for starting JSF with Tom6.0
Please keep on writing and give information about
how to run Hibernate with which web-server.

Posted by Ganesh Sharma on Tuesday, 06.3.08 @ 21:42pm | #61990

Create Hello.jsp and not jsf.Otherwise you will get page not found error.Everything else is fine.

Posted by Sanjay on Tuesday, 06.3.08 @ 14:51pm | #61945

Very good tutorial on creating and configuring
first JSF application.

Posted by Ganesh on Tuesday, 06.3.08 @ 00:18am | #61853

I unable to downlaod the version of JSTL from http://people.apache.org/builds/jakarta-taglibs/nightly/.

Posted by sharat on Thursday, 04.3.08 @ 23:22pm | #55255

when i run --> http://localhost:8080.login on browsser

I get error code 404 .

PLase tell me solution

Posted by Swati on Friday, 02.22.08 @ 14:44pm | #49405

Make sure that the directory under WEB-INF is called : "lib" and NOT "libs"

That should take care of the error:

HTTP Status 503 - Servlet Faces Servlet is currently unavailable

Posted by Kevin Cloudt on Sunday, 12.23.07 @ 02:51am | #43415

I want to run my jsf application in JBoss. please help me

Posted by prathibha on Friday, 12.7.07 @ 16:24pm | #41537

This runs only on tomcat 6.0. Means tomcat 5 does not support for JSF?

Posted by Chaminda Amarasinghe on Friday, 11.23.07 @ 14:34pm | #38676

The Tutorial says to create a file "hello.jsf". THIS IS WRONG! IT SHOULD BE "hello.jsp"!

Posted by lucky on Wednesday, 09.5.07 @ 20:24pm | #25107

When i followed as "JSF Installation on Tomcat" following error hit..



Aug 22, 2007 2:46:08 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class |CONFIG_LISTEN_CLASS|
java.lang.ClassNotFoundException: |CONFIG_LISTEN_CLASS|
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3773)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:595)

Posted by atmaram on Wednesday, 08.22.07 @ 14:50pm | #23901

I made some changes to get this working:

My web.xml file:

======================================
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup> 1 </load-on-startup>
</servlet>

<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>faces/index.jsp</welcome-file>
</welcome-file-list>
</web-app>
======================================



My index.jsp file:

======================================
<jsp:forward page="hello.jsp"/>
======================================

And, just renamed the old file hello.jsf to hello.jsp

And I got "Hello, Welcome to JSF 1.2 World!" in my browser :)

Posted by Luiz Fernando on Sunday, 08.19.07 @ 19:23pm | #23731

Hello

If you get this error:

The requested resource (/jsf12/hello.jsp) is not available.

There is a mistake in the article saying 'create hello.jsf'. Instead, it has to be 'hello.jsp'. All the rest of the text here is ok (even the redirection to 'hello.jsf' is ok, just the file has to be 'hello.jsp').

Posted by Kamil Sevecek on Sunday, 08.19.07 @ 03:08am | #23695

Hi

i have followed each step in this tutorial.

and when i started testing this error has been occurred:

HTTP Status 503 - Servlet Faces Servlet is currently unavailable

--------------------------------------------------------------------------------

type Status report

message Servlet Faces Servlet is currently unavailable

description The requested service (Servlet Faces Servlet is currently unavailable) is not currently available.


--------------------------------------------------------------------------------

Apache Tomcat/6.0.13


please need your solution.


Posted by Amena on Monday, 08.6.07 @ 14:03pm | #22753

hi all

when i started testing of this application.
it shows the follwing message

"The requested resource (/jsf12/hello.jsp) is not available."

any solution for this?

thanks



Posted by harish on Tuesday, 07.31.07 @ 12:38pm | #22286

When i try to setup this procedure, when testing it cannot find hello.jsp.. It's look like the hello.jsf is converted to hello.jsp when requested.

Posted by Manish on Thursday, 07.19.07 @ 08:05am | #21553

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.

Back to Tutorial

 

  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  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

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

Copyright © 2007. All rights reserved.