Hi - I may be missing something completely obvious here but is there a tag to output raw html in struts. My problem is I am driving all my text from message resources for internationalisation but some words need to be bold etc - at the moment I am having to output each paragraph in seperate parts with the text decoration tags around them. ideally id like the whole paragraph as one in the props file with tags around the words / phrases i want bold etc.
hope that makes sense?
posted 9 years ago
i'm using style information in some properties, this for example
will render all my error messages in style "errorText".
i guess it's more a question of responsibility. do i want to mix style with text information? i'd personally think it's okay up to a certain level.
but if your application is really "content driven", then you should rather go for something more CMS-like (content management system). which means: persist text and its formatting in the database, not in a property file.