[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 538
  • Last Modified:

How to exceute a batch file using JSP

Hi,
          I am a newbie to JSP. Could anyone help me how to execute batch file using JSP?
0
devmasters
Asked:
devmasters
  • 3
  • 2
1 Solution
 
CEHJCommented:
What kind of a batch file? What does it do?
0
 
devmastersAuthor Commented:
It will execute some db scripts. At least i need some command level executions.Is that possible to do?
0
 
CEHJCommented:
You'd probably be better off with a servlet. You could use the following, though i'm not sure you would have 100% control over threading/processes in the context of a web container.

http://technojeeves.com/joomla/index.php/free/52-runtimeexec
0
 
devmastersAuthor Commented:
That works....Thanks a lot
0
 
CEHJCommented:
:)
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now