struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andihartm...@freenet.de>
Subject Controlling external process with struts
Date Fri, 21 Apr 2006 18:10:34 GMT
Hello!


I've a commandline tool, which should be controlled through a http
interface. Controlled means:
- The process is started with the correct options (the user can "chose"
them with the html-sites) -> this is no problem.

- The output from the process should be continuously viewable by the user
during running of the process.

Can I realize this with struts? Which class / method could be used best? I
want to see the output of the process at the browser though the process
hasn't ended at all.

- Sometimes, the process asks for some input, which must be given by the
user through the webinterface. This should be realizable by parsing the
output for building an appropriate input-form, which can ask the user for
the data and bring them back to the waiting external process. This should
work by setting the class with the running process to the session e.g.


Has anybody some ideas, some hints how to do this? May be, there are known
problems or it doesn't work at all?



Kind regards,
Andreas Hartmann

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message