• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ingoba Ningthoujam
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21322
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic