
i am trying to create a dynamic web project which performs XOR operation on a file uploaded by a user by converting its contents to ASCII code. i got the process to upload a text file and put it on the servlet. this is the code ive been able to do:
<form name="formLogin" method="post" enctype="multipart/form-data" action="Encrypt1.jsp">
<table width="100%" border="0" cellspacing="5" cellpadding="2">
<caption> Upload file here </caption>
<tr valign="bottom">
<td class="smallgrey" valign="baseline">File:</td>
<td valign="top">
<input name="file" type="file" id="file" />
</td>
</tr>
<tr><td><input type="submit" value="submit"/><input type="reset"/><br /></td></tr>
</table>
</form>
now i dont know how am i supposed to retrieve this file in the next jsp page. and moreover am i supposed to do anything more in order to make the file move via servlet?
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.