Help me with decision. I have jsp page with password field:
<div>
<label for="p">Password:</label>
<input type="password" name="pass" id="p" />
</div>
I need (on client side) to encrypt to MD5, for example, and send to servlet. I don't want to use jsp scriptlets, because it is not best decision in JAVA. Maybe somebody know how to write js function?