Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    [JAVA/JSP] Errore

    Ragazzi qualcuno mi sa dire cos'è questo tipo di errore e come si risolve? Grazie. ciao

    codice:
    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: 6 in the jsp file: /incrementa.jsp
    Generated servlet error:
    BeanRisposta cannot be resolved to a type
    
    An error occurred at line: 6 in the jsp file: /incrementa.jsp
    Generated servlet error:
    BeanRisposta cannot be resolved to a type
    
    An error occurred at line: 6 in the jsp file: /incrementa.jsp
    Generated servlet error:
    beanRisposta cannot be resolved
    
    
    	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:409)
    	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:563)
    	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
    	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    	Prova.gotoPage(Prova.java:12)
    	Prova.doGet(Prova.java:35)
    	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs.

  2. #2
    Scusate ragazzi il problema è un altro:
    Devo prendere (nella jsp) un intero dalla servlet. Come si fa ? convertendolo con il metodo Integer.parseInt(x) mi da errore. Come si fa?

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.