Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ApplicationResources  RSS feed

 
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
Sheriff
Posts: 11146
160
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac 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
Sheriff
Posts: 11146
160
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac 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
Boost this thread!