On 05/07/07, Girish Havaldar <[EMAIL PROTECTED]> wrote:
Hi,
we have an application developed using the following components as listed
below
mysql 5.0.27
jdk 1.5.0_06
jre 1.5.0_06
tomcat 5.5.20
Apache 2
phpMyAdmin 2.9.2
Servlets 2.3
JSP 1.2
Our application is showing errors when deployed on tomcat 5.5.9(the
Hosting company is using Tomcat 5.5.9.)
ERROR:
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 67 in the jsp file: /classification.jsp
Generated servlet error:
Type mismatch: cannot convert from Integer to int
An error occurred at line: 67 in the jsp file: /classification.jsp
Generated servlet error:
The method add(int, Object) in the type ArrayList is not applicable for the
arguments (int)
An error occurred at line: 226 in the jsp file: /classification.jsp
Generated servlet error:
The method setAttribute(String, Object) in the type ServletRequest is not
applicable for the arguments (String, int)
An error occurred at line: 263 in the jsp file: /classification.jsp
Generated servlet error:
The method setAttribute(String, Object) in the type ServletRequest is not
applicable for the arguments (String, int)
org.apache.jasper.compiler.DefaultErrorHandler.javacError(
DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(
ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java
:397)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(
JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(
JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.9 logs.
so what is the solution.
Also plz send me info abt hosting comapny who can support the above
specification.
Thank you,
Girish S.Havaldar.