try:
delFile["delete"];
oceatoon wrote:
Hi every one
I have been using the java.io.File class to manipulate uploads in the flow,
every thing was fine till now as I need to use the delete() method on my
object. I get
Message: missing name after . operator Description: org.apache.avalon.framework.CascadingRuntimeException: missing name after . operator
is it a special word that can't be used in flow, because all the other
methods of this class work fine?
here's how I used it, maybe there's something in my eye ;) ,and I can't see but I'm lost on this one ???
var delFile = new java.io.File("webapp/resources/images/user/"+pix); if(delFile.exists()) delFile.delete();
when I remove the delFile.delete(); line everthing goes well ???
Thanks for any of your ideas Tibor
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
