CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2010
    Posts
    2

    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)

  2. #2
    Join Date
    Jan 2010
    Posts
    2

    Re: Get data from Login form on webpage


  3. #3
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163

    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
  •  





Click Here to Expand Forum to Full Width

Featured