wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Partial loading of CSV file generated by Log4J when it is opened from HTML page using hyperlink 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 » Products » Other Open Source Projects
Bookmark "Partial loading of CSV file generated by Log4J when it is opened from HTML page using hyperlink" Watch "Partial loading of CSV file generated by Log4J when it is opened from HTML page using hyperlink" New topic
Author

Partial loading of CSV file generated by Log4J when it is opened from HTML page using hyperlink

Ingoba Ningthoujam
Ranch Hand

Joined: Dec 04, 2006
Posts: 90
I am generating a log in CSV format. This file is opened from HTML page using anchor/hyperlink tag. I faced the following issues:
1. Sometimes it failed to load last one or two rows.
2. Sometimes it failed to display recently log record but when the file is opened directly (not from page) the row is already exits.

Is somebody faced this issue? Is it a issue of LOG4J or HTML? I am totally no idea. Please anybody help me.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Ingoba Ningthoujam wrote:Is it a issue of LOG4J or HTML?


Chances are excellent that it is an issue of something you are doing. Anyway, that should be your assumption until proven wrong.

However since we know nothing about how you are accessing this file or anything else relevant to your question, it is rather hard to say anything helpful. In fact the only helpful thing at this point would be for you to TellTheDetails (<= follow that link).
Ingoba Ningthoujam
Ranch Hand

Joined: Dec 04, 2006
Posts: 90
Thanks for the reply.

The CSV file is written by the LOG4J using some pattern. It is a constantly updating file.

The file is accessed in the HTML/JSP page by using the anchor tag.

<html>
<body>
<a href='/fileLocation/myFile.csv'>My file</a>
</body>
</html>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Partial loading of CSV file generated by Log4J when it is opened from HTML page using hyperlink
 
Similar Threads
Problem in opening PDF or FDF in Firefox?
Issue with large request data using AJAX
Partial loading of CSV file
Header issue for DailyRollingFileAppender when rolled over
Select query with order by is not working on CSV file