This week's book giveaway is in the Open Source Projects forum.
We're giving away four copies of Eclipse Collections Categorically: Level up your programming game and have Donald Raab on-line!
See this thread for details.

jan frank

Greenhorn
+ Follow
since Jul 31, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by jan frank

Hi again,

I have this piece of login code for a webpage that words like a charm IF there's only one username in the database table that the website is connected to.

If there are 3 usernames in the database table AND the username & password of the website is incorrect, then the error message is replicated THREE times!!

"Login Failed.Please try Again Login Failed.Please try Again Login Failed.Please try Again."

If there are 4 usernames in the database table and the username and password on trying to log in from the website is incorrect, then the error message is replicated FOUR times...and so on.

Any ideas?

I spent some time at it and I DID get it in the format I wanted. Yeaaaah!
19 years ago
JSP
oops! the resultset should have been rs1 not rs.
I resolved the problem
Hi,

Any suggestions & solutions about this elusive error message? [Microsoft][ODBC Driver Manager] Invalid cursor state.
This is the bit of code that gives that error:



Thanks
Hi,

I'm building a page using jsp that pulls data from a database. The page should look a bit like this :

Name:ABC
Date: 12/12/2004
Description rogramming is fun!
Cost:$100.00


Name:XYZ
Date:1/8/2005
Description:Fruits are yummy!
Cost:$30.05

Name: QRS
Date:8/8/2005
Description:A great tv show!
Cost:$50.90

etc...etc...

Basically, the sql query loops through the db and displays the results like that with the same sub headings. I don't want to do it where the sub headings go horizontally across the page (won't have the same visual effect).

I was thinking part of the code may have something like this:


I'd like to keep things simple as can be. Beans and servlets confuse me.

Any suggestions please?
19 years ago
JSP