Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Read a file by Servlet within the JSP forums, part of the Web Development category; hai.. I have to read a file by Servlet.. then have to pass it for JSP.. then have to print the contents of file in text area by JSP.. How ...
|
|||||||
|
|||
|
Read a file by Servlet
hai..
I have to read a file by Servlet.. then have to pass it for JSP.. then have to print the contents of file in text area by JSP.. How to do these? help me. Question asked by visitor senthil |
| Sponsored Links |
|
|||
|
Re: Read a file by Servlet
In the servlet you have to write Java io logic like
Getting FileInputStream object and read the file using the methods in that class and store the total chars of file into a string. Then pass this string arg to jsp file. In jsp u can get the parameter value and print it using out object. Regards, Ch.suresh |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to read files using informatica | reetasharma108 | Data Warehousing | 3 | 09-03-2007 08:24 AM |
| How to Unzip the file when there is only Read Permission | Geek_Guest | Unix/Linux | 1 | 08-03-2007 02:12 PM |
| How to read a value from resultsetobjet | Geek_Guest | JSP | 2 | 06-15-2007 08:22 AM |
| The Read/Write Web | Lokesh M | HTML & CSS | 0 | 06-21-2006 12:58 AM |
| Software and Programs license - Must Read | admin | Downloads | 0 | 05-24-2006 07:09 PM |