I got an error saying tomcat couldnt find hello.jsp.
Solutions> Just change the filename for hello.jsf to hello.jsp. This may sound strange but this is how jsf works per default and it is a consequence of implementing jsf on top on the servlet technology. The .jsf is mapped to the file extension .jsp. I got this information from the book Core JavaServer Faces, second edition on page 13.
Now workingKaranvivek November 3, 2011 at 11:47 AM
Tried all the above mentioned steps, but at the end result that I am getting is
HTTP Status 404 - /JSFwebApp/hello.jsp
------------------------------------------------------------
type Status report
message /JSFwebApp/hello.jsp
description The requested resource (/JSFwebApp/hello.jsp) is not available.
It seems like instead of jsf page is redirecting to jsp.
hello.jsf should be hello.jspKalle Anka September 23, 2011 at 5:14 PM
I got an error saying tomcat couldnt find hello.jsp. Solutions> Just change the filename for hello.jsf to hello.jsp. This may sound strange but this is how jsf works per default and it is a consequence of implementing jsf on top on the servlet technology. The .jsf is mapped to the file extension .jsp. I got this information from the book Core JavaServer Faces, second edition on page 13.
Now workingKaranvivek November 3, 2011 at 11:47 AM
Tried all the above mentioned steps, but at the end result that I am getting is HTTP Status 404 - /JSFwebApp/hello.jsp ------------------------------------------------------------ type Status report message /JSFwebApp/hello.jsp description The requested resource (/JSFwebApp/hello.jsp) is not available. It seems like instead of jsf page is redirecting to jsp.
Change the name of the file to hello.jspUnknown Stranger November 24, 2011 at 6:26 PM
Change the name of the file to hello.jsp instead of hello.jsf
Code ErrorBerg April 19, 2012 at 9:51 PM
the hello file should be a jsp not a jsf. The download has the file named properly but both index.jsp files call hello.jsf which will not work.
GreatOgnyan Zhelezov May 17, 2012 at 8:26 PM
Great, this is very usefull example. I have downloaded .zip file from the last link an put it in Tomcat's webapps directory. It works!
reportHanuman June 23, 2012 at 12:26 PM
your application is not working in apache tom cat 4.0....
tom catvinu July 9, 2012 at 9:20 PM
super
Post your Comment