views:

15

answers:

1

Hi, is it possible to have a property that has multiple lines in messages.properties?

e.g. (my.property below)

my.property=This property will
be in two lines
my.property.two=Another property

I need this for help texts which I'll be putting in the properties file... and I don't want to do appends.

Any help would be appreciated. Thanks!

+1  A: 

Yes, it is possible.

Write them like this (using backslash \ as an escape character):

my.property=This property will \
be in two lines
my.property.two=Another property
mgamer
There we go! Thanks!!! :D
callie16