• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ApplicationResources

 
Raj Kum
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Could any body tell me how to concatenate variables inside an ApplicationResources.properties file.
For example
key1=value1
key2=key1+value2
I mean just concatenating like the strings
 
Junilu Lacar
Bartender
Posts: 7480
50
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't. You'd have to do that with code or by simply juxtaposing two bean:message tags in your JSP
 
Raj Kum
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for answering my question. I don't want to concatenate it with <bean:message...> tags. But how can I do it with in the code? Which class do I need to reimplement?
I appreciate your answers.
 
Junilu Lacar
Bartender
Posts: 7480
50
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check out the JavaDocs for org.apache.struts.validator.Resources
 
Raj Kum
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a Lot
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic