Have you called the PHP file directly to see what output it generates?
p Konstantin Breu wrote:
You can try to use a tool like fiddler, to see better what happens at the requests. Have you tried to change the xmlhttprequest call so that it requests a static html file from tomcat? Does that work? Which progid do you use to instantiate the xmlhttprequest object (if you instantiate it via new ActiveXObject)? -----Ursprüngliche Nachricht-----Von: Richard Dunne [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 13. April 2007 14:25An: Tomcat Users List Betreff: Re: Ajax xmlhttprequest My php webpage renders just like an html page on localhost:8080, but when I run an xmlhttprequest against the tomcat (jakarta) server from within the webpage, the request shows a readystate of 1, and thats as far as it gets. The request goes throught the reaystates 1-4 and status 200 in winodws. I'm not using asp or jsp, just php and Ajax/javascript. cant post code at the moment, at work u c. Richard. ----- Original Message ---- From: Johnny Kewl <[EMAIL PROTECTED]> To: Tomcat Users List <[EMAIL PROTECTED]> Sent: Friday, April 13, 2007 12:56:30 PM Subject: Re: Ajax xmlhttprequest OK... more than a little confused I think you saying when you run it against Apache Server... it works But when you run the script again tomcat it doesnt... Show us the Script in the web page.... and show us the Servlet or JSP in tomcat.... You can also show us the php if u want... Then we can help u....----- Original Message ----- From: "Richard Dunne" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]> Sent: Sunday, April 08, 2007 2:55 PM Subject: Ajax xmlhttprequestI have a php webpage which is hosted on my laptop (XP and tomcat localhost:8080). My webpage is executing a php script via an xmlhttprequestwhich queries a database and sends back the info to the webpage. I have an a few alerts in my request to see the http.readystate and the http.status as they change. In windows (IE7), when I execute the request Ican see the readystate changing 1,2,3,4 and the status 200. In tomcat whenI execute the request, I am getting 1 alert, that is readystate 1, and thats as far as it goes. Can anyone suggest a possible solution, or have an idea as to what the problem might be.Richard.____________________________________________________________________________ ________Be a PS3 game guru.Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121--------------------------------------------------------------------- To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com--------------------------------------------------------------------- To start a new topic, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
smime.p7s
Description: S/MIME Cryptographic Signature