|
-
January 14th, 2010, 12:06 PM
#1
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)
-
January 14th, 2010, 12:08 PM
#2
Re: Get data from Login form on webpage
-
January 14th, 2010, 02:29 PM
#3
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
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|