that's exactly what I did. lol
well.. my logic isn't logical :p
Type: Posts; User: kney
that's exactly what I did. lol
well.. my logic isn't logical :p
@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
...
lol don't even bother then..
there isn't any java code to read an html checkbox?
cuz that's what i need
if you read my post you'll see i want to see if an html 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'
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."
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...
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...
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...
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
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...
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!!"
"recommendation" is the name of my DB..
If I add what you say it still does the same
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...
lol thanks for the "help"
Hmmm never heared off that one, but I'll try
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
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...
This is all the info given to me..
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...