Hello,
Our environment: z/OS 1.4, JDK 1.3.1, JZOS 1.2.3, Tomcat 5.0.28. (Yes, I know, pitifully out of date). Tomcat is being run using JZOS on our mainframe. We have an application that is being accessed from the user's web browser. The application written using JSP and has a Java program using POI to access an excel spreadsheet from the user's PC. Part of the processing in the Java program is validation of the data on the spreadsheet. We would like to open a txt file on the users PC using Notepad presenting them the errors.
My question: Is this possible? If so, any guidance would be appreciated.
Thanks in advance,
Dave Fowler
Tomcat (on mainframe) using JSP - creating txt file on PC?
I don't know of a way to directly open Notepad. I guess a custom activex control could do it.
You can send back a response with a mime attachment with a ".txt" extension and a file type of text/plain. Depending on the browser configuration, this would open the file in Notepad, or display in a plain text window.
Why not just display the errors on a page?
You can send back a response with a mime attachment with a ".txt" extension and a file type of text/plain. Depending on the browser configuration, this would open the file in Notepad, or display in a plain text window.
Why not just display the errors on a page?