Maintenance Messaging
The file codebase/netmarkets/jsp/util/begin_custom.jspf can also be used to add custom messages to the page for system maintenance or mass communication. For example, place the following code in this file:
<div style="color: sienna; position: absolute; top: 15px; z-index: 1000; left: 300px; font-size: 18px;">
<h1>This is a test</h1></div>
</div>
You should place any HTML for your message within a div as in this example. You can then use css to position and style the message as desired.
Character Encoding Considerations
On recent versions of Tomcat the following line should be added to begin_custom.jspf to ensure that the character set is set to UTF-8. Otherwise content may not display correctly.
<%@ page contentType="text/html; charset=UTF-8" %>
Было ли это полезно?