Search:

Type: Posts; User: kney

Search: Search took 0.13 seconds.

  1. Replies
    9
    Views
    4,896

    Re: See if checkbox is checked

    that's exactly what I did. lol
    well.. my logic isn't logical :p
  2. Replies
    9
    Views
    4,896

    Re: See if checkbox is checked

    @KevinWorkman

    I'll explain it a bit further
    Like I have it now, my checkboxes are checked because of the values in the DB.
    If I deselect the second checkbox my database should change to


    ...
  3. Replies
    9
    Views
    4,896

    Re: See if checkbox is checked

    lol don't even bother then..
    there isn't any java code to read an html checkbox?
    cuz that's what i need
  4. Replies
    9
    Views
    4,896

    Re: See if checkbox is checked

    if you read my post you'll see i want to see if an html checkbox is checked
  5. Replies
    9
    Views
    4,896

    See if checkbox is checked

    The page below will display 2 checkboxes with the values for user with ID 1.

    Movies
    Series

    Now I have some values in my DB that make sure both of these boxes are checked.



    TABLE 'type'
  6. Replies
    5
    Views
    2,986

    Re: multiple resultsets

    So I changed the first post to what I have now and i get this

    "An Error Occurred:
    java.sql.SQLException: Invalid operation at current cursor position."
  7. Replies
    5
    Views
    2,986

    Re: multiple resultsets

    I come from PHP background, and there you can compare 2 items from different resultsets with eachother.
    So you are saying it's not possible here.

    With "not working" i mean i can't get it to...
  8. Replies
    5
    Views
    2,986

    multiple resultsets

    This code is probably totally wrong, but I'm in the learning process.
    Im trying to figure out how to use multiple resultsets in 1 jsp page.

    If I find the userID from Users table to match a userID...
  9. Replies
    12
    Views
    3,447

    Re: Correct connection to DB?

    Hmmm weird.
    When I step over the parts where the connection is being made it sends me to the exception part. And even though I have a print statement to print the exception, it doesn't do that
    and...
  10. Replies
    12
    Views
    3,447

    Re: Correct connection to DB?

    If I debug,
    variable "con" is empty
    variable "statement" says: statement => "statement" is not a known variable in the current context
    variable rs is empty
    dbusername & dbpassword is also empty
  11. Replies
    12
    Views
    3,447

    Re: Correct connection to DB?

    checkValidUser() checks the credentials
    but here is my login page



    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@taglib...
  12. Replies
    12
    Views
    3,447

    Re: Correct connection to DB?

    No, there are no exceptions.. It just shows my login page as it's supposed to, and when I enter the data from the only user i have in my db, it says "Incorrect Username or Password!!"
  13. Replies
    12
    Views
    3,447

    Re: Correct connection to DB?

    "recommendation" is the name of my DB..
    If I add what you say it still does the same
  14. Replies
    12
    Views
    3,447

    Correct connection to DB?

    Hi,

    I'm kind of new in Java and trying to get a DB connection through JSP pages.
    I'm using Derby as DB since MySQL won't install correctly.
    Below is my login_bean which I use to compare what a...
  15. Thread: Java Beginner

    by kney
    Replies
    10
    Views
    1,486

    Re: Java Beginner

    lol thanks for the "help"
  16. Thread: Java Beginner

    by kney
    Replies
    10
    Views
    1,486

    Re: Java Beginner

    Hmmm never heared off that one, but I'll try
  17. Thread: Java Beginner

    by kney
    Replies
    10
    Views
    1,486

    Re: Java Beginner

    OK I can do that, but it's so unclear which UML Diagram to use because there are so many and it doesn't seem right with the Use Case Diagram I made earlier
  18. Thread: Java Beginner

    by kney
    Replies
    10
    Views
    1,486

    Re: Java Beginner

    http://yuml.me/diagram/scruffy/usecase/%5BUser%5D-%28Set%20Preferences%29,%20%5BUser%5D-%28Ask%20For%20Recommendations%29%20,%20%28Ask%20For%20Recommendations%29%3C%28Give%20Feedback%29%20

    I drew...
  19. Thread: Java Beginner

    by kney
    Replies
    10
    Views
    1,486

    Re: Java Beginner

    This is all the info given to me..
  20. Thread: Java Beginner

    by kney
    Replies
    10
    Views
    1,486

    Java Beginner

    I'm new to Java and I want to try a little project to boost my knowledge a little bit.
    I need to build a small application to support an existing back-end system. The back-end system is a...
Results 1 to 20 of 20