Max Scheffler wrote:
> Hi Paul,
>
> that rocks! Its pretty cool.
>
> But there is just one problem left. :D
>
> I need to know the original filename of the uploaded image. This
> filename is set in the 'Content-Disposition'-Header an looks like the
> following:
>
> Content-Disposition: form-data; name="image"; filename="testImage.gif"
>
> Is there any smart way to get this name?
>
Hmm... tricky... perhaps another type that encapsulates the JavaMail
BodyPart information seems best.
The frustrating thing is the JavaMail API provides no easy way of
handling content disposition information and of managing form-data in
general.
Paul.
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109