RESTful和HTML内容

时间:2012-03-13 10:27:50

标签: spring alfresco

我有一个RESTful调用问题。 Alfresco返回我的Spring代码这个XML

<questions>
    <question>
        <name>INTRO</name>
        <title>Intro</title>
        <subtitle>Let's start the test!</subtitle>
        <content><p>Welcome!</p></content>
        <type>NORESPONSE</type>
    </question>
</questions>

通过此次通话

Questions questionList = (Questions) restTemplate.getForObject(webScriptUrl, Questions.class, params);

我的bean的content属性总是空的;我很确定这个问题与html标签有关,因为所有其他属性都是相关的。我如何告诉编组人员考虑标记包含HTML代码的内容?

感谢, 安德烈

0 个答案:

没有答案