Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jakarta fileupload - suggestions to improve my code

 
Alessandro Ilardo
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically I've a servlet which receives a multipart request. With that it should create a new object which should save the file and store the path to be later added on a database.

My problem, or doubt is about the constructor's object
this's the code:

1. Is another way to get the field's value without going trough an Iterator?
2. How would you improve it?

Thanks in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic