I have an outdated JSF 1.0 application (using JSP, not facelets) that I have now migrated from MyEclipse to Eclipse 3.5 Java EE, and I get a lot of errors from code like the following:
<f:view locale="#{foo.connection.langLocale}">
where the problem is that "foo" is explicitly inserted into the session object from Java code and not injected by JSF or the like, therefore Eclipse Java EE considers that "foo" is undefined and marks this as an error. What is the correct way to tell Eclipse Java EE that "foo" is great, fits in a session object and of type Foo?
source
share