how to get the data of a file without corrupting

hi all,
in the below code is used to open a file with its corresponding application.the file with application is opening but the data is corrupted. pls help to open the file without data corruption.
advance thanks

As I have told you already (maybe you still haven't gotten it after all), you are not "opening" anything with this code. You are simply telling the browser what it is to display (you do this by setting the content-type and content disposition) and then feeding the data through.

The browser is deciding what to do with it (i.e. how to display it). Java and your JSP has no control over this. From this point on it all determined, and controlled, by the browser, on the client. The server and the JSP has nothing more to do with it.

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...