Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

out of memory error while file uploading

Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have file upload functionality in my application, so am using formFile.
I am getting out of memory with that formFile element, even when am not uploading any file and simply trying to move onto next screen, its showing out of memory error.
I came to know that we can use 'controller' element in struts-config.xml for these type of issues. How can we do it? Waht about 'org.apache.struts.config.ControllerConfig' class? we need to use this class if we have specified 'controller' element in struts-config.xml?

whats the use of 'ContollerConfig' class and 'controller' element in xml?
we need to use both or what? any code snippest will be helpful..
Plz reply ASAP.
Thanks in advance.
I want my playground back. Here, I'll give you this tiny ad for it:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic