WW-3676 Uses simple toString() for non-null objects to support other types than String and Integer

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1484461 13f79535-47bb-0310-9956-ffa450edef68