Sorry.. I din't get you..
I have used it in the try block of my jsp. If i don't rename my source file, it is getting uploaded successfully...
User Profile
Collapse
-
file upload in jsp
I have to upload a file using jsp. Am using netbeans 6.9. The file gets uploaded successfully if the source file name & destination file name are same. But in my application I have to change the destination file name for which I used the following code:
"sourceFileName .renameTo(desti nationFileName) ;"
But then the function renameTo() is not regonised by the IDE in spite of me importing java.lang.*
Please help....
No activity results to display
Show More
Leave a comment: