[jboss-user] [Beginners Corner] - Strange problem with JSP compilation

Plukh do-not-reply at jboss.com
Sat Dec 15 11:14:03 EST 2007


We're moving an existing project from Orion 2.0 to JBoss 4.0.5. On Orion, we've created lots of JSP code using JSTL and Struts taglibs, looking like this:

<html:option value="<%=departmentId%>"><%=departmentName%></html:option>

where departmentId is an int.

This code was compiling and running in Orion just fine, however, when trying to access this page in JBoss, I get the following error:

An error occurred at line: 1,745 in the jsp file: /insurance/jsp/selectTenderType.jsp
  | Generated servlet error:
  | The method setValue(String) in the type OptionTag is not applicable for the arguments (int)
  | 

Any pointers about where I should look?

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

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



More information about the jboss-user mailing list