filename of uploaded file on weblogic server

Hi friends,

I have written a program where a servlet will upload a file and reads the data in the file and prints out.My problem is while uploading a file from the local machine to server it saves the file as textfile.txt ,again when i makes changes in the textfile.txt and upload the file on the server it saves as textfile1.txt but while reading it's not reading the textfile1.txt instead it takes textfile.txt

so how can i get the textfile1.txt filename

thanks in advance.

[501 byte] By [SKS2005a] at [2007-11-26 15:03:49]
# 1

sounds like your have custom code that handles file upload(saving it into file), but not reading it consistantly with the same file name. File upload is not standard so, you would need to dig into that custom code and see why.

Check into your weblogic server support forums might be wise.

thebugslayera at 2007-7-8 8:53:27 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...