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

    Join Date
    Feb 2003
    Posts
    41
    Rep Power
    12

    Call php file from Jsp


    Hello,
    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
    Posts
    5
    Rep Power
    0
    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