Prepare for your Next Interview
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 | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to read files using informatica | reetasharma108 | Data Warehousing | 3 | 09-03-2007 07:24 AM |
| How to Unzip the file when there is only Read Permission | Geek_Guest | Unix/Linux | 1 | 08-03-2007 01:12 PM |
| How to read a value from resultsetobjet | Geek_Guest | JSP | 2 | 06-15-2007 07:22 AM |
| The Read/Write Web | Lokesh M | HTML & CSS | 0 | 06-20-2006 11:58 PM |
| Software and Programs license - Must Read | admin | Downloads | 0 | 05-24-2006 06:09 PM |