The code I gave is just a sample code, it might change afterwards..but before that, I need to resolve this error, sorry for your inconvenience...
On 4/15/11, RAHUL RAJ <omrahulraj...@gmail.com> wrote: > I know my code is not perfect. > But I just want to resolve this error now. Can u say how to solve > this? pls answer to the question.....have u read my message > completely? > > On 4/15/11, Mikolaj Rydzewski <m...@ceti.pl> wrote: >> >> On Fri, 15 Apr 2011 15:34:37 +0530, RAHUL RAJ <omrahulraj...@gmail.com> >> wrote: >> >>> I am working on building a jsp website with MS Access as >>> database. >> >> I usually do not express my opinions about others code, but your is >> really the worst code sample I have ever seen... >> I know that everyone has its time to begin. But please use some good >> book to start with. >> >> 1. use newer tomcat >> 2. do not mix code and html >> 3. instantiate jdbc driver once >> 4. close jdbc connections (within finally block) after use >> 5. use where sql clause >> 6. use better database >> 7. perform username&password check only after form submission >> 8. use any framework/library to wrap jdbc calls >> 9. .... >> >> -- >> Mikolaj Rydzewski <m...@ceti.pl> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org