call java program from a servlet
Posted on 2003-11-14
I am trying to learn how to call a java program from a servlet.
I have a file in unix /tmp/names which contains all the name.
I have one html file which ask for a name as input and then call the servlet.
The servlet basically has the name variable. How can I call
another java class to check to see if this name is in the file /tmp/names?
thanks in advance.