• Post Reply Bookmark Topic Watch Topic
  • New Topic

jakarta fileupload - suggestions to improve my code  RSS feed

 
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.
 
That is a really big piece of pie for such a tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!