• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>
reply
    Bookmark Topic Watch Topic
  • New Topic