“ <”字符显示为&amp; lt;在肥皂反应中

问题描述

我正在使用Java,Websphere / Jaxb / Jaxws发送SOAP响应

描述属性值为'age is

public virtual Task StartAsync(CancellationToken cancellationToken)
{
    // Store the task we're executing
    _executingTask = ExecuteAsync(_stoppingCts.Token);

    // If the task is completed then return it,// this will bubble cancellation and failure to the caller
    if (_executingTask.IsCompleted)
    {
        return _executingTask;
    }

    // Otherwise it's running
    return Task.CompletedTask;
}

但是它显示如下

{% for datas in data %}
<div class="row">
    <div class="col-md-12">
        <div class="card shadow-lg">        
            <div class="card-body">
                <div class="row">
                    <div class="col-md-6">
                        <h5 class="card-title"><i class="fa fa-user-circle" aria-hidden="true"></i> 
                            <a href="{% url 'profile' datas.id %}">{{datas.user_id|capfirst}}</a></h5>
                    </div>
                    <div class=" col-md-6 text-right" > 
                        {% if request.user.id == datas.user_id_id %}
                            <button id="edit" value="{{datas.post}}" onclick="edit(this)">Edit</button> 
                            <input type="hidden" value="{{datas.id}}" >
                        {% endif %}
                    </div>
                </div>
                <div id="msg">
                <hr>
                {{datas.post}}
                <hr>
                </div>  
                <div class="row">
                    <div class="col-md-4"><i class="fa fa-thumbs-up"></i></div> 
                    <div class="col-md-4"></div>
                    <div class="col-md-4 text-right">{{datas.post_date}}</div>
                </div>
            </div>
        </div>
    </div>
</div>
<br>
{% endfor %}

在肥皂反应中

在线搜索后,Jaxb会转义一些特殊字符(如等)并将其更改。

是否可以通知jaxb不要在Websphere服务器级别或任何其他解决方案中进行转义。

请帮助我。

谢谢, 哈里。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)