Need help. The code that I am getting this error, worked before and now the error String literal cannot be resolved is appearing for Connection, the catch statement, Statement and ResultSet. I do not understand the error.
[BPSouther: Added code tags] [ July 03, 2007: Message edited by: Ben Souther ]
It looks like the error is due to not having imported the java.sql.Connection class.
That said, Bear is right. JSPs should not be written as though they are ASPs with the logic, the persistence and the view all jumbled together in the same file. That's OK for the quick-hack Microsoft world, but the reason to use J2EE is that it provides a more scalable, more secure, and generally higher-performing platform in exchange for the added complexity that it demands.
If you're learning JUST to do JSPs as imitation ASPs, you're missing the forest while concentrating on the trees.
Customer surveys are for companies who didn't pay proper attention to begin with.