Ciao, qualche anno fa feci un progetto (funzionante) con NetBeans.
Ora lo riapro e mi da errore sul codice ServletContext sc = getServletContext();. I vari import ci sono ma hanno la linea zig zag sotto javax
Semplicemente mi dice che il package javax.servlet non esiste... cosa faccio (e come)? Grazie in anticipo.codice:import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import javax.servlet.ServletContext;

Rispondi quotando

nella scheda GlassFish "AVVERTENZA: Skipping entry because it is not an absolute URI." e nel Run "C:\Biblioteca\nbproject\build-impl.xml:1050: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 1 minute 40 seconds)" riferendosi a "<nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>"
peccato
