• Post Reply Bookmark Topic Watch Topic
  • New Topic

HTML messages for displaying to the User and in Email Body

 
mahesh rao
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to Java development and to Spring framework. In my application, I need to send emails with HTML body. Also, there are many messages (HTML) that need to be displayed to the user on number of screens.

What is the recommended and efficient way to maintain different HTML text messages ? Is maintaining 'properties' file a good option ? I read an article that properties file should not be used for HTML text but only for plain text.

Thanks,
Mahesh
 
Surendra Kumar
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can use properties files for any static text.
I don't think there is any better way to store static messages.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!