bean: define problem in tomcat.But it is working fine in Jdeveloper. Why?
I am use a logic iterator tag for a dropdown list and bean :define for the show the values of the drop down list in jdeveloper. But in tomcat when i use this same code i got the following errors.
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 152 in the jsp file: /Trip_Consignor_Details_Insert.jsp
Generated servlet error:
[javac] Compiling 1 source file
/data/jakarta-tomcat-5.0.19/work/Catalina/localhost/Lost/org/apache/jsp/Trip_005fConsignor_005fDetails_005fInsert_jsp.java:315: cannot find symbol
symbol : method setValue(java.lang.Object)
location: class org.apache.struts.taglib.html.OptionTag
_jspx_th_html_option_0.setValue(param1);
^
An error occurred at line: 172 in the jsp file: /Trip_Consignor_Details_Insert.jsp
Generated servlet error:
/data/jakarta-tomcat-5.0.19/work/Catalina/localhost/Lost/org/apache/jsp/Trip_005fConsignor_005fDetails_005fInsert_jsp.java:414: cannot find symbol
symbol : method setValue(java.lang.Object)
location: class org.apache.struts.taglib.html.OptionTag
_jspx_th_html_option_1.setValue(param2);
^
Note: /data/jakarta-tomcat-5.0.19/work/Catalina/localhost/Lost/org/apache/jsp/Trip_005fConsignor_005fDetails_005fInsert_jsp.java uses unchecked or unsafe operations.
An error occurred at line: 172 in the jsp file: /Trip_Consignor_Details_Insert.jsp
Generated servlet error:
Note: Recompile with -Xlint:unchecked for details.
2 errors
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
I think this may caused for the following line of code--
<html:option value='<%=sUomCode%>'></html:option>
May i have to add a jar file for this tag in my classpath and keep the jar file in tomcat's [ jakarta-tomcat-5.0.19 ]/ common/lib?.
i am using ubuntu as os. Please suggest me.

