Re: [PHP] Why JSP is better than PHP >> From: Alex Akilov (akilov <email protected>)
Date: 11/13/00

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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>