Re: Why JSP is better than PHP >>

From: Date: Mon, 13 Nov 2000 20:07:44 +0000
Subject: Re: Why JSP is better than PHP >>
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25022@lists.php.net to get a copy of this message
Erick Papadakis wrote: > Forgive me for a rehashed topic but the following has > been thrust into my face by a guy who was born with > Java skills and is still using the bloatware - > > ----------------- > Here is a list of reasons why JSP is better than PHP: > > 1. Anything you can do with PHP, you can do with JSP; > the reverse is not true > > 2. JSP is much more powerful, since it has access to > all the Java libraries. PHP only has access to PHP > libraries Don't know if anyone mentioned this argument yet but... With PHP 4's Java support, you can take advantage of any Java code you may have from your PHP scripts. Also, with the Servlet feature you can run your PHP engine inside any servlet container (e.g. Websphere, Tomcat). This pretty much says to me that anything you can do with JSP you can do with PHP. However, I'm not sure if the reverse is true since you can't call out to PHP's built in functions from JSP's (at least not yet). Alex

« previous php.general (#25022) next »