Hi everyone, i am trying to validate password entered into my system from a jsp page, i want to create a method that would check that a password entered is not less than six characters and not more than 15. Does anyone have an idea on how i could go about this. Cheers.:sad:
topaz 0 Newbie Poster
Recommended Answers
Jump to PostString pass = "crap";
If ( pass.length() > 6 && pass.length() < 15 )
{
}
Jump to Postand to check the technology?
considering the fact that this is a 'Java' forum, giving a solution in javascript might not be what the OP was looking for.now ... next to mine and verruckt24's remark, there was another issue with his post, anyone found that one yet? :)
…
All 6 Replies
server_crash 64 Postaholic
nikhilmavadiya 0 Newbie Poster
verruckt24 438 Posting Shark
stultuske 1,116 Posting Maven Featured Poster
abdul habeeb -3 Newbie Poster
peter_budo commented: Pleae learn difference between Java and JavaScript, also please read previous replies before dropping your code without any comment -3
stultuske 1,116 Posting Maven Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.