On Fri, 15 Apr 2011 15:34:37 +0530, RAHUL RAJ <[email protected]>
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 <[email protected]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]