Results 1 to 2 of 2
  1. #1
    rosebabz is offline Member
    Join Date
    Jan 2010
    Posts
    1
    Rep Power
    0

    Default 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)
    Last edited by rosebabz; 01-14-2010 at 05:42 PM.

  2. #2
    FON
    FON is offline Senior Member
    Join Date
    Dec 2009
    Location
    Belgrade, Serbia
    Posts
    364
    Rep Power
    5

    Default

    Your link won't open
    but escaped here means using special character which will tell compiler what to do.

    You probably need to take care about quotes which are inside quotes,
    so you need to escape inside quotes using :
    \"

Similar Threads

  1. SWT login form
    By Sureshgurram in forum SWT / JFace
    Replies: 4
    Last Post: 09-07-2009, 03:14 PM
  2. Login form issue
    By mfayaz in forum New To Java
    Replies: 5
    Last Post: 03-27-2009, 08:35 PM
  3. enctype=multipart/form-data with form data in struts
    By vk_satheesh in forum New To Java
    Replies: 0
    Last Post: 09-19-2008, 12:48 PM
  4. help needed regarding LOGIN form
    By innocent.crook in forum New To Java
    Replies: 2
    Last Post: 07-08-2008, 04:03 PM
  5. can i make a login form?
    By mitsakos in forum New To Java
    Replies: 2
    Last Post: 12-19-2007, 10:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •