Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Help needed badly!


Message #1 by "Al Higgs" <al.higgs@b...> on Tue, 23 Apr 2002 16:00:51
it will cache the contents and it will not recognize line breaks unless you
wrap the content with a <PRE> tag. If the applications is not performance
sensitive, then you could just read the file and print it out to the jsps
printwriter.

chanoch

-----Original Message-----
From: Al Higgs [mailto:al.higgs@b...]
Sent: 23 April 2002 17:01
To: Pro_JavaServer_Pages
Subject: [pro_jsp] Help needed badly!


Hi,

Im trying to read from the contents of a text file into a jsp page.

Ive done it so far using <%@include file="log.txt"%>, problem with this is 
it doesnt recognise line breaks in the text file, and it seems to cache 
the content of the file.  I am using a page caching script, but this 
doesnt seem to help.

Does anyone know how to read from a text file in any other method?

Regards

Al

  Return to Index