I want to use hyper link instead of submit button in my form to submit it. And this is what I did:
it gives me: 10:44:44.376 WARN!! Exception for /euwi/pages/login.jsp org.apache.jasper.JasperException: /pages/login.jsp(150,49) Attribute onClick invalid according to the specified TLD at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:186)
However, if I using <html:submit/> instead, everything works fine. Anything wrong I did?
Highly appreciated if any suggestion or comments from you. Thanks a lot in advance
Thank you very much Nimchi for immediately reply. It's exactly the problem. I'm so stupid to use capital 'C'. Thanks a lot again. However, by using hyperlink instead of html:submit, now I have the problem to populate form fields.
It seems not populate the form fields at all, in myAction class I checked actionForm, all fields are null. However, if using <html:submit /> instead, all form fields are sent correctly without any problem. can you Nimchi, or anyone help me on that?