$B$*@$OC$K$J$C$F$*$j$^$9!#(B<div>$B@6?e$G$9!#(B</div><div><br></div><div>$B8=:_%A%e!<%H%j%"%k$N%"%C%W%m!<%I%Z!<%8$r2~B$$7$F(B</div><div>$B%U%!%$%kA*BrD>8e%"%C%W%m!<%I=hM}$,<B9T$5$l$k$H$$$&;v$r$d$C$F$_$?$$$H;W$&$N$G$9$,(B</div><div>$B$&$^$/=PMh$^$;$s!#(B</div><div>$B!J:G=*E*$K$O%A%e!<%H%j%"%k$_$?$$$K(B</div><div>$B!V!{!{%U%!%$%k$r%"%C%W%m!<%I$7$^$7$?!#!W(B</div><div>$B$HI=<($5$;$?$$$G$9!#!#!K(B</div>
<div>$B2?$+2r7hJ}K!$O$4$6$$$^$;$s$G$7$g$&$+!)(B</div><div><br></div><div>$B"(%A%e!<%H%j%"%k$NFbMF$rJQ99$7$?%=!<%9$@$15-:\CW$7$^$9!#(B</div><div><br></div><div><br></div><div>index.jsp</div><div>----------------------------------------------------------</div><div><div>&lt;%@page pageEncoding=&quot;UTF-8&quot;%&gt;</div>
<div>&lt;html&gt;</div><div>&lt;head&gt;</div><div>&lt;title&gt;Tutorial: Upload&lt;/title&gt;</div><div>&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;${f:url(&#39;/css/sa.css&#39;)}&quot; /&gt;</div>
<div>&lt;script type=&quot;text/javascript&quot; src=&quot;${f:url(&#39;/js/uploadtest.js&#39;)}&quot;&gt;&lt;/script&gt;</div><div>&lt;/head&gt;</div><div>&lt;body&gt;</div><div><br></div><div>&lt;h1&gt;Tutorial: Upload&lt;/h1&gt;</div>
<div><br></div><div>&lt;html:errors/&gt;</div><div>&lt;html:messages id=&quot;m&quot; message=&quot;true&quot;&gt;</div><div>${f:h(m)}&lt;br /&gt;</div><div>&lt;/html:messages&gt;</div><div><br></div><div>&lt;s:form enctype=&quot;multipart/form-data&quot; styleId=&quot;test&quot;&gt;</div>
<div>&lt;input type=&quot;file&quot; name=&quot;formFile&quot; &nbsp;onchange=&quot;uploadstart()&quot; /&gt;&lt;br /&gt;</div><div>&lt;c:forEach varStatus=&quot;s&quot; begin=&quot;0&quot; end=&quot;1&quot;&gt;</div><div>&lt;input type=&quot;file&quot; name=&quot;formFiles[${s.index}]&quot; onchange=&quot;uploadstart()&quot; /&gt;&lt;br /&gt;</div>
<div>&lt;/c:forEach&gt;</div><div><br></div><div>&lt;input type=&quot;submit&quot; name=&quot;upload&quot; value=&quot;$B%"%C%W%m!<%I(B&quot; /&gt;</div><div>&lt;/s:form&gt;</div><div>&lt;/body&gt;</div><div>&lt;/html&gt;</div></div>
<div>-----------------------------------------------------------------------</div><div><br></div><div><br></div><div>uploadtest.js</div><div><div>------------------------------------------------------------------------</div>
</div><div><div>function uploadstart(){</div><div>alert(&quot;start&quot;);</div><div>$(&#39;#test&#39;).load(&#39;upload&#39;);</div><div>}</div></div><div>------------------------------------------------------------------------</div>
<div><br></div><div><br></div>