what can i do with this? I'm testing a basic JSF web application with two
jsp pages containig an input text and a button ............ When asking
eclipse to run the jsp page in a Tomcat 6 server, i get the following
errors in the log's panel:

before calling the first JSP, which requires JSF, in your session, you somehow
have to trigger initialization of the JSF runtime. This is done by invoking a
JSF URL like e.g. "index.faces", which initializes JSF and then renders a page
called "index.jsp".

There are two possibilites to solve this (beside invoking an "index.faces" URL):
-Your index page does not make use of JSF, but is plain HTML or JSP, and
contains either a link to a JSF URL:

<a href="mystartpage.faces">Enter !</a>
It is important that this page is not part of a session:
<%@ page session="false" ....

Thanks for your response. The first page content that i'm trying to run
has two standard jsf tags, the input text and the button. I dont have the
source at this moment but i'll send it in a few hours. Do you think i must
do changes to the index page having the first that i'm trying to run jsf
tags?

Please let me know.

Another question. I tried to follow the eclipse documentation example for
creating a jsf application (eclipse jsf tools basic tutorial). There is a
step that requests to define two libraries: SUN-RI-1.2 and JSTL with it's
corresponding jars (i've done so). After invoking the Create new Dynamic
web project, on the jsf capabilities page, the guide requests to add the
jstl library. I couldnt find a way to add the library. Can you tell me
the steps?
Can this be the problem? Do i have to check mark the SUN-RI-1.2 default
JSF libraries in the jsf capabilites page to run with Tomcat 6?

Thanks ginkgo, i think i've succeeded one more step. I dont have the JSTL
error log anymore. Now, when the index.jsp redirects to prueba1.jsp, which
contains two jsf components, i have the following error (in the browser):

Hi Estuardo
Can you post the content of your tutorial , the problem jsp file.
Maybe I can test on my own machine.

Regards
GinKGO]]>epson wang2008-02-04T09:23:35-00:00Re: JSP with jsf standard 2.0 components errorhttps://www.eclipse.org/forums/index.php/mv/msg/66154/208057/#msg_208057
the problem about your change the extension of you .jsp to the .faces

you should know the basic flow of the JSF works.
the faces or the older jsf is defined in the web.xml

You've mapped "*.faces" to FacesServlet, so you need to change "*.jsp" to
"*.faces" so that FacesServlet is invoked. By default, JSF will assume
that the actual resource is as requested, but with the extension changed
to "*.jsp". You need to route all JSF JSP pages through FacesServlet, or
JSF simply will not work.

In the example that i'm running, the jsp page "prueba1.jsp" shows nice,
but when i push the button, nothing happens. I've debugged the
SayHelloPage.sayHello method, and its executing, but i dont go to the
second page "prueba2.jsp" despite the string "success" returned. I think
the flow in the faces-config.xml is correct. What is going wrong?

Hi there, making some tests i've found the problem. I deleted the jsp
pages in the navigation rules graphical editor and created them again,
graphically, then it worked. There is some stuff when you modify the
faces-config.xml in the source tab.