File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSP
Bookmark "sending a servlet parameters" Watch "sending a servlet parameters" New topic

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" />
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 allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
sorry as I was typing I figured it out. Silly question. thank anyway.
jQuery in Action, 2nd edition
subject: sending a servlet parameters
Similar Threads
getting null values for parameters
About form submission
Upload files from client
Help in Multipart Request Urgent
Uploading images with jsp