• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Can you find the bug in <div> I do NOT get sample xml data[bookrss.xml]... RSS Client/Server  RSS feed

 
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you find the bug in <div> I do NOT get sample xml data[bookrss.xml]... RSS Client/Server?
I get
xhrequest.readyState == 4 && xhrequest.status == 200 ... 4 & 200 , but no data (local host run)
is this correct
1)var titles = xhrequest.responseXML.getElementsByTagName('title');
titles[0].firstChild.nodeValue+"</h1>";
2)xml file same folder as .java file in NETBEANS
client

server

bookrss.xml

<rss version="0.91">
<channel>
<title>hT</title>
<link>hL</link>
<description>hD</description>
<item>
<title>hT1</title>
<link>hL1</link>
<description>hD1</description>
</item>
<item>
<title>hT2</title>
<link>hL2</link>
<description>hD2</description>
</item>
<item>
<title>hT3</title>
<link>hL3</link>
<description>hD3</description>
</item>
</channel>
</rss>
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it correct the server side script for provide the xml file?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!