Guest_imported
New member
- Jan 1, 1970
- 0
Hello All:
I am using the following code in include the output of a servlet into a jsp page. The servlet reads in a random line from a text file and outputs it.
<jsp:include page="webapp/servlet/CSRandomQuote" flush="true" />
Everything after this line is deleted in the output. I even tried including this line in one file and then including that file in another file and it still killed off everything after the servlet output its data. Any idea why this would be happening?
FYI in case you are wondering whether there is some strange character in the text file the servlet reads from that is causing this, I think I have ruled this out. The servlet was free on the web and it included a demo text file. When I used the demo text file instead of my own, I still have the same issue.
Thanks in advance for any help anyone can give me with this.
Chris Stringer
Chief Technology Officer
FatEarth
I am using the following code in include the output of a servlet into a jsp page. The servlet reads in a random line from a text file and outputs it.
<jsp:include page="webapp/servlet/CSRandomQuote" flush="true" />
Everything after this line is deleted in the output. I even tried including this line in one file and then including that file in another file and it still killed off everything after the servlet output its data. Any idea why this would be happening?
FYI in case you are wondering whether there is some strange character in the text file the servlet reads from that is causing this, I think I have ruled this out. The servlet was free on the web and it included a demo text file. When I used the demo text file instead of my own, I still have the same issue.
Thanks in advance for any help anyone can give me with this.
Chris Stringer
Chief Technology Officer
FatEarth