validator for different browser support

Hi,
I wanted to know if any validator tool is available which we can use to validate our jsp code for W3C standards and to support for different browsers like IE, Mozilla , Chrome.
Thanks & Regards,
Karthik Kumar.