[jQuery] Jquery not working in jsp
I'm a jquery newbie and am trying to use it in a simple web application. This
application has a controller servlet that forwards the request to a
'login.jsp' page by default. In the login.jsp page, I used Jquery for the
hover effect on the submit button.
If I name my file 'login.html', it works absolutely fine. If I rename it to
'login.jsp', the javascript is not working. I see the following error in
Firebug console:
syntax error
[Break on this error] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"\n"
My login.jsp file: