By using the JSTL "if" tag, you can code this without any Java scriptlet code at all.
Regardless, as a login page, a hacker could shred it in little or no time.
Don't write your own login system. Use the J2EE container security standard or at least a reputable third-party security package. If you're not a full-time trained security professional, it's very, very unlikely that you're going to produce a secure system, no matter how clever you think you are.
An IDE is no substitute for an Intelligent Developer.
posted 1 year ago
Thank you very much for the tips!
She still doesn't approve of my superhero lifestyle. Or this shameless plug:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database