Hi everyone:
Can the common html tag and
struts tag be used together?I have an example:in
jsp <html:form method="post" action="sendmail.do" enctype="multipart/form-data">
<tr><td>MailTo:</td><td>
<html:text property="mailto"/></td></tr>
<tr><td>MailFrom:</td><td>
<html:text property="mailfrom"/></td></tr>
<tr><td>Subject:</td><td>
<html:text property="title"/></td></tr>
<tr><td>Content:</td><td>
<html:textarea property="content" rows="7" cols="30"/></td></tr><tr><td>
Attach:</td><td>
<input type="file" name="myfile"/></td></tr><tr><td>
<html:submit/><html:reset/>
</td></tr>
</html:form>
In Action,I want to use the code "request.getParameter("myfile")" to get the file real path.But I always get "null".Why "request.getParamter("myfile")" is null although I choose a file in jsp?
Can struts Tag and html Tag be use together?Thks
:roll: