how can i run bat file in jsp

Discussions

Web tier: servlets, JSP, Web frameworks: how can i run bat file in jsp

  1. how can i run bat file in jsp (4 messages)

    dear friends.,
    i want to run in bat file with in the jsp code.it's possible.any one knows mail me muthu at zeeboom dot com

    cheers
    Muthu.v

    Threaded Messages (4)

  2. how can i run bat file in jsp[ Go to top ]

    well, you can run any executable using the Runtime class of Java. there was an article on www.javaworld.com about using Java to run executables, and I'm sure you can adapt the code for your needs... I don't know the link offhand but I know you'll be using the Process and Runtime classes. Try searching for those.

    Hope this helps!
  3. how can i run bat file in jsp[ Go to top ]

    thanks for reply
  4. how can i run bat file in jsp[ Go to top ]

    Runtime.getRuntime().exec(command);
  5. how can i run bat file in jsp[ Go to top ]

    thanks for reply