Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Audit Trailing in JAva

Status
Not open for further replies.

koko45

Technical User
Jul 21, 2003
5
PG
How do I write codes in the Java to trap abny activities happening in a web browser. Example of information to be extracted would be who is accessing what menu, what sort of data manupilation is this person doing eg: Updating, deleting etc.

Can anyone also give me any useful links that I could use?
 
You cannot monitor user interaction with HTML or Javascript using Java.

--------------------------------------------------
Free Database Connection Pooling Software
 
Surely the audit trail needs to be recorded in the server side part of the application? The browser is just the means of invoking the actions, any view/add/update/delete activity must cause some acion to take place on the server, so you can write your audit trail there.
 
if users' activities at server side can be determined from URLs, then all you need is to parser the access log file to find the infomation that you interested.

If above doesn't achieve what you want, another way is to implement a servlet filter that all servlet request will be passing through. You can then implement your own business logic in there to log any information of incomming requests. Here is example of howto to implement a servlet filter.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top