File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes ApplicationResources Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ApplicationResources" Watch "ApplicationResources" New topic
Author

ApplicationResources

Raj Kum
Greenhorn

Joined: Oct 06, 2003
Posts: 3
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

Joined: Feb 26, 2001
Posts: 4456
    
    6

You can't. You'd have to do that with code or by simply juxtaposing two bean:message tags in your JSP


Junilu - [How to Ask Questions] [How to Answer Questions]
Raj Kum
Greenhorn

Joined: Oct 06, 2003
Posts: 3
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

Joined: Feb 26, 2001
Posts: 4456
    
    6

check out the JavaDocs for org.apache.struts.validator.Resources
Raj Kum
Greenhorn

Joined: Oct 06, 2003
Posts: 3
Thanks a Lot
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ApplicationResources