I have a
JSP file, called testConnection.jsp which uses a ConnectionBean.java to connect to
JDBC database. Work is being done in UNIX platform.
The ConnectionBean.java is working fine when tested with a main method - it accesses and retrieves the data. Also, I am able to view a ordinary JSP page on the browser. I have made appropriate changes to the server.xml file in
tomcat installation.
I get an error saying that the package ta does not exist. Even if I remove the package name from the files, the error persists, now the error being class ConnectionBean symbol cannot be resolved.
Is the error is related to setting the CLASSPATH (UNIX platform)? I have copied my friend's CLASSPATH from his .cshrc (which he'd used successfully for his own code, to access the same database). That didn't solve the problem.
I'd appreciate any feedback at the earliest.
Thanks,
Saket