|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello all,
I wonder if it's possible to execute PHP code within a JSP file? Anyone an idea? Thanks, Mark. |
|
#2
|
|||
|
|||
|
I seriously doubt that such a thing would work as the applications that handle these different languages are registered via the extension of the file being called. (IE: .jsp is handled via the servlet engine while .php is register to be handled via the php application)
My next question has to be ....... wait for it ...... Why? Either language is relatively sufficient to handle almost any server-side requirements, why attempt this "hybred" experiment? So kind of frankensteinish to me!
__________________
DC Dalton DCD Designs SCJP |
|
#3
|
||||
|
||||
|
Yes, don't know why you would want this, but read http://www.php.net/manual/en/ref.java.php -> Java Servlet SAPI section
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Run PHP in JSP file? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|