A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Run a Java program form a JSP file
Joined: Oct 20, 2003
Oct 20, 2003 22:22:00
I need to run a
Program from a
file. How to call the Java class and its methods?
Thanks in Advance,
Joined: May 17, 2001
Oct 21, 2003 05:45:00
Moving to the JSP forum.
Joined: Nov 22, 2008
Oct 21, 2003 06:25:00
You want to execute the class on client or server side ?
On server side simply call the class where your main method is.
Joined: Jul 21, 2003
Oct 21, 2003 06:27:00
to run the java class, submit the the jsp page and mention the class which u want to run in form tag.
<form name=frm1 method="post" action="class">
It is sorta covered in the
JavaRanch Style Guide
subject: Run a Java program form a JSP file
i have to call c# file/program from java program how to do it ?
java program that can run a .class file in msdos, is this possible?
unable to compile class for JSP
Executing JSP programmatically
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015