fboardWrite.jsp
✔ enctype="multipart/form-data"
<form action="doFboardWrite.do" method="post" name="fboardFrm" enctype="multipart/form-data"> <!--파일첨부할때 사용 -->
<tr>
<th>제목</th>
<td><input type="text" name="btitle" id="btitle"></td>
</tr>
<tr>
<th>작성자</th>
<td><input type="text" name="id" id="id" value="${sessionId}" readonly></td>
</tr>
<tr id="content">
<th>내용</th>
<td>
<textarea rows="20" cols="80" name="bcontent" id="bcontent"></textarea>
</td>
</tr>
<tr>
<th>첨부파일</th>
<td><input type="file" name="bfile" id="bfile"></td>
</tr>