Skip to main content

How to create files at client machine in java web application

1 reply [Last post]
sreenathgvl
Offline
Joined: 2012-09-05
Points: 0

Hi,

Is there any way like creating files, running batch files in the client machine where as java web application is deployed in some other server.

Please help out.

Thanks
Sreenath

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
superinventor
Offline
Joined: 2012-08-20
Points: 0

You have the server and the client, and the web app is on the server.
When the client opens the page, the app is started.
This is what happens when a Web browser connects to a Web page that has a Java applet on it.
The applet is actually running on the client, not the server.
Because of this, you can use the standard file IO to create the files, and the ProcessBuilder class can help run the external files.