Re: return result to php
- From: "Rose" <rose@xxxxxxxx>
- Date: Thu, 31 Jan 2008 19:29:25 +0800
"Rose" <rose@xxxxxxxx> wrote in message
news:fns8dr$***$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
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. Should I change
System.out.println to some other functions?
the error is like this:
SearchDatabase4.java
74: Class.forName("com.mysql.jdbc.Driver");
344: new SearchDatabase4(args[0], Double.parseDouble(args[1]),
java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at
java.net.URLClassLoader$1.run(URLClassLoader.java:200) at
java.security.AccessController.doPrivileged(Native Method) at
java.net.URLClassLoader.findClass(URLClassLoader.java:188) at
java.lang.ClassLoader.loadClass(ClassLoader.java:306) at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at
java.lang.ClassLoader.loadClass(ClassLoader.java:251) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at
java.lang.Class.forName0(Native Method) at
java.lang.Class.forName(Class.java:169) at
SearchDatabase4.(SearchDatabase4.java:74) at
SearchDatabase4.main(SearchDatabase4.java:344)
.
- Follow-Ups:
- Re: return result to php
- From: RedGrittyBrick
- Re: return result to php
- References:
- return result to php
- From: Rose
- return result to php
- Prev by Date: Re: calling request.getHEades("user-agent") twice ->NPE?!
- Next by Date: Re: return result to php
- Previous by thread: return result to php
- Next by thread: Re: return result to php
- Index(es):