On Mon, Jun 2, 2014 at 7:01 PM, George Christman <[email protected]> wrote:
> Hi guys, I'm trying to automatically generate my sitemaps and I'm having a > difficult time trying to figure out how to read/write to it. I currently > have it in the root of my class path, is this the correct location? If so, > how do I read/write to it? > No, that's absolutely not the right location. You cannot assume that the root of the classpath is writable. The right choice is to define a directory path of your choice (perhaps contributed as a symbol) to your webapplication that you know you can write to and safely access the filesystem. Kalle > > I'm using sitemapgen4j and this example > http://www.codingpedia.org/ama/generate-sitemaps-with-sitemapgen4j/ > > -- > George Christman > www.CarDaddy.com > P.O. Box 735 > Johnstown, New York >
