April 16th, 2003, 09:35 AM
problems editing jsp file
we took over a site. tried to edit the jsp fields and the java went weird! un did all the edits sent the pages back and still doesn't work. we get this error:
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSP/usr/ngasi/contexts/arieslingerie/private/tomcat/work/t32/localhost_8080%2Farieslingerie/_0002fBasket_0002ejspBasket_jsp_15.java:14: Package bean not found in import.
/usr/ngasi/contexts/arieslingerie/private/tomcat/work/t32/localhost_8080%2Farieslingerie/_0002fBasket_0002ejspBasket_jsp_15.java:15: Package util not found in import.
here's the header
<%@ page import="java.sql.*"%>
<%@ page import="bean.*"%>
<%@ page import="util.*"%>
<form action="form.jsp" method="get" name="form1">
<jsp:useBean id="basketPrice" scope="session" class="java.util.Vector" />
<jsp:useBean id="basketCode" scope="session" class="java.util.Vector" />
any ideas what we can try. the web-inf classes folder is empty!
tomcat32 is running
April 21st, 2003, 08:33 AM
Hmm. The WEB-INF should not be empty. There should be a web.xml file in it and a classes and lib folder at least. Somehow that stuff got deleted. The packages it says it can't find should be in the classes directory or in a jar file in the lib folder. Hope you have a backup.
April 21st, 2003, 10:57 AM
it's suddenly started working again. sorry to be vague we have a web.xml and lib & classes folders (but these folders are empty).
We think the tomcat needed restarting and our ISP would only offer supprot at $100 an hour and no help files.
It was webappcabaret
Out of the 6 ISP I use I would give them a 0 out of 10 and strongly advise EVERYBDOY not use them unless you have lozts of moeny and like people being unhelpfully arrogant.
Thanks for taking the time NEMI.
April 21st, 2003, 11:00 AM
hey found the reason why it's working a´gain all the claases are back in the classes folder must hae been a backup by the server...