#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2003
    Posts
    15
    Rep Power
    0

    Question Run PHP in JSP file?


    Hello all,

    I wonder if it's possible to execute PHP code within a JSP file?
    Anyone an idea?

    Thanks,

    Mark.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Location
    NE Pa.
    Posts
    96
    Rep Power
    13
    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
  4. #3
  5. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    538

IMN logo majestic logo threadwatch logo seochat tools logo