This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I'm new to jsp and need help. I have this code working in php, but cant get it to work in jsp. Please help. This page produces this error... I'm running JRun4 with jre1.4.2. I've tried several dsn connections using macromedia's driver, oracle's thin driver and jdbc to odbc bridge and get the same results every time. Exception in main try block Error:java.sql.SQLException: [Macromedia][Oracle JDBC Driver]Object has been closed.
[ March 18, 2004: Message edited by: Bear Bibeault ]
Like I said, I'm new to this. I haven't grasped the concept of javabeans yet. What do you recommend I do? What am I looking at? 3 servlets, 3 javabeans, and a jsp page that calls all 3 javabeans and loops over the results? Can you point me to some docs on javabeans?
Here in this topic, let's keep to the JDBC problem you are having. With regards to web app architecture, please look through the JSP and Servlets forums for tips and best-practice patterns (hint: search for terms MVC and 'Model 2'). Any questions you may have on web app structure will be gladly handled there. Another hint: use the UBB code tags around your code fragments (I added them to your original post) to preserve the code formatting. Most people will not take the time to try and decipher unformatted code. Is there any chance you could post the entire stack trace displaying the exact line number where the problem is occurring?