How to check whether the uploaded file exists when using html:file tag of struts 1.2?

2007-12-05 Thread ang jin
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

Re: Using html:file

2005-06-30 Thread Nitesh
- Original Message - From: "vinod varghese" <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent: Thursday, June 30, 2005 10:30 PM Subject: Using html:file Hi, I have a particular issue using the html:file tag. The situation is that my jsp uses a html:file tag.First

Using html:file

2005-06-30 Thread vinod varghese
Hi, I have a particular issue using the html:file tag. The situation is that my jsp uses a html:file tag.First I submit the jsp which returns a validation error through the html:errors tag. I correct those errors and again submit the form which after processing in the action takes to another j