I have not submitted the form. I just only selected the file using file dialog.
It would be helpful if you give the code snippet to implement in Java Script.
Magesh. Saeed Iqbal wrote:
It gets submitted after post if you want to clear maybe use javascript to clear On Monday, December 28, 2009, Mageshwaran <[email protected]> wrote:Hi All, In my jsp code i had used "<s:file name="uploadFile" label="File" size="20" onkeypress = "killEvent(event)"/>" for file upload using IFrame. The issue is if i select a file using file dialog, there is no option to clear the selected text. Can any one help me how to clear the uploaded file path text? Thanks in Advance, Magesh.

