Win a copy of Svelte and Sapper in Action this week in the JavaScript 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

AppResource.properties

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can i have multiple *.properties files? in more general if i decide to have one *.properties file for one action is it possible? if yes how do i tell which *.property to use and when eg(ApplicationResources,ApplicationResources1)?
<message-resources parameter="com.navteq.struts.ApplicationResources" />

<message-resources parameter="com.navteq.struts.ApplicationResources1" />

Thanks
aziz dhanani
 
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course, it is possible to have one properties per action... You will need to configure it in your configuration file to tell the server where to fetch your properties files...
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But in case 1 dispatcher contains several actions, then how should I achieve this?

Nick
    Bookmark Topic Watch Topic
  • New Topic