S3.java:15: cannot find symbol
[javac] symbol: class S1
[javac] public class S3 extends S1 {
[javac] ^
S3.java:64: cannot find symbol
[javac] symbol : variable db
[javac] location: class S2.S3
[javac] db = Data.getConnection();
[javac] ^
S3.java:64: cannot find symbol
[javac] symbol : variable Data
[javac] location: class S2.S3
[javac] db = Data.getConnection();
^
S3.java:65: cannot find symbol
[javac] symbol : variable db
[javac] location: class S2.S3
[javac] Statement stmt6 = db.createStatement();
[javac] ^
[javac] 4 errors
SCJP, SCWCD
james smitho wrote:And then I put all my classes in WEB-INF/src/MyPackage ?
james smitho wrote:Well, what about tomcat/webapps/myfolder - would this be ok, at least better?
james smitho wrote:Any suggestions, where I might put these java-files?
james smitho wrote:But that's surely because of that db, right? How do I correct that last error?
To err is human,
To forgive is not company policy
james smitho wrote:
But that's surely because of that db, right? How do I correct that last error? Please.
To err is human,
To forgive is not company policy
PrasannaKumar Sathiyanantham wrote:it is not good design practice to have more than one servlet in a project....
To err is human,
To forgive is not company policy