Professional Documents
Culture Documents
Zc12054-Ftuk-8L2U: Part "Multipart/Form-Data" Encrtype "Multipart/Form-Data" Contenttype "Multipart/Form-Data"
Zc12054-Ftuk-8L2U: Part "Multipart/Form-Data" Encrtype "Multipart/Form-Data" Contenttype "Multipart/Form-Data"
Zc12054-Ftuk-8L2U: Part "Multipart/Form-Data" Encrtype "Multipart/Form-Data" Contenttype "Multipart/Form-Data"
1.
Referring to the above, which one of the following choices below allows the creation
of a Struts-aware HTML form?
Option 2 is required when the application uses the Struts Tiles framework.
Referring to the above, which one of the following codes allows a file to be uploaded
to the server?
part="multipart/form-data"
encrtype="multipart/form-data"
contentType="multipart/form-data"
filetype="multipart/form-data"
enctype="multipart/form-data"
[Note:]http://www.roseindia.net/struts/strutsfileuploadandsave.shtml
4. struts-config.xml snippet:
<action
path="/multi"type="test.MultiAction"name="MultiForm"scope="request"input="/multi.jsp"parameter="method"/>
JSP code snippet:
<html:form ction="/multi"><html:submit property="method"><bean:message
key="button.feature1"/></html:submit><html:submit property="method"><bean:message
key="button.feature2"/></html:submit></html:form>
Referring to the above, how does a developer create an Action class capable of
processing multiplesubmit buttons WITHOUT using JavaScript in the form?