Hi. I have made a page in servlet which contains form fields. Now I want to validate these form fields using javascript. How to embed javascript within servlet? Please tell me. Thanks in advance.