Hi, there is a Java program edited and compiled using Netbeans 6.9.1. After running it's giving proper output in Netbeans output screen. But now I need to run this program in WAMP server. WAMP supports only scripting languages.
I can not run the Java program which I have already built. If I try to run in Tomcat I won't get war file to deploy. Should I use servlets? If so, how can I use it in Netbeans Java applications? Or should I convert (rewrite) Java program to PHP program, if so, how to convert? How do I run the Java program in WAMP or Tomcat?
If your program writes to standard output, then you should be able to use CGI in some way.
Here are some (admittedly old) links on the topic:
http://www.javaworld.com/javaworld/jw-01-1997/jw-01-cgiscripts.html
http://www.gossamer-threads.com/lists/apache/users/184459
They should at least point in the right direction.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With