I'm implementing a JSP which expects a few parameters which have to be validated before running the jsp.