We specify all form posts with the syntax:
<form method='post' encType='multipart/form-data' ...>
and within our servlets, verify the contentType with
req.getContentType().startsWith("multipart/form-data"))
Has anybody used the new PostMethodWebRequest(url,stream,contentType) successfully in this context when creating a new WebRequest object.
Log in to post a comment.
We specify all form posts with the syntax:
<form method='post' encType='multipart/form-data' ...>
and within our servlets, verify the contentType with
req.getContentType().startsWith("multipart/form-data"))
Has anybody used the new PostMethodWebRequest(url,stream,contentType) successfully in this context when creating a new WebRequest object.