They are different technologies - JSP stands for Java Server Pages, where PHP means PHP: Hypertext Preprocessor...
Basically, they do the same thing - generate webpages, but JSP scripts are programmed in Java, and PHP scripts in PHP, which are completely different scripting languages.
PHP is usually used in small to medium-sized projects, where Java tends to be percieved as a more "enterprisey" (aimed at large projects).
JSP stands for Java Server Pages whereas PHP stands for Hypertext PreProcessor. PHP is a scripting language whereas JSP is a full fledged technology. JSP is much more powerful and has more features than PHP
STRUTs is a framework of technology of java based on JSP/Java Servlets PHP is another server scripting language
Firstly, this is wrong question. The right one would be WHEN should you use PHP, not JSP? or, WHEN should you use PHP and WHEN JSP?
Depends on what you are doing, PHP does somethings Faster than JSP and in reverse.
The main difference between ASP and JSP is that JSP is more script like and includes Java, whereas ASP does not. Both of these are server side languages.
in the past ive found jsp to be much slower than PHP (correct me if im wrong) PHP is a solid stable web language and much faster in my opinion :D
It is not possible to directly put jsp code in php, You could look into json and xml which allow data transfer between different technologies. Alternatively you could send data from jsp code to html and via html to php. Look at the link below. It may help somewhat
Neither. It depends on your needs.
The Difference between JSTL and JSP is that, JSP lets the person add embedded Java code into HTML pages. Also JSP allows the person to define their own tags. JSTL is just a standard tag library provided by Sun to carry out common tasks.
Apache is a web server. PHP is a scripting language.
http://diaryproducts.net/about/programming_languages/java/convert_jsp_pages_to_jsp_documents_jspx_with_jsp2x
CGI,asp.net,PHP,JSP