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

    Join Date
    Feb 2003
    Rep Power

    Call php file from Jsp

    I have an requirement to call php file from jsp file ,i used this line in jsp file
    <%@include file="http://etisbew.net/Test/test.php" %>
    it is not giving any Error but it is not giving the required functionality, When I run the php file individually it worked fine
    Any help in this rtegard is highly appreciated

    Thanks & Regards
    Katta Srinivasa Reddy
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Rep Power
    You can't use include to include non-java content. To include content from another server use the JSTL command import

    <c:import url=" http://etisbew.net/Test/test.php"/ >

    If you aren't familiar with the JSTL (Java Standard Tag Library) check it out at http://jakarta.apache.org/taglibs/do...doc/intro.html

IMN logo majestic logo threadwatch logo seochat tools logo