• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can't start a simple application

 
Denis Zjukow
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 jsf-1_1.zip 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
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just reinstall tomcat and everything went fine. So the topic is not actual any longer. Thanks everybody anyway !!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic