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.
[b]Question asked by visitor senthil[/b]
Printable View
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.
[b]Question asked by visitor senthil[/b]
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