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 ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Struts 1.3.10 Encoding issue

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a form that has the following definition (the important part is the enctype)



By using this format, FF and IE can upload files and pass encoded characters properly, but Chrome has sporadic issues.

Using the below works in FF and Chrome, but breaks encoded characters in IE.



We need to be able to receive encoded characters and upload files in FF, Chrome and IE. However, I am unable to find a form "signature" that works for all three. I thought I had read somewhere that there may be a configuration setting somewhere to set the encoding instead of having to do it on the form. I am not even sure why struts would mess with the encoding on the form to begin with. We do not have an option of upgrading to a more recent version of struts.

Thanks for any possible suggestions.
 
    Bookmark Topic Watch Topic
  • New Topic