Calling program that uses Java Native method from JSP
Posted on 2003-03-05
I have created a simple program that uses Java Native Method to run C program. After the compilation I end up with lots of files such .class, .c, .obj, .h and .dll.
I can run the program from command line like c:\java myprogram.
However, I want to use JSP to get the results. My question is: Do I need all the files generated? Where do I put the files on the Java app server? Or do I just place .dll file in the same directory as JSP on the application server and instantiate the class in JSP?