Hi all,
Long time lurker, first time poster. I am working on a
Java web application using
JSP and
Servlets. In the class that extends HttpServlet form data is read using doPost and those values are written to a file called userinput.dat. Then I have the following block execute another class file located in the same physical directory as the servlet class file.
neuralModified is a compiled class file that runs some heavy business logic.
the servlet creates the userinput.dat file without issue and does not throw any errors when run. however it never executes "java neuralModified." i know this because neuralModified should write its own file with completed results but does not. (NOTE: I did check to make sure the file was not created in another directly.)
using the same try/catch block in a class that does not extend HttpServlet the code works perfectly. My guess is that the Servlet thinks neuralModified is in another location but how can I know this if it does not throw any error?