943,937 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 483
  • JSP RSS
Oct 29th, 2009
0

(newline) problem with in text file

Expand Post »
Hi experts, I am having very small error with my attachment file.
the thing is , if I let my servlet send e-mail fwith attachment file exists on my computer and that file I edit by myself , there is no error with my file , so if i download it from my e-mail and open it again i will find it as I sent it. however , if that file is created by program and let my mail servlet to send an e-mail with that file as an ttachment file , then if i download it from my mail , i will not get it as it is edited by the program
let' say the program edits the file like this:
hello how are you guys
let's see if the file works or not
this is as a test only
thank you very much

I will get this after download:
hello how are you guys? this is as a test only ?thank you very much
actually this character( ? )is not what I saw , just to let you understand me , because I couldn't copy paste the real character, and if I do so it will give me here as new line
do you know what is the solution , please help me guys,
last thing if I would create (doc or pdf) file how can I do that instead of text file please help me
goood luck
thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
alsoumhi is offline Offline
66 posts
since Aug 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: Login Validation
Next Thread in JSP Forum Timeline: JSP - Ping a Port





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC