1 Reply Latest reply on Nov 25, 2007 2:37 PM by Nilesh Thali

    couple of issues with jsp compilation

    Nilesh Thali Newbie

      Folks,
      Here are a couple of issues i have been having on my local machine with jsp compilation (on the server running JBoss 4.0.0, it works great). Appreciate any help you can provide.
      My JBoss version is 4.2.1 GA, and jdk is 1.5.0_12

      An error occurred at line: 538 in the jsp file: /xf_sa_supplier_description.jsp
      The method setValue(String) in the type PutTag is not applicable for the arguments (boolean)
      535: <tiles:put name="attrType" value="operatingMonths"/>
      536: <tiles:put name="header" value="operatingMonths"/>
      537: <tiles:put name="mutipleselect" value="true"/>
      538: <tiles:put name="checkboolean" value="<%=disableOPM%>"/>
      539: </tiles:insert>

      Here it's complaining about the last tiles:put having a boolean argument. Shouldn't autoboxing take care of this?

      Secondly,
      An error occurred at line: 34 in the jsp file: /xf_page_attributebuilder.jsp
      Syntax error, parameterized types are only available if source level is 5.0
      31: try
      32: {
      33: String selectboolean = null;
      34: List restrictedAttributes = new ArrayList();

      How do i check what source level it's running at? Shouldn't it be 5.0 already?

      Thanks,
      Nilesh