PHP and JSP both supports Java.Then what is the difference?
************************************
I am not sure the extent of support for
Java in PHP. Has anyone ever done this? From articles on Zend.com (they write the PHP engine) they are moving to a more OO language which will have more Java support (probably).
.Secondly, when JSP is first compiled, it produces a servlet in background.Is there any mechanism in PHP like this?
************************************
PHP is a scripting language running at the webserver. The scripts are processed when the page is requested by the client. Essentially PHP is intrepreted, not compiled.