File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Logging in Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Logging in Applet" Watch "Logging in Applet" New topic
Author

Logging in Applet

Amirr Rafique
Ranch Hand

Joined: Nov 14, 2005
Posts: 324
Hi All

Is there any way to generate a log file on client machine running my applet. The log file can be a txt. Anyone can please help

Thanks


"Know where to find the solution and how to use it - that's the secret of success."
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39543
    
  27
The various logging libraries (log4j, java.util.logging, Jakarta Commons Logging) can be used in applets just like in applications. If you want to store the log files on the local disk, the applet needs to be signed or you need to alter the local security policy. Both approaches are described here.
[ December 11, 2006: Message edited by: Ulf Dittmer ]

Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logging in Applet
 
Similar Threads
Servlet Applet Communication
unable to open store service tool in wcs 5.1
Can't deploy an applet using <applet> tag (open HTTP connection failed)
How to log in an applet
log4j with Applet