The moose likes JSP and the fly likes sending a servlet parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply 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
 
 
subject: sending a servlet parameters
 
Threads others viewed
Help in Multipart Request Urgent
About form submission
Uploading images with jsp
Upload files from client
getting null values for parameters
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com