Hi we are using <html:file> - file upload component of struts. And the text box associated with this component manually allowing the input from the user in IE browser but in Firefox it is not happening
So how to make a read only text box for this component?
What is the actual problem? Is the Firefox html:file not working? OR You tried to disable html:file and it is still working in IE?
If you are trying to disable html:file using disable="true" it should work as intended in either browsers. Please explain.
Have Fun with Java
little,little.. little by little makes a lot..
Srinivasa Rao Ammina
posted 8 years ago
Here the issue is in Firefox this component behaves correcty that means in the text field of the file upload component we are unable to manually input the file name.
But the case is not the same with IE means user can type what ever file name he wants whether it actually exists or not because of this during that it is giving exceptions.
So I want to make the file upload components text box as read only so that user doesn;t tamper the file names.
Lasagna is spaghetti flvored cake. Just like this tiny ad: