Hi everyone,
I got a problem working with the JetspeedContentAdmin portlet.
When a new article is posted, everything works fine except tha save method
that writes the local file.
This is my source code:
DiskCacheEntry pde = JetspeedDiskCache.getInstance()
.getEntry( this.url );
System.out.println (pde.getData());
Writer fwriter = pde.getWriter();
this.rss.marshal( fwriter );
fwriter.close();
The System.out works fine, and this mean that the cachedEntry is referred
correctly (I think...),
but the marshall procedure doesn't update the file on filesystem.
I've tried also to mashal directly on filesystem, with
this.rss.marshal( new FileWriter("C://Programmi//Tomcat
4.1//webapps//jetspeed" + this.url) );
and file is written correctly...
Any suggestion will be very very appreciated.
NOTE: on tomcat 3.2 everything works very well....
____________________________________________
Dariush Behboudi Resp.Software Engineering
Phone: +39 02 45441.238Mobile Phone: 335 1207222Fax: +39 02
[EMAIL PROTECTED] Interactive Spa
GRUPPO DATASERVICE
Via Negroli, 35
20133 Milano (Italy)