File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Can't start a simple application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Can Watch "Can New topic

Can't start a simple application

Denis Zjukow
Ranch Hand

Joined: Mar 15, 2006
Posts: 39
Hello everybody!

I've just stared learning JSF and bumped into the following problem: my 'hello world' application won't run. I'm providing the steps I've done. I use Tomcat 5.5.9, JSF 1.1 and sun's RI. Here is the directory structure:

I copied both jars from file (actually the only reason I use 'jsf 1.1' instead of '1.2' is that I don't have an appropriate container, the only one I have is Tomcat 5.5.9 which supports only version '1.1'. Am I right here?). I use extension 'jspx' for the jsp file because it was in the example I have. And it seems that this should be correct. These are the listings:

1. web.xml

2. faces-config.xml

3. index.jspx

This code is placed under tomcat's webapps folder. After I run the server and type 'http://localhost:8080/helloworld/index.jsf' in my browser I got error 404 'resource not available'. Where am wrong? Please help. Thank you all in advance.
Denis Zjukow
Ranch Hand

Joined: Mar 15, 2006
Posts: 39
I just reinstall tomcat and everything went fine. So the topic is not actual any longer. Thanks everybody anyway !!!
I agree. Here's the link:
subject: Can't start a simple application
It's not a secret anymore!