struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ang jin" <sad...@gmail.com>
Subject How to check whether the uploaded file exists when using html:file tag of struts 1.2?
Date Wed, 05 Dec 2007 12:59:24 GMT
when i upload file with html:file tag of struts 1.2,how can i judge
whether the inputted file path is a valid one?
the development enviroment is tomcat+struts+eclipse.
i once want to check it in the validate method of corresponding
actionform.but in  debug mode,after i input a invalid file path and
submit the form,the setted breakpoint in validate method of
corresponding actionform can't be reached.
Thanks a lot for your concern!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message