解决方案 »

  1.   

    <div class="file-box"> 
      <form action="" method="post" enctype="multipart/form-data"> 
        <input type='text' name='textfield' id='textfield' class='txt' /> 
        <input type="file" name="fileField" class="file" id="fileField" size="28" onchange="document.getElementById('textfield').value=this.value" /> 
        <input type="submit" name="submit" class="btn" value="上传" /> 
      </form> 
    </div> 
    form表单提交 txt数据在后台处理
      

  2.   

    这个只能在jsp后台处理了 我不会jsp你看下手册吧 应该有处理txt的函数的