Hi Madan,

in el you can't access properties, you need to setup getters for the
static Varibles.

Regards,
   Volker

2007/6/4, Madan Narra <[EMAIL PROTECTED]>:
Hi Bernd,

I used the Class as a Managed Bean and specifid its scope as " application
". But no success.

public static String loginError = "0001"; This is the varibale i declared in
ErrorMessages.java with static .

Was getting this error when used as such in jsp page

<tc:out value="#{errorMessages.loginError}" />

javax.faces.el.PropertyNotFoundException: Bean:
com.mycompany.util.ErrorMessages, property: loginError


Regards,

Madan N

Reply via email to