Get data from Login form on webpage
Hi guys, I'm using this guide and creating a login page for my site. I am using a jdbc-odbc bridge and have changed the connection. What I can't figure out is how to get the data from the bean to the login class (the class that connects to the database.
Whenever I try to run the site, I get the error message
org.apache.jasper.JasperException: /jspbeanlogin/loginbean.jsp(9,57) Attribute value request.getParameter("userName") is quoted with " which must be escaped when used within the value
org.apache.jasper.compiler.DefaultErrorHandler.jsp Error(DefaultErrorHandler.java:40)
Re: Get data from Login form on webpage
Re: Get data from Login form on webpage
I think the error message means what it says - when using double-quotes inside a JSP scriptlet, you must escape them (because double-quotes indicate the end of the scriptlet).
By viewing the old we learn the new...
Chinese proverb