aspose file tools*
The moose likes JSP and the fly likes Run a Java program form a JSP file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Run a Java program form a JSP file" Watch "Run a Java program form a JSP file" New topic
Author

Run a Java program form a JSP file

Revathi Reddy
Greenhorn

Joined: Oct 20, 2003
Posts: 3
Hello!
I need to run a Java Program from a JSP file. How to call the Java class and its methods?
Thanks in Advance,
Revathi
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Moving to the JSP forum.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
You want to execute the class on client or server side ?
On server side simply call the class where your main method is.
jyothsna kumari
Ranch Hand

Joined: Jul 21, 2003
Posts: 108
hai
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">
 
 
subject: Run a Java program form a JSP file