Results 1 to 2 of 2
  1. #1
    gsanchezbiz is offline Member
    Join Date
    Jul 2014
    Posts
    1
    Rep Power
    0

    Default Problem with running Maven-JSF in Eclipse Kepler

    Hi All.

    I had been playing with this lately and still unable to run a jsf maven web application in eclipse kepler. I hope I can find the answer because I had been searching for answer forever. :)

    Using @managedbeans i created a simple hello.

    Java Code:
    @ManagedBean
    public class Test(){
      public String getText(){
       return "myText";
      }
    }

    An the jsp file looks like this:

    Java Code:
     <body>
      #{test.getText} /*or #{test.getText()}*/
    </body>
    With the codes above, what the html displays is only:

    #{test.getText}


    Can you please tell me what I might be missing?

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,052
    Rep Power
    6

    Default Re: Problem with running Maven-JSF in Eclipse Kepler

    Clearly the page is not processed by JSF at all. So you likely have a configuration problem in your web.xml.

    This is an article I wrote on this very subject, you can check it to compare what you have:

    http://entjavastuff.blogspot.nl/2012...-tomcat-7.html
    Last edited by gimbal2; 07-21-2014 at 11:33 AM.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Problem When Running Android Application on Eclipse
    By Dark_Brotherhood in forum New To Java
    Replies: 0
    Last Post: 05-20-2014, 03:04 PM
  2. Replies: 0
    Last Post: 02-08-2014, 07:21 PM
  3. Main.java for Java EE 7 on Eclipse (Kepler)
    By gvanto in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 11-08-2013, 12:07 AM
  4. Problem with running eclipse-jee-helios-win32-x86_64
    By rohit_mali55@yahoo.in in forum Eclipse
    Replies: 2
    Last Post: 09-09-2010, 03:48 PM
  5. Replies: 0
    Last Post: 04-20-2009, 06:26 PM

Posting Permissions

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