Ajax Talk - Asynchronous javascript and xml discussion board
 FAQ   Search    Usergroups      Register   Profile   Check your messages   Log in 
Signup now to enjoy a range of free membership advantages !!
Ajax Talk - Moderators Wanted
XML back to the server with XMLHttpRequest.send()

 
Post new topic   Reply to topic    Ajaxtalk.com Forum Index -> AJAX Programmers Exchange
View previous topic :: View next topic  
Author Message
varsenault
New one
New one


Joined: 29 May 2006
Posts: 1

PostPosted: Mon May 29, 2006 10:32 pm    Post subject: XML back to the server with XMLHttpRequest.send() Reply with quote

Hi,

I'm having trouble when trying to send a DOM Document object back to the server with XMLHttpRequest.send(). Actually, the problem is quite simple : the XML doesnt' seem to get sent at all. On the server-side, I dont see anything in the request either in the headers (request.getHeader(), etc.), in the parameters (request.getParameters(), etc.) or in the body of the request (request.getReader()) as I supposed, and how I think the W3C specifiation for XMLHttpRequest is meant to be implemented. I'm running the test on the client-side with Firefox 1.5.0.3 (using the Prototype 1.5_rc0 AJAX library, but it's using Mozilla XMLHttpRequest quite plainly) and on the server-side with Tomcat 5.0.28 and Struts 1.2.7.

Does anyone ever succeded in sending XML back to the server on a Java server platform while using Firefox as a client?

Thanks.
Back to top
View user's profile Send private message
adam
New one
New one


Joined: 31 May 2006
Posts: 4

PostPosted: Wed May 31, 2006 3:24 pm    Post subject: Reply with quote

whats your javascript code? as iv managed to send xml back to the web server (which has been apache and php) and then pushed a dom request back to the javascript.

one way too find out whats going on would be too install the firebug extension for firefox and monitor all the request calls javascript makes and what is recieved etc...

hope this helps!
Back to top
View user's profile Send private message MSN Messenger
Snyke
Forum Assistant
Forum Assistant


Joined: 20 Jun 2006
Posts: 87
Location: Zurich

PostPosted: Tue Jun 20, 2006 3:17 pm    Post subject: Reply with quote

Two things I'd like to know first:

  • Do you get a request on the serverside?
  • You do know that the document has to be POSTed, right?

_________________
[::[ Snyke.net ]::]
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
deejay
Forum Assistant
Forum Assistant


Joined: 17 May 2006
Posts: 78
Location: Netherlands

PostPosted: Thu Jun 22, 2006 9:46 am    Post subject: tomcat & struts Reply with quote

Hi,

don't know the first thing about tomcat & struts, but type of serverside component shouldn't matter.

Ciao Cool
_________________
please correct me if i am wrong
seo-expertglobalwarming
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Ajaxtalk.com Forum Index -> AJAX Programmers Exchange All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
 Advertisements
 XML & Copyright Notice 
    


Powered by phpBB © 2001, 2005 phpBB Group

What is according to Wikipedia: Ajax Web2.0 XML E4X


Link to our site:

  


del.icio.us digg spurl wists simpy newsvine blinklist furl blogmarks yahoo! myweb smarking ma.gnolia segnalo reddit fark technorati cosmos


Normal Bookmark


Partner Button Links:
Codecrunch.com: Webmaster Tutorials    One Ajax


Partner Text Links:
quomon | web20log | ajaxmatters | tableless | 456bereastreet | music charts | gift ideas | competitions | free xbox 360 | link trade ?


Credits:
it consultancy & project management lead generation zoekmachine optimalisatie steal these buttons seo expert