I'm new to JSF and trying to execute some code from the tutorial in Complete Reference JSF. But I'm getting an error when login.jsp is about to be displayed. See code below. Even if I delete <f:view> from login.jsp, it's bombing out on <h:form>. Not sure what I'm missing. I have jstl.jar, standard.jar, jsf-api.jar & jsf-impl.jar in WEB-INF/lib Any idea what's wrong with this code? Thanks.
********************* index.jsp <html> <body> <% response.sendRedirect( "login.faces" ); %> </body> </html> I also tried: <jsp:forward page="/login.faces" /> and I got the same result.
hey try putting <f:view> </f:view> within <body> tag. you need not specify < h t m l> and <body/> tag explicitly. you can remove them at all. hope this gives you some solution
Best Regards,<br />Balaji Natarajan<br /> <br />SCJP 1.5 100%<br />SCWCD 1.5 92%<br />SCBCD (In Progress)
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.