String contenttype=part. GetContentType ();
Int nameindex=contenttype. IndexOf (" name ");
In part, the getcontenttype () to find a name why
If (nameindex!=1)
Conname=true;
System. The out. Println (" CONTENTTYPE: "+ CONTENTTYPE);
If (part. IsMimeType (" text/plain ") & amp; & ! Conname) {
Bodytext. Append ((String) part. GetContent ());
Determine the contenttype. IndexOf (" name "); Is there, what's the use of ah, didn't understand why to determine this,,, o great god ~ ~ ~
CodePudding user response:
If you have any picture to send original name attributeCodePudding user response:
3 q ~ thank big brother