I am Using window.open method to open a file.The file has no extension
and the content of the file is pure text.
If i try to open that form browser's file/open the
content of the file is shown with the proper formatting.
But when i am trying to open that file in side my application
using Apache Tomcat the formatting is lost.i also tried the document.open()
method to set mime type but it doesn't seem to be working.
The files are created by an background process so i can't give an extension
Is there any way to get this working?
(i am using WINDOWS 2000 and IE6)
Yours
T.Gopalakrishnan
Comments
in stead of
?
In other words: On a unix machine when typing a linebreak(enter) a a carrier return and linebreak mark are inserted in your text
on a windows machine you only place a linebreak
This can result in different output formatting.
: I am Using window.open method to open a file.The file has no extension
: and the content of the file is pure text.
: If i try to open that form browser's file/open the
: content of the file is shown with the proper formatting.
: But when i am trying to open that file in side my application
: using Apache Tomcat the formatting is lost.i also tried the document.open()
: method to set mime type but it doesn't seem to be working.
: The files are created by an background process so i can't give an extension
: Is there any way to get this working?
: (i am using WINDOWS 2000 and IE6)
: Yours
: T.Gopalakrishnan
:
;-)
-mac-
mailto:[email protected]
the Netherlands...
in stead of
?
: In other words: On a unix machine when typing a linebreak(enter) a a carrier return and linebreak mark are inserted in your text
on a windows machine you only place a linebreak
This can result in different output formatting.
POSSIBLE SOLUTION:
Try uploading it binary instead of ASCII or the other way around
:
: : I am Using window.open method to open a file.The file has no extension
: : and the content of the file is pure text.
: : If i try to open that form browser's file/open the
: : content of the file is shown with the proper formatting.
: : But when i am trying to open that file in side my application
: : using Apache Tomcat the formatting is lost.i also tried the document.open()
: : method to set mime type but it doesn't seem to be working.
: : The files are created by an background process so i can't give an extension
: : Is there any way to get this working?
: : (i am using WINDOWS 2000 and IE6)
: : Yours
: : T.Gopalakrishnan
: :
:
: ;-)
: -mac-
: mailto:[email protected]
: the Netherlands...
:
:
: