Hi!
I was trying to implement an upload feature using oreilly's
com.oreilly.servlet package. http://www.servlets.com/cos/
(...and NOT using the build-in functions in struts)
The oreilly stuff works great, but when I combine struts and
the oreilly classes I'm getting an IOException
(Corrupt form data: premature ending) in the oreilly class.
This seems strange to me, does struts somehow "corrupts"
the HttpServletRequest so that it cannot be accessed by
oreilly's MultipartRequest class?
--
public ActionForward perform(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws IOException, ServletException
{
try {
MultipartRequest multi =
new MultipartRequest(request, ".", 10*1024*1024); // 10MB
...
--
thanks,
Tobias