Type: Posts; User: copeg
This is not a jsp/java problem, but something that can be done using javascript. See Javscript Tutorial