Re: [Resin-interest] Quercus Question

2010-08-13 Thread Kevin Decherf
Hi,

I take advantage of the situation about this email to ask Caucho's team if
we are allowed to fork the project [Quercus] on GitHub to make our own
changes/bug fixes. The project seems to run slowly (*as looked on the bug
report*) and we are making some improvements for a production environment in
our internal team.

Thanks,

Kevin Decherf
Twitter : @Kdecherf http://twitter.com/Kdecherf



On Thu, Aug 12, 2010 at 6:19 PM, Aaron Freeman aaron.free...@layerz.comwrote:

 The silence is deafening, so I guess I was completely wrong-headed in
 thinking you could call a .jsp as in include from a .php?

 Bummer, I was hoping that was part of the benefit of having php-based
 apps running under full blown Resin, instead of Quercus in stand alone
 mode.

 Thanks,

 Aaron


 On 8/12/2010 1:36 AM, Aaron Freeman wrote:
  I was thinking it's possible to do something like this in a php file:
 
  ?php
if((include '../www/_header.jsp') == 'OK') {
echo 'OK';
}
  ?
 
  Where the www folder has a path-mapping entry in the resin.xml.
 
  It includes the file, but the file isn't processed by the JSP engine, so
  I literally see strings like ${param.var} in the output of the call to
  test.php.  How do I include a .jsp in from a .php but get the JSP engine
  to process it before it returns?  I know I could do something like:
 
  include( 'http:///www/_header.jsp')
 
  but then cookies are lost as the client is the php engine, not the
 browser.
 
  Is it possible to reuse the JSP code from within the PHP environment?
  Is there a link someone could shoot me that explains this?
 
  Thanks,
 
  Aaron
 



 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] Quercus Question

2010-08-12 Thread Aaron Freeman
I was thinking it's possible to do something like this in a php file:

?php
 if((include '../www/_header.jsp') == 'OK') {
 echo 'OK';
 }
?

Where the www folder has a path-mapping entry in the resin.xml.

It includes the file, but the file isn't processed by the JSP engine, so 
I literally see strings like ${param.var} in the output of the call to 
test.php.  How do I include a .jsp in from a .php but get the JSP engine 
to process it before it returns?  I know I could do something like:

include( 'http:///www/_header.jsp')

but then cookies are lost as the client is the php engine, not the browser.

Is it possible to reuse the JSP code from within the PHP environment?  
Is there a link someone could shoot me that explains this?

Thanks,

Aaron


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Quercus Question

2010-08-12 Thread Aaron Freeman
The silence is deafening, so I guess I was completely wrong-headed in 
thinking you could call a .jsp as in include from a .php?

Bummer, I was hoping that was part of the benefit of having php-based 
apps running under full blown Resin, instead of Quercus in stand alone mode.

Thanks,

Aaron


On 8/12/2010 1:36 AM, Aaron Freeman wrote:
 I was thinking it's possible to do something like this in a php file:

 ?php
   if((include '../www/_header.jsp') == 'OK') {
   echo 'OK';
   }
 ?

 Where the www folder has a path-mapping entry in the resin.xml.

 It includes the file, but the file isn't processed by the JSP engine, so
 I literally see strings like ${param.var} in the output of the call to
 test.php.  How do I include a .jsp in from a .php but get the JSP engine
 to process it before it returns?  I know I could do something like:

 include( 'http:///www/_header.jsp')

 but then cookies are lost as the client is the php engine, not the browser.

 Is it possible to reuse the JSP code from within the PHP environment?
 Is there a link someone could shoot me that explains this?

 Thanks,

 Aaron




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest