Run a jar file in JSP

Runtime.getRuntime().exec("java -jar /path_to_jar/myfile.jar");
This should work on a windows or unix box (the above was tested on a unix box running Tomcat).
Published May 19, 2004 · Updated September 17, 2005
Categorized as Java
Short URL: http://www.shoppingpr.com/s/159

Conversation

2 Comments · RSS feed
Shilpa said on June 30, 2006

where is the source code for Run a jar file in JSP examle

Jonathan Snook said on June 30, 2006

I suspect the rendering in your browser was blocking the code. I've updated the stylesheet so hopefully the code will be visible. Sorry about that.

Sorry, comments are closed for this post. If you have any further questions or comments, feel free to send them to me directly.
99热这里只有精品国产,免费99精品国产自在现线,99国产这里有精品视频