Joined: Mar 22, 2005
Note that sreekanths suggestion causes Notepad to be run on the server, not on the client, where the web page is displayed. Also, it may fail if the servlet container is run with a security manager, which do not typically allow Runtime.exec to be used.
Joined: Mar 12, 2007
What He said was correct, If you are running server (Tomcat or other) locally you can open in your own machine. If you try to open it from another machine it won't open there but it will open in your machine.