In my web application, I want to send text back to
addActionError("User not logged in. <a href=\"logon\">Click Here</a> to log in");
The problem is that the html text is displayed as plain text and not displayed as a click link.
Set the attribute escape="false" in the <s:actionerror> ; it defaults to true :
escape="false"
<s:actionerror>
true
<s:actionerror escape="false"/>
See <s:actionerror> docs for more details. Roughly speaking:
escape default=false required=false type=Boolean ==> Whether to escape HTML
Source: https://habr.com/ru/post/1380970/More articles:do CALayer subclasses produce EXC_BAD_ACCESS during animation, but direct instances don't? - iosHow to make PyCharm / PyDev / other IDE applications to complete code for IronPython namespace? - pythonHow to remove plurals in a list of nouns? - pythonLua metatables chain - luaHow to create a custom map on Google Maps? - javaDoes the default argument in C ++ have some special properties? - c ++add Perl Modules' directory to include the path using .htaccess for CGI scripts - moduleimage does not appear in appstore version of iPhone app - iosDeclaring a JavaScript function inside a variable? - javascriptJadclipse error during DECOMPILATION report - eclipseAll Articles