Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to save content in sitemap.xml  RSS feed

 
vivek dhiman
Ranch Hand
Posts: 153
Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have the file in my project sitemap.xml, which i am trying to write via XMLStreamWriter. My code gets successfully executed as i can see the logs. But my sitemap.xml file keeps blank. Any idea why nothing is getting write in my sitemap.xml file. Below is my servlet code.



I can see "END Document" and "Location is " under my log file.
Thanks
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But my sitemap.xml file keeps blank.


Does that mean that a empty sitemap.xml file is created when your code runs -or- that there is no file in the expected directory?

Bill
 
vivek dhiman
Ranch Hand
Posts: 153
Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Actually I was trying to write a node in JCR. BinaryOutPutStream did the work.

Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!