• 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
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

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.
 
So it takes a day for light to pass through this glass? So this was yesterday's tiny ad?
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic