[jboss-user] [Beginners Corner] - couple of issues with jsp compilation

jo_atman do-not-reply at jboss.com
Sun Nov 25 12:29:57 EST 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107600#4107600

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107600



More information about the jboss-user mailing list