Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sending a servlet parameters

 
david allen
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry as I was typing I figured it out. Silly question. thank anyway.
david
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic