• 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

conflict while loadning from application_resource

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there,
we are facing a serious problem.. but dont know what is the reason.
our application runs on jboss 4.0.2..
we are using struts..
we have configured application_resources to support two languages..
the struts locale_key is also set as follows.
for german
session.setAttribute(org.apache.struts.Globals.LOCALE_KEY,new java.util.Locale("de","DE"));
for english
session.setAttribute(org.apache.struts.Globals.LOCALE_KEY,new java.util.Locale("en","US"));

but sometimes even if english is set for somr pages german words are taken from application resources..
this is happening after we have configured virtual hosts for the server..
now we have two domain names for the same application..
and the conflict is showing for only one domain..
please help us to solve the problem
thanks in advance
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic