JSF

JSF

View Answers

September 10, 2008 at 10:13 AM

Hi friend,


web.xml


<?xml version="1.0"?>
<!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>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>

<!-- 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>*.jsf</url-pattern>
</servlet-mapping>
</web-app>

---------------------------------
faces-config.xml


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer
Faces Config 1.0//EN" "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">;

<faces-config>
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>secondpage</from-outcome>
<to-view-id>/secondpage.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>


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

This link will help you please visit,

http://www.roseindia.net/jsf/richfaces/creating-configuration-files.shtml

Thanks.









Related Tutorials/Questions & Answers:
JSF
JSF  What is JSF
JSF
JSF  In what way JSF makes the difference between Applets?? After reading this article I understood instead of using Request and response, we... and embed that into applets also rite.. Do u mean JSF also does the same internally
Advertisements
JSF architecture
JSF architecture  What is JSF architecture
jsf attribute
jsf attribute  What is the different between value and binding attribute of jsf
JSF Tutorial
JSF Tutorial  plz provide the jsf complete tutorial  Hi, We have lot's of JSF tutorials. Please read it at [http://roseindia.net/jsf/][1] Thanks [1]: http://roseindia.net/jsf/  The link is http
Advantages of JSF
Advantages of JSF  What are the advantages of JSF
Implementations of JSF
Implementations of JSF  What are the available implementations of JSF
JSF framework
JSF framework  hi Can I use Jdeveloper to learn JSF framework? thanks Sangeetha
jsf session
jsf session  How to maintain session in jsf login application?   Please visit the following links: http://www.roseindia.net/jsf/richfaces/creating-managed-bean.shtml http://www.roseindia.net/jsf/RememberMeLogin.shtml
jsf session
jsf session  How to maintain session in jsf login application?   Please visit the following links: http://www.roseindia.net/jsf/richfaces/creating-managed-bean.shtml http://www.roseindia.net/jsf/RememberMeLogin.shtml
JSF Tutorial
JSF Tutorial  I am novice to JSF Programming. And want to learn the Java Server Faces (JSF) technology online. So, could you please list down few helpful JSF Tutorials. Also, which is the latest version of Java Server Faces (JSF
JSF code
need jsf code that will populate combo box values from the database  Hi, i'm new on JSf,I need jsf code that will populate combo box values from the database when the form runs
JSF Related
JSF Related  In what way JSF makes the difference between Applets?? After reading this article I understood instead of using Request and response, we... and embed that into applets also rite.. Do u mean JSF also does the same
JSF - Framework
JSF  Can any one please provide me with code to create widget in JSF using - IBM JSF Widget Library (JWL). Thank you for your Help
JSF+Filter
JSF+Filter  What is the meaning of the tags: avoid-urls for filter configurations in web.xml.
JSF - Framework
information : http://www.roseindia.net/jsf/SimpleHelloByEnteringName.shtml http://www.roseindia.net/jsf/richfaces/creating-managed-bean.shtml Thanks
Jsf biggener
Jsf biggener  hi friends, am new to jsf,i got an exception while...;Hi Friend, Please visit the following links: JSF TutorialsADS_TO_REPLACE_4 JSF-NetBeans Tutorials Thanks
jsf question
jsf question  what the jsf really is and how it come up in existence... FACES'.JSF 1.0 was released in March, 2004 & a maintenance release 1.1 in June... is a component oriented and event driven framework for web applications. JSF eases
jsf table
jsf table  hi, my question is as follows : i am using front end... as myproject.in this project, i have a file named as index.jsp. now i want to create a jsf table in this index.jsp file.this jsf file should be able to retrieve the data from
JSF - Framework
Servlet *.jsf --------------------------------- faces...://www.roseindia.net/jsf/richfaces/creating-configuration-files.shtml Thanks
JSF Architecture
so that applications can be designed well with greater maintainability. JSF also uses the MVC pattern. ?JSF Architecture? article in roseindia.net explains the architecture of a JSF application. Read about the topic at JSF
JSF error
JSF error  some of the users are not able to update the db. getting the error "An Error Occurred: Error calling action method of component with id CreateorManageOffer:jidjsp134312524923 Caused by: java.lang.NullPointerException
JSF Internalization - Java Magazine
JSF Internalization  Hiii, please tell me How to JSF Internalization
Requirements for JSF to get started
Requirements for JSF to get started  What are the requirements for JSF to get started
JSF Sample Programs
JSF Sample Programs  I need a JSF sample programs
Is JSF using JSP?
Is JSF using JSP?  Is JSF using JSP
JSF Rendered Attribute
JSF Rendered Attribute  i need the example for jsf with rendered attribute
jsf error
jsf error  type Exception report message descriptionThe server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: java.lang.RuntimeException: Cannot
jsf
JSF
How to use dojoscript with jsf?
How to use dojoscript with jsf?  Hi all , am new to jsf. can anyone help me out in using dojo script frame work with jsf. how to integrate dojo into jsf. Thanks in advance
either jsf or jsp?
either jsf or jsp?  which is better technology to display dynamic data by using either jsf or jsp
how to close JSF application..?
how to close JSF application..?  how to close jsf appliaction using command button with help of java code
jsf custom tooltip
jsf custom tooltip  I wants to know that is it possible to add a tooltip to the Custom JSF
jsf pagination
jsf pagination  Hi , i want to paginate some questions in jsf for online exam . i want to select 1st question by click on 1st link and so on please give any solution . Thanks, Bhuban   Here is a jsp code
JSF Introduction - An Introduction to JSF Technology
JSF Introduction - An Introduction to JSF Technology...; Java Server Faces or JSF for short is another new exciting technology for developing web applications based on Java technologies. This JSF
JSF Manage Bean
JSF Manage Bean   how to register JSF manage bean? Please give me an example. Thanks!   JSF Manage Bean Example
JSF 1.2 online tutorial
JSF 1.2 online tutorial  Need a perfect online tutorial for JSF 1.2.. Thanks in advance Arjun   Please visit the following link: JSF Tutorials
About JSF Framework. - Framework
About JSF Framework.  What is JSF? Why it is used?What is flow of JSF with example code.. What is the difference between Struts and JSF? Which is the best site to learn JSF frame work?  Answer : JSF JSF is new
JSF - JSP-Interview Questions
JSF  How to embedded PDF in JSF page(jsp file created
First JSF Application - WebSevices
First JSF Application  First JSF application and JSF application folder structure, please help me in writing my first application using JSF. thanx :-)  Hi,Please check http://www.roseindia.net/jsf/jsf1.2
Difference between struts and JSF
Difference between struts and JSF  What is the difference between struts and JSF
JSF - JSP-Servlet
JSF Jars in web inf lib   I don't know where to place Jar files in JSF. Please advise.Thanks in Advance
Version of jsf-extensions>jsf-extensions-run-time dependency
List of Version of jsf-extensions>jsf-extensions-run-time dependency
Including applet in JSF (XHTML)
Including applet in JSF (XHTML)  Hi I want to generate graphs in facelets project. We are using JSF 2.0. We have Perspective for Java to generate... need to embed in jsf. Could any one let me the solution?   Please
JSF Form Validation
JSF Form Validation          Complete Java Server Faces (JSF) Tutorial - JSF Tutorials. JSF Tutorials at Rose India covers everything you need to know
Deployment of JSF - Framework
Deployment of JSF   Hello, I am getting the following error while deploying the JSF application in JBOSS 4.0.0, I have followed all the steps...-INF\lib\jsf-impl.jar(com/sun/faces/taglib/jsf_core/ViewTag.class) class file
jsf text field not blank
jsf text field not blank  text field not clear in jsf onclick of reset button in my application initial value not deleted   Hello Friend, Post your code. (adsbygoogle = window.adsbygoogle || []).push
Visual JSF - Framework
Visual JSF  I am using netbeans6.0IDE and Visual JSF framework using Database MySQL database using. My doubt is Visual JSF table using briefly with example with database using insert, edit and delete
doubt regarding JSF
doubt regarding JSF  Hi, pls explain what is difference between struts &JSF? pls explain what is difference between SPRING &JSF

Ads