Geoffrey Lo

Greenhorn
+ Follow
since Apr 16, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Geoffrey Lo

Hi All,
I was wondering if it was possible to write a quick java program to launch an applicaton and simulate key strokes (e.g. moving right/left arrows , hitting enter, etc. ) on that app to select features such as screen resolution and etc.
Any insight would be appreciated.
Thanks,
Geoff.
20 years ago
Hello,
I also just started using linux. The web sites in the repies are very good, especially for newbies like me.
Also, this is a good book.
Red Hat Linux 9 (Unleashed)
by Bill Ball, Hoyt Duff
20 years ago
I was going to use either 1 or 2. Not both.
I was just wondering what people would recommend or if there was another approach.
I saw your other message. Sorry. I will post future questions to Tomcat forum.
Thanks,
20 years ago
Hi all,
I hope this is the right forum. I'm adding a login feature to an existing web application where a user logs in X many times with the wrong password, that person gets locked out.
I have a couple of ideas but wanted to double check if there already exists a defined process that every web app follows.
1)
I was thinking of keeping track of the user login attempts in the database and each time the user tries to login with incorrect password. After so many tries, it locks the user out.
2)
I was also thinking of keeping track of the number login in attempts in a text file. The login jsp/servlet file can query this file to see how many times this user as attempted to login.
So, What do you guys think?
Can anyone recommend some resources for me to read?
Thanks,
--------------------
Geoffrey Lo
20 years ago
Hi all,
I hope this is the right forum. I'm adding a login feature to an existing web application where a user logs in X many times with the wrong password, that person gets locked out.
I have a couple of ideas but wanted to double check if there already exists a defined process that every web app follows.
1)
I was thinking of keeping track of the user login attempts in the database and each time the user tries to login with incorrect password. After so many tries, it locks the user out.
2)
I was also thinking of keeping track of the number login in attempts in a text file. The login jsp/servlet file can query this file to see how many times this user as attempted to login.
So, What do you guys think?
Can anyone recommend some resources for me to read?
Thanks,
20 years ago
Sure. Already done.
20 years ago
Hi all,
I am looking for some smaple code and info on working with USB ports.
Not sure if this is the right forum. If not, can someone please redirect me to the proper page.
Thanks,
Geoff.
20 years ago
Hi All,
I was just wondering if there was an api that i could use to display a directory structure.
e.g.
=========================
|| root |
|| -subdir1 |
|| --subdir1_1 |
|| --subdir1_2 |
|| -subdir2 |
|| --subdir2_1 |
|| |
|| |
===========================

Thanks.
20 years ago
Hello,

Originally posted by nikita sri:
That means, findAttribute() method is returning an empty value even when the street property is not set?


I think the street property might be set to its default values.
<jsp:useBean id="address" class="AddressBean" scope="session"/>
The above line of code looks for the bean in the session scope. If not found, it will create a new instance and put it in the session.
So if we are creating a new instance then instance variables are set to its default values.
Hi All,
I'm having trouble setting JDBC with MS SQL Server 2000. I have downloaded the service pack for SQL Server that came with JDBC drivers.
I ran the setup.exe file but i think all it did was set up a folder with these sub-folders in it.
<mySQLSERVERJDBC>
- books
- Help
- lib
- SQLSERVER JTA
msfixes
readme

I have no trouble with MS Access. Would it be the same procedure for setting MS Access?
Any insight would be helpful
Thanks,
Geoff
Hi all,
Is there a typing mistake on Chapter 16 of SCWCD Study Kit (by Deshmukh, Malavia) on page 300. Its about TLD files.
It says:
"First, a tag library descriptor file, like all XML files, starts with the line <?xml version="1.0" encoding="ISO-8859-1">, which specifies the version of XML and the character set that the file is using. "

Shouldn't there be an extra ? at the end before >
like this:
<?xml version="1.0" encoding="ISO-8859-1" ?>
I get xml parsing error when setting up my tld file.
thx,
geoff.