• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

record data in the database - mysql - jsp jsf

 
fabio alonso
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 49472
64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 49472
64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So was the moderator who moved this thread here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic