it just sets a variable that i need to use in the action.
newton.dave wrote:
>
> What does the "upload()" method in your
> do?
>
> --- vbharath19 <[EMAIL PROTECTED]> wrote:
>
>>
>> when i get the formfile using getthefile
>>
>>
&
when i get the formfile using getthefile
newton.dave wrote:
>
> --- vbharath19 <[EMAIL PROTECTED]> wrote:
>> if (actioncalled!=null &&
> actioncalled.equals("upload")) {
>> System.out.println("inside upload action");
>> F
FormFile myFile = deploymentForm.getTheFile();
}
newton.dave wrote:
>
> --- vbharath19 <[EMAIL PROTECTED]> wrote:
>> when i run the page and upload the file and invoke
>> the action class i get the following error.
>>
>> java.lang.NullPointerException
>
done..it doesn't work..any other ideas?
nuwan chandrasoma-2 wrote:
>
> Hi,
>
> try removing the .do from your action in the form and just put the action
> name what is in the struts-config.xml.
>
> Thanks,
>
> Nuwan
>
>
> - Original Me
Hi,
I have a jsp from which i upload a file. this field is of Formfile type.
jsp entry:
I have not used bean:define in the jsp. when i use it,it throws cannot
assign null exception.
in the struts config xml, entries are present for form - bean
5 matches
Mail list logo