• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

I Got NullPointer Exception in spring access other field with enctype="multipart/form-data

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Spring XML Configuration file


CreateLookupCommand.java class


createcatalogueindex.jsp



CreateLookupValidator.java


it will throw null pointer exception...

but i removed enctype="multipart/form-data" in fom its working properly...

but file cannot request to file system without enctype="multipart/form-data"



the size of obfileItem is zero..
conclusion otherfiled working without enctype="multipart/form-data" not file
file working with enctype="multipart/form-data" but other filed throw null pointer exception....

ple anyone help me
 
reply
    Bookmark Topic Watch Topic
  • New Topic