You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Richmond Te <ri...@yahoo.com> on 2002/12/09 06:19:28 UTC

validation

I am wanting to validate if the user did not enter a
filename, an error message to be displayed when submit
is clicked. (ie. when no file name is entered)

I have the following on the jsp:

<html:text property="description" styleClass="body"
size="23" maxlength="18"/><bean:message
key="Form.descriptionText.displayname"/>

<html:file property="importFile"  size="20"
maxlength="48"/>

How would I validate if there is no file entered? I
got the <html:text /> bit to work but not for the
<html: file>

Thanks

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>