Hi,
The exact same statement caused a null pointer
exception in ServletExec. My patch is as follow:
//>>>>>>Begin of patch<<<<<<
String multipartClass =
mapping.getMultipartClass();
if (multipartClass == null ||
multipartClass.length() == 0) {
multipartClass = this.getMultipartClass();
}
request.setAttribute("org.apache.struts.action.mapping.multipartclass",
multipartClass);
//>>>>>>End of patch<<<<<<<<
//
request.setAttribute("org.apache.struts.action.mapping.multipartclass",
//
mapping.getMultipartClass());
Hopefully this also solve your problem.
--- "Boulatian, Misak" <[EMAIL PROTECTED]> wrote:
> Hi Craig and all,
>
> After giving some thought I've tried to step through
> ActionServlet. The
> problem was found in
> processPopulate method in the lines market with '>'
> below. I've included my
> jsp, config and java programs for you to correct me
> if I am wrong. If I am
> doing something wrong then why those marked lines
> never come back (I thought
> that multipartClass is only for file uploads which I
> am not doing now).
> Please let me know if this is a bug or a
> configuration problem on my side?
>
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/