The moose likes Struts and the fly likes html markups in property file Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Struts
Reply Bookmark "html markups in property file" Watch "html markups in property file" New topic
Author

html markups in property file

Leo Lim
Greenhorn

Joined: Apr 25, 2004
Posts: 5
Hi,

I know that it is not a good practice to include html markups in a property file but is there another elegant way to do otherwise?

My error message in the property file is as follows:

error.sessionExpired=Your session has expired. Please <a href="login.jsp">relogin</a>.

Is there another way to go around placing html tags in the resource file value itself using some struts feature?

Thanks.
 
 
subject: html markups in property file
 
Threads others viewed
struts el + html:text-el question
Problem with h:outputText
displaying content containing HTML Tags
Problem in populating data with html:select
how to upload multiple files using Struts
developer file tools