Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XMLHttpRequest Issue

843841Mar 16 2005 — edited May 6 2005
I am having an issue with XMLHttpRequest. The call to my servlet has one request param at the end of the URL. It seems to be calling my servlet just once per param value and caches the XML it returns. For example, if the param=1 it runs the servlet just fine. If the request is made again with param=1 it just spits out the same information as before, which should not be happening. What leads me to believe the servlet isn't running the second time is 1)that my System.out's will run the first time but not the second, and 2)my debugger will halt at a breakpoint the first time but not the second.

Is there something that needs to be set in my JavaScript that forces the request to actually be run every time? This seems very strange to me.

Karl
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 3 2005
Added on Mar 16 2005
7 comments
172 views