Results 1 to 2 of 2
  1. #1
    sonuses is offline Member
    Join Date
    Feb 2011
    Posts
    1
    Rep Power
    0

    Default Servlet to handle html form and execute mulitple external program

    HI,
    i have created a html form having a text field and submit button and i want to send a directory path,i want that my servlet should take this dir as argument and call a external perl script with the argument and execute the script and return a name of dir with the checkbox on same html page.
    can we call multiple external programs in a servlet?

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,953
    Rep Power
    19

    Default

    You're not calling multiple external prgrams are you?
    Unless I misread that, you're just calling a Perl script?

    Anyway, there's nothing to stop you launching multiple apps from the Servlet. There might be questions as to whether this is a good idea or not, but that's an architecture and design issue, not a straight technical one.

Similar Threads

  1. Execute external program from java
    By ankitmcgill in forum New To Java
    Replies: 1
    Last Post: 06-01-2009, 03:58 AM
  2. Execute external file/program
    By sirwiggles in forum New To Java
    Replies: 3
    Last Post: 04-21-2009, 11:35 PM
  3. how can i link html+servlet+xml to form servlet
    By balachandarr in forum Java Servlet
    Replies: 0
    Last Post: 04-15-2009, 04:06 PM
  4. Replies: 0
    Last Post: 04-04-2008, 02:40 PM
  5. Replies: 0
    Last Post: 10-04-2007, 09:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •