Results 1 to 3 of 3
  1. #1
    fatabass is offline Senior Member
    Join Date
    Nov 2011
    Location
    Turkey
    Posts
    380
    Blog Entries
    24
    Rep Power
    4

    Default Requirements for a JSF hello world?

    Hello,

    I am trying to compile a war file which will be deployed to a Tomcat Server.

    What I want to do is to

    Java Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:f="http://java.sun.com/jsf/core"      
          xmlns:h="http://java.sun.com/jsf/html">
     
        <h:head>
            <title>JSF 2.0 Hello World</title>
        </h:head>
        <h:body>
        	<h3>JSF 2.0 Hello World Example - hello.xhtml</h3>
        	<h:form>
        	   <h:inputText></h:inputText>
        	   <h:commandButton value="Welcome Me"></h:commandButton>
        	</h:form>
        </h:body>
    </html>
    So what are the basic dependencies for a JSF project?

    I know I need a servlet. But I also need a jar file for facelet tags, right?

    Any guidence on this?

    I have all Netbeans, Eclipse and IntelliJ and they try to help me but they all do things so differently.

    Thanks.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,457
    Rep Power
    20

    Default Re: Requirements for a JSF hello world?

    Moved from Advanced Java

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    Join Date
    Mar 2013
    Posts
    3
    Rep Power
    0

Similar Threads

  1. Java world generator-real world with people and stuff
    By conker5295 in forum Jobs Offered
    Replies: 2
    Last Post: 02-23-2012, 02:22 PM
  2. different requirements on the same server
    By ra78 in forum Networking
    Replies: 12
    Last Post: 06-28-2010, 06:50 PM
  3. New to Java.. What are the requirements?
    By konn in forum New To Java
    Replies: 10
    Last Post: 03-27-2009, 01:50 PM
  4. External DTD requirements
    By jwilley44 in forum XML
    Replies: 0
    Last Post: 03-06-2009, 10:25 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •