You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Victor L. <vic...@ya...> - 2005-11-22 17:26:33
|
After having great trouble using java_require, I decided to look at the log very detailly, and I found the following: Nov 22 08:32:23 JavaBridge INFO : trying to load class: org.apache.nutch.searcher.NutchBean from: [file:/var/www/html/nutch/lib/lucene-1.9-rc1-dev.jar, file:/var/www.html/nutch/nutch-0.7.1.jar] You will notice that the second path say "/var/www.html/...." not "/var/www/html/...". I highly suspect that this is not only a bug in the log system, it's a bug in the actual loading class mechanism because when I test it by loading nutch-0.7.1.jar first, it seems that it can find the classes that are in nutch-0.7.1.jar but not the rest of classes that are in other jar file. I know that I should put the jar file in /usr/share/java, but it's not the point, and I need to temporary put the jar file in webserver directory for now because I am running webserver on it to test something else. Please fix it. --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. |
From: Victor L. <vic...@ya...> - 2005-11-22 06:46:21
|
Hi, I have been trying to figure this out for couple days, it's driving me mad and I am losing faith on this php-java-bridge. I have php as frontend and java in backend. I am calling java functions inside my php file, not the other way around, so no servlet. I am using 2.0.8. I have the jar file in /usr/share/java. I include this file using java_require. php-java-bridge.log keeps saying classnotfoundexception. Once I remove the java_require, the exception disappears but there are nullpointerexception and invocationtargetexcept which are probably caused by something else. So does it mean that I don't need java_require if the jar files are already in /usr/share/java? According to the documentations, I should java_require the jar files. Is there a bug in java_require? What is the right procedure for including a jar file? Must I put the jar file in /usr/share/java? or can I put it somewhere else and then use java_require? I tried that and it definitately didn't work. Must I put the jar file in current directory? Please list the right instruction of where to put the jar file and when/how to use java_require. I have already wasted couple days googling around and experimenting! --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. |
From: Victor L. <vic...@ya...> - 2005-11-21 18:27:24
|
According to http://cvs.sourceforge.net/viewcvs.py/php-java-bridge/php-java-bridge/README?view=markup , it said that if I choose option3: OPTION 3: You can start the bridge as a sub-process of apache. Disable java.socketname, java.servlet and java.hosts. For example: extension = java.so [java] java.log_level="3" then I don't need to set java.socketname. I followed it, but Fedora core 4 complains that java.socketname is not set in php.ini during bootup. How do I fix that? Many thanks. java.log_file="/var/log/php-java-bridge.log" --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. |
From: Christopher M. <chr...@in...> - 2005-11-21 15:20:59
|
I can't seem to get anything out of HelloWorld2.class and HelloWorld.php. Is this right ? engine.eval(new URLReader(new URL("http://217.XX.XX.XX:80/test/demo/HelloWorld.php"))); The class is supposed to access Apache, right ? Thanks, Chris |
From: Christopher M. <chr...@in...> - 2005-11-20 02:07:56
|
Hi, I have an extensive framework I'd like to migrate from PHP to JAVA (at least on the back-end), but don't want to start at the very bottom. May I attack by bits and pieces using php_closure and java_enclosure ? If so, where may I download the javax.scripts package for Java 5 (or is it feasible to use Java 6 beta with Tomcat) ? Many thanks, Chris Mann |
From: Victor L. <vic...@ya...> - 2005-11-20 01:19:47
|
The following are what I got from php-java-bridge.log. I already put the necessary in /usr/share/java. I also put the necessary jar file in Java_require. But somehow I still got these. The plugins directory not found is not a problem because nutch has the same thing when it is called as a standalone program. Thanks. 051119 165944 parsing jar:file:/usr/share/java/nutch-0.7.1.jar!/nutch-default.xml 051119 165945 parsing jar:file:/usr/share/java/nutch-0.7.1.jar!/nutch-site.xml 051119 165945 Plugins: directory not found: plugins java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/usr/lib/libgcj.so.6.0.0) at php.java.bridge.JavaBridge.Invoke(java.lang.Object, java.lang.String, java.lang.Object[], php.java.bridge.Response) (Unknown Source) at php.java.bridge.Request.handleRequest() (Unknown Source) at php.java.bridge.Request.handleRequests() (Unknown Source) at php.java.bridge.JavaBridge.run() (Unknown Source) at php.java.bridge.ThreadPool$Delegate.run() (Unknown Source) at .GC_start_routine (/usr/lib/libgcj.so.6.0.0) at .__clone (/lib/libc-2.3.5.so) Caused by: java.lang.ExceptionInInitializerError at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0) at org.apache.nutch.analysis.NutchAnalysis.compound(java.lang.String) (Unknown Source) at org.apache.nutch.analysis.NutchAnalysis.parse() (Unknown Source) at org.apache.nutch.analysis.NutchAnalysis.parseQuery(java.lang.String) (Unknown Source) at org.apache.nutch.searcher.Query.parse(java.lang.String) (Unknown Source) at java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (/usr/lib/libgcj.so.6.0.0) ...7 more Caused by: java.lang.RuntimeException: org.apache.nutch.searcher.QueryFilter not found. at org.apache.nutch.searcher.QueryFilters.<clinit>() (Unknown Source) at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0) ...12 more Victor Lee <vic...@ya...> wrote: Hi, I already spent a long time finding out why java_require can't find my jar file in classpath. I set Selinux to permissive to make sure that it's not because of selinux. It seems that it can find the original java package correctly, e.g. java.io... But it can't find my custom jar files. I tried to set the java.classpath in /etc/php.d/java.ini, but it still doesn't work. I also tried to create a directory in /usr/share/java and put all my custom jar files there and then set the java.classpath, but it still doesn't work. Don't know why. I am using Eclipse with Trustudio to debug. Many thanks. --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: techtonik <tec...@tu...> - 2005-11-20 01:05:42
|
||*()*|| [\..konnichi wa, ogenki desu ka, Jost../] >> ./configure: line 2512: syntax error near unexpected JB> [...] >> `m4_include(tests.m4/function_checks.m4)' JB> No idea. Probably some autoconf/automake/libtool/m4 JB> issue (too old, dev. files missing etc.) JFYI, I've got the same error message while trying to compile PJB on cygwin for PHP 4.4.1 JB> Please see the README for the list of supported JB> autoconf versions and the INSTALL document for more JB> information how to compile the bridge. JB> If you've followed the INSTALL instructions and still JB> get this problem please open a problem report (please JB> use JB> http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) JB> and attach the configure.log to that ticket. JB> We'll look at this asap. WBR.techtonik -- (B)uilding, (A)ntenna, (S)pan and (E)arth * terminal velocity - 54m/s, 305m * |
From: Victor L. <vic...@ya...> - 2005-11-19 18:07:08
|
Hi, I already spent a long time finding out why java_require can't find my jar file in classpath. I set Selinux to permissive to make sure that it's not because of selinux. It seems that it can find the original java package correctly, e.g. java.io... But it can't find my custom jar files. I tried to set the java.classpath in /etc/php.d/java.ini, but it still doesn't work. I also tried to create a directory in /usr/share/java and put all my custom jar files there and then set the java.classpath, but it still doesn't work. Don't know why. I am using Eclipse with Trustudio to debug. Many thanks. --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. |
From: Jost B. <jos...@ya...> - 2005-11-19 17:39:44
|
Hi Victor, > I am reading the php-java-bridge.log, but there > is no timestamp. the java bridge servlet logger does not provide a timestamp; printing the log with a timestamp is the servlet engine's job. > Does the log > support timestamp? If so, how to turn it on? For the standalone component the timestamp is on by default. For the servlet engine it is off, but you can provide your own logger, for example: public class MyServlet extends PhpJavaServlet { public static class Logger extends PhpJavaServlet.Logger { public String now() { // or something return String.valueOf( new java.sql.Timestamp( System.currentTimeMillis())): } } ... } Please see the API for details: http://cvs.sourceforge.net/viewcvs.py/*checkout*/php-java-bridge/php-java-bridge/server/doc/php/java/servlet/PhpJavaServlet.Logger.html?rev=1.2 However, I think your servlet engine should have the capability to print its log with a timestamp, it should be an option in the server.xml. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Victor L. <vic...@ya...> - 2005-11-19 16:22:12
|
Hi, I am reading the php-java-bridge.log, but there is no timestamp. I have no way to tell if the error is a past error or a current error. Does the log support timestamp? If so, how to turn it on? Many thanks. --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. |
From: Jost B. <jos...@ya...> - 2005-11-19 14:51:46
|
Hi Shoan, > Apache 2.0.54-r31 running on Gentoo. there's an official php-java-bridge ebuild available for gentoo. I suggest to try that instead. > ./configure: line 2512: syntax error near unexpected [...] > `m4_include(tests.m4/function_checks.m4)' No idea. Probably some autoconf/automake/libtool/m4 issue (too old, dev. files missing etc.) Please see the README for the list of supported autoconf versions and the INSTALL document for more information how to compile the bridge. If you've followed the INSTALL instructions and still get this problem please open a problem report (please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) and attach the configure.log to that ticket. We'll look at this asap. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Shoan M. <sho...@ec...> - 2005-11-18 18:19:40
|
Hi, I am attempting to compile php-java-bridge-2.0.8 against PHP 5.1.0RC6/ Apache 2.0.54-r31 running on Gentoo. I installed php using the php overlay. I get the following errors when running configure # phpize && ./configure --disable-servlet --with-java=/opt/blackdown- jdk-1.4.2.02 Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20050922 Zend Extension Api No: 220051025 loading cache ./config.cache checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking how to run the C preprocessor... (cached) cc -E checking for egrep... (cached) grep -E checking for a sed that does not truncate output... (cached) /usr/bin/ sed checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking whether gcc and cc understand -c and -o together... (cached) yes checking if compiler supports -R... (cached) no checking if compiler supports -Wl,-rpath,... (cached) yes checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for PHP prefix... /usr/lib/php5 checking for PHP includes... -I/usr/lib/php5/include/php -I/usr/lib/ php5/include/php/main -I/usr/lib/php5/include/php/TSRM -I/usr/lib/ php5/include/php/Zend -I/usr/lib/php5/include/php/ext checking for PHP extension directory... /usr/lib/php5/lib/php/ extensions/no-debug-non-zts-20050922 checking for re2c... (cached) re2c checking for re2c version... (cached) 0.9.9 (ok) checking for gawk... (cached) gawk ./configure: line 2512: syntax error near unexpected token `tests.m4/ function_checks.m4' ./configure: line 2512: `m4_include(tests.m4/function_checks.m4)' Any ideas? Peace, Shoan. -- Shoan Motwani Project Leader e-Cosmos (India) Pvt. Ltd. Tel : +91 80 51161261 / 63 Ext: 39 Email: sho...@ec... Website: www.ecosmossolutions.com |
From: Victor L. <vic...@ya...> - 2005-11-18 06:21:29
|
Sorry, correction. The server root is at /var/www/html, not /var/www/html/myapp. Victor Lee <vic...@ya...> wrote: Hi, I need to import a JAR file for the java class I use. If I copy the jar file to my root directory, e.g. /var/www/html/myapp, java_require("http://localhost/myapp/my.jar") can find the class in the jar file. But if I put the jar file in /var/www/html/another and put java_require("http://localhost/another/my.jar"), it cannot find the class. Why? Many thanks. --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. |
From: Victor L. <vic...@ya...> - 2005-11-18 06:08:14
|
Hi, I need to import a JAR file for the java class I use. If I copy the jar file to my root directory, e.g. /var/www/html/myapp, java_require("http://localhost/myapp/my.jar") can find the class in the jar file. But if I put the jar file in /var/www/html/another and put java_require("http://localhost/another/my.jar"), it cannot find the class. Why? Many thanks. --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. |
From: Victor L. <vic...@ya...> - 2005-11-17 19:46:40
|
Hi, I am using dbg with Eclipse and Trustudio as debugger to debug my php code. But whenever I run to my php-java code, it says exception. Can dbg works with these php-java code? If so, how to set it up? Many thanks. --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. |
From: Jost B. <jos...@ya...> - 2005-11-17 17:13:24
|
Hi Edward, > Fatal error: Call to undefined function: > java_require() in [...] > one is ? I find EsayPHP has one php_java.dll and > php_java.jar defaultly. Please first deinstall the "ext/java" php_java.dll and php_java.jar and remove all java options from your php ini. After that you can install the bridge as usual. It is not possible to install the PHP/Java Bridge and its successor, "ext/java" at the same time. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Jost B. <jos...@ya...> - 2005-11-17 16:58:30
|
Hi Claus, > [...] with PHP5. [...] > 2.0.8/php_java_snprintf.c:218: > error: `_ISalpha' undeclared The php_java_snprintf code is not compiled when you have php5. If you get errors there, this may mean that you compile against php4. Anyway, the code should compile against php4 >=4.3.2 without problems, the _ISalpha macro is defined in ctype.h. Please follow the INSTALL description as close as possible. If this doesn't work, please open a problem report, please use http://sourceforge.net/tracker/?func=add&group_id=117793&atid=679233) and attach the configure and build log to this ticket. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Claus L. <cl...@co...> - 2005-11-16 08:03:16
|
Trying to get the php-java-bridge running on a Dual Opteron with SUSE 9.3 with PHP5. THIS IS THE PROBLEM: phpize && ./configure --disable-servlet --with-java=/usr/java/jre1.5.0_05 && make CFLAGS="-m64" Configuring for: PHP Api Version: 20031224 Zend Module Api No: 20041030 Zend Extension Api No: 220040412 configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG ... ... /home/administrator/download/php-java-bridge-2.0.8/php_java_snprintf.c: In function `java_conv_fp': /home/administrator/download/php-java-bridge-2.0.8/php_java_snprintf.c:218: error: `_ISalpha' undeclared (first use in this function) /home/administrator/download/php-java-bridge-2.0.8/php_java_snprintf.c: In function `format_converter': /home/administrator/download/php-java-bridge-2.0.8/php_java_snprintf.c:641: error: `_ISlower' undeclared (first use in this function) /home/administrator/download/php-java-bridge-2.0.8/php_java_snprintf.c:663: error: `_ISdigit' undeclared (first use in this function) /home/administrator/download/php-java-bridge-2.0.8/php_java_snprintf.c:1085: error: `E_ERROR' undeclared (first use in this function) /home/administrator/download/php-java-bridge-2.0.8/php_java_snprintf.c: At top level: /home/administrator/download/php-java-bridge-2.0.8/php_java.h:53: warning: array `java_class_functions' assumed to have one element make: *** [php_java_snprintf.lo] Error 1 All output can be seen here: http://enterprise.unlimited.dk/claus/bridge-install.txt Any suggestions before I start to look into the code? Thanks. Claus Larsen Cofman.com (e) cl...@co... (w) http://www.cofman.com |
From: Marek L. <ma...@le...> - 2005-11-16 06:18:57
|
Victor Lee napisał(a): > Hi, > I have a java code like this: > > Car racecar = Car(0, 2); > > How do I do this with php-java-bridge? > > If I do this: > > $racecar = new Java("Car"); > > then where do I put the parameter 0 and 2? $racecar = new Java("Car", 0, 2); |
From: Edward C. <czy...@ya...> - 2005-11-16 02:47:01
|
Hi, I am trying the Bridge, but I got lost. I am using EasyPHP 1.8. Now I could see this result Wed Nov 16 02:40:22 GMT 2005 Now linking arrayToString.jar and calling ArrayToString->arrayToString(1,2,..,9) Fatal error: Call to undefined function: java_require() in c:\easyphp1-8\www\java-bridge\test.php it can find java.lang.System, but it can't find arrayToString.jar. I guess, this bridge should have some jar file I should put to extension. but which one is ? I find EsayPHP has one php_java.dll and php_java.jar defaultly. Anybody has some experience in building this bridge in EasyPHP ? Thanks. --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. |
From: Victor L. <vic...@ya...> - 2005-11-15 23:34:55
|
Hi, I have a java code like this: Car racecar = Car(0, 2); How do I do this with php-java-bridge? If I do this: $racecar = new Java("Car"); then where do I put the parameter 0 and 2? Many thanks. __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com |
From: Jost B. <jos...@ya...> - 2005-11-15 17:36:45
|
Victor, > Can setAttribute be used to save a java object in > application scope? $ctx->put($key, $val) can be used to store $val into the "application store", yes. Please see the documentation for details (php-java-bridge.sf.net). This private "application store" is not shared with .jsp or servlets. If you really need to access the servlet context in version 2.x, please use the following code: public class MyControllerServlet extends PhpJavaServlet { protected void service(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { req.getSession().setAttribute("ServletContext", getServletConfig().getServletContext()); } } After that please change all references to "PhpJavaServlet" to "MyControllerServlet" in the file WEB-INF/web.xml. You can access the servlet context as follows: <?php dl('java.so'); $servletCtx = java_session()->get("ServletContext"); ... $servletCtx->setAttribute(...) ?> > btw, where can I download 3.0? A preview version is in our CVS repository. But the code is neither stable nor complete (some classes to work with Java Server Faces are still missing). Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Victor L. <vic...@ya...> - 2005-11-15 06:47:17
|
Can setAttribute be used to save a java object in application scope? btw, where can I download 3.0? Is it a developmental verion? or is it a stable version? Where are the documentation of it? I really need to use the application scope because I am converting a jsp that uses application scope to php. Thanks. --- Jost Boekemeier <jos...@ya...> wrote: > Hi Victor, > > > scope, but how about application scope? > > In PHP/Java Bridge 3.0 you can use > > java_context()->setAttribute(200, "test"); > > to store "test" into the application scope. > > > In version 2.x please use > > $ctx = java_session("myApplication"); > ... > $ctx->destroy(); > > > Regards, > Jost Boekemeier > > > > > > > > ___________________________________________________________ > > Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher > kostenlos - Hier anmelden: http://mail.yahoo.de > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com |
From: Jost B. <jos...@ya...> - 2005-11-14 16:32:42
|
Hi Victor, > scope, but how about application scope? In PHP/Java Bridge 3.0 you can use java_context()->setAttribute(200, "test"); to store "test" into the application scope. In version 2.x please use $ctx = java_session("myApplication"); ... $ctx->destroy(); Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |
From: Jost B. <jos...@ya...> - 2005-11-14 16:28:21
|
Hi Victor, > import="java.io.*". aliases or top-level environments are not available in php. You must use the full qualified name, e.g.: $memoryBuffer=new java("java.io.BufferedInputStream"); Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |