File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes 2 newbie questions on errors encountered Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "2 newbie questions on errors encountered" Watch "2 newbie questions on errors encountered" New topic

2 newbie questions on errors encountered

Melinda Savoy
Ranch Hand

Joined: Jun 21, 2005
Posts: 386

I am going through an online tutorial for JSF as I am very new to it. I am having to work in an IBM RAD & Websphere 7 environment.

In my User class under a package called pagecode I have the following:

In my JSP page I have:

In my web.xml file I have:

And in my faces-config.xml file:

But I am getting these 2 errors for which I would appreciate any direction and/or help:

What is interesting is that if I enter in the JSP where the first error is occurring a scriplet <%=request.getRemoteUser().substring(6)%> then I am able to get my userID populated in the form, however, I do not want to use scriptlets in the JSP page and just bring it in from the bean if at all possible.

Again, any help/direction would be greatly appreciated. Thank you.
It is sorta covered in the JavaRanch Style Guide.
subject: 2 newbie questions on errors encountered
Similar Threads
Help - Problems with redirect in servlet filter in my JSF web app
JunitEE Problem
ServletException in:/pages/logon.jsp] Cannot retrieve definition for form bean null'
Websphere Commerce : from Java filter to Struts action mapping
Null pointer Exception thrown in JadeGatewayServlet