This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.