This week's book giveaway is in the Java in General forum.
We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line!
See this thread for details.
Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

JSF - Problems with NetBeans 6.9.1

 
Greenhorn
Posts: 5
Mac C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi people,

I am doing a JSF project, but it doesn't work properly. In fact, the first problem is that I can't use index.jsp page.

I use NetBeans 6.9.1, click New Project, GlassFish server 3.0, J6 EE, Jsf framework 1.2.

It then creates welcomeJSF.jsp page. However, I want to use index.jsp instead. I simply right click on welcomeJSF.jsp and choose rename, and write index.

When I run the project, it returns me Error 404 - welcomeJSF.jsp not found.

If I chose JSF 2.0, it would create welcomeJSF.xhtml, and the problem continues.

That is only begining, because I can't jump from page to page neither...

I've almost finished whole project, but I can't check it... So please, help me! Thanks!
 
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dusan,

Check your web.xml for the welcome file. What is the name?
 
Dusan Mancic
Greenhorn
Posts: 5
Mac C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!

Yes, that was the problem, thank you! I saw it two days ago, but I still have problems to connect pages. However I missed web.xml file again, because I need to register rich libraries. I'm trying to solve this, but if I don't do it, I will write here. I hope that you will be here again!
 
Dusan Mancic
Greenhorn
Posts: 5
Mac C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's me again,


do you know how templates and css are used? I want to have layout page which would use external css file, and then import it as template in every other .jsp page.
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic