| Author |
Struts project
|
Ayaz uddin
Greenhorn
Joined: Jan 22, 2012
Posts: 3
|
|
This is struts project
index.jsp
========
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<html:html>
<html:form action="/myActionForm.do" method="post" enctype="multipart/form-data">
Choose the File to UPLOAD
<html:file property="file"/>
<br>
<html:submit>
Save
</html:submit>
<br><br>
</html:form>
</html:html>
But output comes in http://localhost:9999/fileupld/ as the following
Choose the File to UPLOAD <there should be one text box as browse on right hand side here>
Save <it should be submit button no plain text>
Is there any formatting error in
<html:file property="file"/> Is there any tld file configuration error in eclipse.
|
 |
Nam Ha Minh
Ranch Hand
Joined: Oct 31, 2011
Posts: 364
|
|
I think you should write this:
instead of:
|
Job Offer: Online working Java technical writing
|
 |
 |
|
|
subject: Struts project
|
|
|