Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF file as welcome-file in web.xml

 
Joe Kidd
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone explain to me why I get the following exception when I launch the application?



More specifically, why isn't login correctly mapped to jsf/login.jsp in welcome-file-list while faces/jsf/login.jsp works just fine?

Here are the contents of web.xml:


P.S.
I wasn't sure if this was the right forum for this question. Let me know if I should ask questions like these else where. Thanks
 
ym feng
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you need to specify it with a url path
 
Joe Kidd
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ym feng wrote:you need to specify it with a url path

What exactly do you mean by that? The following should map /login to jsf/login.jsp which is the correct path for the .jsp file...

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic