Re: return result to php
- From: Gordon Beaton <n.o.t@xxxxxxxxx>
- Date: 31 Jan 2008 11:44:59 GMT
On Thu, 31 Jan 2008 18:37:47 +0800, Rose wrote:
When I call
system('/mnt/hd9/a.out');
the prog sucessfully print a message to web browser. (a.out is an
object file compiled from a C file).
Some context would help here...
Where are you making this call?
But when I change it to java, nothing generates. Should I change
System.out.println to some other functions?
Please define "change it to java".
Did you replace a.out with a Java program? Or did you replace system()
with Runtime.getRuntime().exec("/mnt/hd9/a.out")?
In your other message you posted a stack dump, but here you only said
"nothing generates" and failed to mention JDBC or mysql or even
anything really. The error message seems to indicate classpath
problems, for whatever that's worth.
The help you get is only as good as the information you provide.
/gordon
--
.
- References:
- return result to php
- From: Rose
- return result to php
- Prev by Date: Re: Problems with Taglibs
- Next by Date: JTree node partially visible
- Previous by thread: Re: return result to php
- Next by thread: JTree node partially visible
- Index(es):