3 Replies Latest reply on May 25, 2011 2:14 AM by muralib12

    JBoss EL not working

    muralib12

      Hi All,

       

      i have a simple expression like #{sessionData.iD} what is the getter name it really expects??

      getID() or getId() ??

       

      it throws ::   "Property 'iD' not found on type com.abc.xyz.SessionData"  Error

       

      My class actually looks like this.

       

      @Component

      @Scope("session")

      public class SessionData {

       

          private String id = "iD";

          private String sd = "sd";

       

          /**

           * @return the iD

           */

          public final String getID() {

              return id;

          }

         

          public final String getId() {

              return id;

          }

      ....

       

      Please point me to the EL expression specification resource.

       

      Thanks