please tell me where i m doing mistake when i compile this code in notepade it work fine but its not working in netbeans 6.9.1 , i have searched alot form internet but all is useless ,now posting my problem here........thanks in advance
I suggest to add an @Override annotation to the processRequest method and then to recompile the code.
Also note that the JDBC/ODBC bridge driver that you're using is not thread-safe, and thus a bad choice for a web app environment.
In the future, please UseCodeTags when posting code of any length; I have added these for you here. The code is unnecessarily hard to read without them, making it less likely that people will bother to do so.
Update: Also make sure that code is properly indented; unindented code is hard to read.
Sorry , i did not get your point , kindly can you explain your point in ease way or if possible write the syntax ,it will be easy for me because i m beginner...... i will be very obliged to you
Joined: Mar 22, 2005
http://download.oracle.com/javase/tutorial/java/javaOO/annotations.html will walk you through basic knowledge about annotations; "@Override" is the important part. Once you have that in place and recompile, you will encounter a problem that should prompt some deeper thinking about why you have this problem. I promise, it'll be worthwhile for you to take this extra step.
As Ulf suggested, if you check out his link and include the annotation, you will get a compile error indicating you are required to override a superclass method. Bottom line - you are calling a method that you did not implement.
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley