zoukankan      html  css  js  c++  java
  • weblogic Error 404Not Found 三元表达式

    访问weblogic的一个页面,页面上出现一个错误:

    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
     

    从错误提示看是访问路径配置错误问题,

    找了好久,才发现其实原因是页面上使用了了三元表达式

    ${item.payeebankno=='null'?'':item.payeebankno}

    改为

    <c:if test="${item.payeebankno!='null'}">
              ${item.payeebankno}
    </c:if>即可

    不知道weblogic为什么会胡乱报错

  • 相关阅读:
    第一次极限测试效果图-完整四张
    第一次极限测试效果图
    ajax遍历list数据解决方法
    读书笔记1
    读书笔记2
    读书笔记3
    每日学习
    关于根据数据反选checkbox
    zabbix监控kernel.pid_max
    React 学习项目1
  • 原文地址:https://www.cnblogs.com/yangy608/p/2253105.html
Copyright © 2011-2022 走看看