R
Rahul
Hello All
I want to open an MS word file in jsp page, and want to display the
content on web page as html. The code I'm using is as follows :
<%
String fileName = "c:\\rahul\\test\\readingfile\\abc.doc";
BufferedReader is = new BufferedReader(new FileReader(fileName));
String fileData = "";
while((fileData = is.readLine()) != null)
{
out.println(fileData);
}
%>
But, the data is not printing in proper format.
Please provide the solution.
Rhanking you
Rahul
I want to open an MS word file in jsp page, and want to display the
content on web page as html. The code I'm using is as follows :
<%
String fileName = "c:\\rahul\\test\\readingfile\\abc.doc";
BufferedReader is = new BufferedReader(new FileReader(fileName));
String fileData = "";
while((fileData = is.readLine()) != null)
{
out.println(fileData);
}
%>
But, the data is not printing in proper format.
Please provide the solution.
Rhanking you
Rahul