sorry mate..this is the code that throws the exception if (actioncalled!=null && actioncalled.equals("upload")) { System.out.println("inside upload action");
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 >> at >> actions.DeployAction.execute(DeployAction.java:139) > > Why wouldn't you include the code that's throwing the > exception?! > > d. > > > > > ____________________________________________________________________________________ > It's here! Your new message! > Get new email alerts with the free Yahoo! Toolbar. > http://tools.search.yahoo.com/toolbar/features/mail/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Form-Upload-throwing-null-pointer.-cannot-retrieve-the-file-in-action-class..HELP-URGENT%21%21%21-tf3983276.html#a11309749 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]