IT Community - Software Programming, Web Development and Technical Support

how to open and retrive text file(.txt)?

This is a discussion on how to open and retrive text file(.txt)? within the Java Server Pages (JSP) forums, part of the Web Development category; hello i'm a beginner programmer and very new about JSP.. i have a problem : let see i have a ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Java Server Pages (JSP)

Register FAQ Members List Calendar Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 06-26-2007, 10:49 PM
una_noche una_noche is offline
D-Web Trainee
 
Join Date: Jun 2007
Posts: 2
una_noche is on a distinguished road
Arrow how to open and retrive text file(.txt)?

hello i'm a beginner programmer and very new about JSP..
i have a problem : let see i have a process where a user want some data file(text file.txt) from somewhere for example from D:\smarrt\rd445566.txt. After user have that file, user can choose whether he want to save that file or display it as a text file. I have search meny time through web but can't find any suitable example or salution..
so..anyone in here can give me some idea or code example?
i really really need help here..
~i'm using a JSP...
~thanks so much...
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-17-2007, 03:27 AM
it.wily it.wily is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 89
it.wily is on a distinguished road
Default Re: how to open and retrive text file(.txt)?

Hi….

Just open a file using fileinputsteam. Then you can do the read/write it.

Otherwise, you can write one java bean and do this operation and call that bean into jsp.
If you have any problems give your specific code. I will correct it.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/java-server-pages-jsp/1503-how-open-retrive-text-file-txt.html
Posted By For Type Date
Discussweb IT Community - Web Development, Software Programming, SEO, Quality Assurance, 3D, Web Hosting and more... This thread Refback 07-12-2007 02:52 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open a file with its default program Manikandan.S ASP and ASP.NET Programming 2 03-10-2008 10:04 PM
convert Excel file to CSV(or text) file using java mobilegeek Java Programming 2 09-06-2007 06:42 AM
How do you open a file for writing? vadivelanvaidyanathan Perl 1 07-17-2007 03:25 AM
How to Open a HTML file inside Flash Balasubramanian.S Flash Actionscript Programming 8 03-28-2007 09:54 AM
How to open a word and Pdf document in the rich text box using C#.net Balasubramanian.S C# Programming 0 03-20-2007 12:40 AM


All times are GMT -7. The time now is 10:35 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0