This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes record data in the database - mysql - jsp jsf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "record data in the database - mysql - jsp jsf" Watch "record data in the database - mysql - jsp jsf" New topic
Author

record data in the database - mysql - jsp jsf

fabio alonso
Ranch Hand

Joined: May 15, 2010
Posts: 48
Hi,

I am developing an area on the website where the customer can view certain files or copy to your local machine.

So far so done, the problem is that I would write to the log of the guy when he copied something to machine it (the login system is already done well)

The bank only when it must write something to copy his machine.

Do you have any idea about that?


thanks
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38062
    
  22
How are you writing to log files and to the database? How are you detecting when a file is downloaded or copied?
fabio alonso
Ranch Hand

Joined: May 15, 2010
Posts: 48
Hi, thanks for help

So,

When someone select a file and click to copy,

I want to put recorded in the database (mysql) User Code you copied this file (I already have a table of users who can access this download area)
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38062
    
  22
That still isn't clear, but for database access, I suggest you start here in the Java™ tutorials. I shall move this thread, because we usually discuss databases in a different forum.
fabio alonso
Ranch Hand

Joined: May 15, 2010
Posts: 48
So was the moderator who moved this thread here.
 
 
subject: record data in the database - mysql - jsp jsf
 
Similar Threads
Assembly and Java
File copy: Java Program or OS Command which is faster
Pencil and paper
Accessing remote object
Download Extension