Re: return result to php
- From: Lew <lew@xxxxxxxxxxxxx>
- Date: Thu, 31 Jan 2008 10:46:46 -0500
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).
But when I change it to java, nothing generates.
It's spelled "Java". When you change what to Java, exactly? How are you invoking this Java code? Surely you are not trying to use it as a CGI program?
Should I change System.out.println to some other functions?
RedGrittyBrick wrote:
No.
Yes!
System.out.println() in a JavaEE web app does not write to the client. In a Java CGI app it would, but that would be a very, very silly architecture.
--
Lew
.
- References:
- return result to php
- From: Rose
- Re: return result to php
- From: Rose
- Re: return result to php
- From: RedGrittyBrick
- return result to php
- Prev by Date: Re: calling request.getHEades("user-agent") twice ->NPE?!
- Next by Date: Re: The complete Java 1.5 syntax
- Previous by thread: Re: return result to php
- Next by thread: Re: return result to php
- Index(es):
Relevant Pages
|