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 Post@ Nikhil: Wouldn't it be better to check the date before posting. the question was asked almost 5 years ago.
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.