*
The moose likes JSP and the fly likes How to call java file containing method to call batch file from a JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to call java file containing method to call batch file from a JSP" Watch "How to call java file containing method to call batch file from a JSP" New topic
Author

How to call java file containing method to call batch file from a JSP

Baishali Dutta
Greenhorn

Joined: Aug 31, 2013
Posts: 1
I am calling batch file from a java file, which is running successfully, now I want to call the java file from JSP page. can anybody help me out ???

Thanks in advance.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60764
    
  65

It doesn't sound like something that should be done in a JSP. It should be done from Java code in a servlet controller.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 384

Why do you want to call it from a JSP ?


http://plainoldjavaobject.blogspot.in
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to call java file containing method to call batch file from a JSP
 
Similar Threads
calling batch files
How to Run a batch file???
thread pause after calling a batch file
runnning a java program via a batch file
Thread Related Problem