|
From: <php...@li...> - 2010-07-08 04:28:41
|
Sorry I did mean web.xml.
There's one thing in particular that I had to fix. In the web.xml file, the
website tells you to type in this line
<init-param><param-name>php_include_java</param-name><param-value>On</param-value></init-param>
The line should in fact be:
<init-param><param-name>php_include_java</param-name><param-value>Off</param-value></init-param>
As well at the head of each PHP file you must include
require_once("java/Java.inc");
The java folder is in each webapp in Tomcat.
If that doesn't help post your php code. I'm using Tomcat 6 and the only
problem I encountered were fixed by the above changes.
Sincerely,
Sravan Suryadevara
University of Illinois | Urbana-Champaign
B.S Computer Science | Class of 2013
E-mail | sur...@il...
Phone | (908) 432-5330
On Thu, Jul 8, 2010 at 7:50 AM, <php...@li...
> wrote:
> On 7/6/2010 8:48 PM, php...@li... wrote:
> > Can u post ur code? You've also made the appropriate changes to
> > conf/server.xml I assume?
> >
> > --Sravan
> >
> >
> Sravan - Thanks for your reply, I am not sure what code it is that you
> would like me to post? Could you be more explicit?
>
> I have not modified the server.xml file in any way, nor does the website
> instructions tell me to do anything to it. The only file I have modified is
> conf/web.xml and I included the listener, servlet, and servlet-mappings
> configurations as described. Would you like me to post it?
>
> Marc...
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>
|