Adding an append method to message.jsp