Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 16th, 2003, 09:35 AM
mattlovell mattlovell is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 3 mattlovell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question 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.
import bean.*;
^
/usr/ngasi/contexts/arieslingerie/private/tomcat/work/t32/localhost_8080%2Farieslingerie/_0002fBasket_0002ejspBasket_jsp_15.java:15: Package util not found in import.
import util.*;
^
2 errors

here's the header


<head>
<%@ page import="java.sql.*"%>
<%@ page import="bean.*"%>
<%@ page import="util.*"%>

</head>
<body bgcolor="#dc29bb">
<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
Thanks
Matt

Reply With Quote
  #2  
Old April 21st, 2003, 08:33 AM
Nemi Nemi is offline
Clueless llama
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2001
Location: Lincoln, NE. USA
Posts: 2,353 Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 12 h 35 m 19 sec
Reputation Power: 111
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.

Reply With Quote
  #3  
Old April 21st, 2003, 10:57 AM
mattlovell mattlovell is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 3 mattlovell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.
Matt

Reply With Quote
  #4  
Old April 21st, 2003, 11:00 AM
mattlovell mattlovell is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 3 mattlovell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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...
Matt

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > problems editing jsp file


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway