[EMAIL PROTECTED] wrote:
Hello, I'm currently having a problem with the Struts
org.apache.struts.upload.FormFile.
In particular, I want to upgrade my J2EE-Struts application with the upload
file functionality.
In one of the existing jsp I put this line of code:
<html:form action="...">
...
<td align="left"><html:file property="theFile" size="14"/></td>
...
</html:form>
and in the Form class:
...
import org.apache.struts.upload.FormFile;
...
private FormFile theFile;
public FormFile getTheFile() {
return theFile;
}
public void setTheFile(FormFile theFile) {
this.theFile = theFile;
}
Now, before proceeding, I noted that I display correctly the jsp but when I
submit the form (for execute other functionality already existent and
tested) I've obtained the following error:
[SAPEngine_Application_Thread[impl:3]_31] ERROR
(NGCRequestProcessor.java:129) - [NGCRequestProcessor].process(...)
[NGCRequestProcessor].process(...)
Anyone can help me ?
Thanks in advance
Regards,
Gianfranco
What is NGCRequestProcessor? I assume it's your own custom extension of
the standard RequestProcessor. Without seeing the code and the full
error / stack-trace I can't offer a diagnosis, but setting the correct
form encoding as described by the other poster is a good thing to try as
a first step.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]