weblogic Error 404--Not 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为什么会胡乱报错

posted @ 2011-11-17 20:06  七郎  Views(2951)  Comments(0Edit  收藏  举报