aspose file tools*
The moose likes Java in General and the fly likes jakarta fileupload - suggestions to improve my code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "jakarta fileupload - suggestions to improve my code" Watch "jakarta fileupload - suggestions to improve my code" New topic
Author

jakarta fileupload - suggestions to improve my code

Alessandro Ilardo
Ranch Hand

Joined: Dec 23, 2005
Posts: 218
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.


trying to decode a woman mind....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jakarta fileupload - suggestions to improve my code