JSTL runs on server side, so you cannot validate nor process any data in client using JSTL nor any other JSP tag. Note that scriptlets also run on server side, so it is not an option either.
If you want/need to perform any validation, action, effect, etc. on client side, use Javascript. Either if you need to validate the data on server side, you can use ajax for better user experience within your web application.