wood burning stoves 2.0*
The moose likes JSP and the fly likes sending a servlet parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "sending a servlet parameters" Watch "sending a servlet parameters" New topic
Author

sending a servlet parameters

david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
I have a jsp page that allows a user to upload a file to a servlet
<form action="/examples/servlet/lampoons.UploadTest" enctype="multipart/form-data" method="post">
File to Upload: <input name="filename" type="file" />
<br />
<input type="submit" value="Upload" />
</form>
However, I also want to send the servlet the name of the album into which the file should be uploaded to. ie. albumName="album1".
My question is how do I also send this information.
thank you
david
david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
sorry as I was typing I figured it out. Silly question. thank anyway.
david
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sending a servlet parameters
 
Similar Threads
Help in Multipart Request Urgent
getting null values for parameters
About form submission
Uploading images with jsp
Upload files from client