And finally, writing your own login/security system is a BAD IDEA. Most people write security systems that are no more secure than a cardboard box, based on the apps I've encountered over these many long years.
Use the J2EE built-in security framework. Leave the DIY login stuff for the code samples in books.
Being persecuted doesn't in any way prove your righteousness or your beliefs. Many people get persecuted because they are repugnant or annoying. Or just because they can be.
Plus, there's a HUGE glaring security leak that renders the authentication mechanism basically pointless.
It has to do with the way you build up the SQL statement. Google "SQL injection" for a bit, and you'll see what I mean.
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
Like Dadonas said, i think you are not in the right way, if you try to read Head First : Servlets and Jsps, this will teach you programming with better patterns and its easier than it looks.
posted 9 years ago
Guilherme Mendonca wrote:Like Dadonas said, i think you are not in the right way, if you try to read Head First : Servlets and Jsps, this will teach you programming with better patterns and its easier than it looks.
You are right friend .I had done JSP a long time back. I would like to learn Latest approach for doing JSP programming. Request you to please give me a useful link/material to start with.
Also above link is forbidden in my office due to shopping category.
Expecting positive reply.
I would also like to know the difference between jsp and jspx pages.
Bear Bibeault wrote:Modern JSP should use the JSTL (JSP Standard tag Library) and the EL (Expressions Language) and avoid scriptlets and scriptlet expressions.
jspx files are XML-formatted JSP documents that are used as intermediate formats or for JSPs auto-generated by code. It is not a suitable format for hand coding.
Being a novice to java I would like to begin JSP from scratch .I would like to know which technology should i prefer.
1) Developing web application using netbean.
2) Developing web applications using eclips.
3) Using any other technology.
Please suggest as i m so confused about my next step in building JSP.