call jsp page in php?

Discussion in 'PHP' started by govindero, Feb 28, 2008.

  1. #1
    hai,

    i have integrate php with java so its useful to call simple java methods using

    class files , but i want to call jsp page in php through java method or any

    other method..
     
    govindero, Feb 28, 2008 IP
  2. quicksolutions

    quicksolutions Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I thnk you can call it using xmlHttpRequest method.For More details visit w3schools and see AJAX Chapter
     
    quicksolutions, Feb 28, 2008 IP
  3. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #3
    If you're calling an actual java page (Not javascript) then I don't think the xmlHttpRequest is going to be what you're looking for.

    Try this possibly: http://us.php.net/java

    What exactly are you trying to get from the java page? You may need to create some sort of Java API for the php script to call which would return some XML or other output that php can deal with.
     
    jestep, Feb 28, 2008 IP