问题描述:

I have a java form like

<form

action="/something.do"

enctype="multipart/form-data"

name="someForm"

method="post"

id="someFormID"

class="form1"

style="margin: 0px; clear: both; width: 730px;">

<input type="file" name="file"/>

</form>

now in the same JSP i need to set this file attribute a have a file ,but not by browsing but by simply adding the path or something like this.

I need to make this automated

any ways to achieve this ??

相关阅读:
Top