Salve Ragazzi questo è l'errore che mi da .. la mia prima pagina JSP .. credo probabilmente che sia un problema di path .. Uso tomcat 6.0.24
il path della pagina prova.jsp è questo D:\Programmi\Apache Software Foundation\Tomcat 6.0\webapps\ROOTcodice:HTTP Status 500 - 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: 8 in the jsp file: /prova.jsp InfoUtente cannot be resolved to a type 5: <head><title>Utilizzo del Bean</title></head> 6: <body> 7: 8: <jsp:useBean id="utente" scope="session" class="InfoUtente" /> 9: 10: 11: </body> An error occurred at line: 8 in the jsp file: /prova.jsp InfoUtente cannot be resolved to a type 5: <head><title>Utilizzo del Bean</title></head> 6: <body> 7: 8: <jsp:useBean id="utente" scope="session" class="InfoUtente" /> 9: 10: 11: </body> An error occurred at line: 8 in the jsp file: /prova.jsp InfoUtente cannot be resolved to a type 5: <head><title>Utilizzo del Bean</title></head> 6: <body> 7: 8: <jsp:useBean id="utente" scope="session" class="InfoUtente" /> 9: 10: 11: </body> Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439) org.apache.jasper.compiler.Compiler.compile(Compiler.java:334) org.apache.jasper.compiler.Compiler.compile(Compiler.java:312) org.apache.jasper.compiler.Compiler.compile(Compiler.java:299) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.
mentre il path del file .class e . java è D:\Programmi\Apache Software Foundation\Tomcat 6.0\webapps\ROOT\WEB-INF\classes
il problema è che non riesco ad includere questo benedetto bean compilato senza problemi con jdk .. vi ringrazio anticipatamente per l'attenzione .. daniele

Rispondi quotando