Results 1 to 2 of 2
- 04-28-2010, 12:50 PM #1
Member
- Join Date
- Apr 2010
- Posts
- 1
- Rep Power
- 0
Problem with calling php script from java file
I am working on windows and using tomcat 6. I have installed wamp server and I am using the PHP/Java bridge.
I have created a PHP script and now I want to call its functions from a java file. Can someone prvide me an example how to do this?
I got an online example at http://php-java-bridge.sourceforge.n...hpThreads.java
but I keep getting this error when I run it -
Java Code:Exception in thread "main" java.lang.NullPointerException: php script engine not found at PhpThreads.main(NewClass.java:48)
- 04-28-2010, 12:56 PM #2
Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
The Ubiquitous Newbie Tips
Similar Threads
-
calling a perl script in Java(using a OK Button)
By Yaya B in forum NetBeansReplies: 1Last Post: 01-07-2011, 07:20 AM -
calling a jar file from within java application
By robby14 in forum Advanced JavaReplies: 3Last Post: 03-10-2010, 08:11 PM -
I am not able to Run Converted JavaClass File From Java Script
By tosreejith in forum Advanced JavaReplies: 1Last Post: 04-12-2009, 12:20 PM -
Problem creating a Post script file
By krishnan.1000 in forum New To JavaReplies: 0Last Post: 02-14-2008, 07:15 PM -
Calling a Jython script from a Java Servlet returns incomplete output
By bthakur in forum Java ServletReplies: 0Last Post: 11-13-2007, 12:41 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks