App-Engine (Java) File Upload
- by Manjoor
I managged to upload files on app-engine by using the following example
http://stackoverflow.com/questions/1513603/how-to-upload-and-store-an-image-with-google-app-engine-java
and
http://www.mail-archive.com/[email protected]/msg08090.html
The problem is, I am sumitting other fields along with file field as listed below
<form action="index.jsp" method="post" enctype="multipart/form-data">
<input name="name" type="text" value=""> <br/>
<input name="imageField" type="file" size="30"> <br/>
<input name="Submit" type="submit" value="Sumbit">
</form>
In my servlet I am getting null when querying
name = request.getParameter("name");
Why it is so? Is there a way to retrieve text field value?