jsp里面放的java代码,总是出错,给看看
PHP中文网
PHP中文网 2017-04-18 09:58:28
0
5
380
PHP中文网
PHP中文网

认证高级PHP讲师

reply all(5)
巴扎黑
<% if(${porfiles.bdb}.equals("0")){
}

Syntax error. Looking at the error message, it is obviously a jsp compilation error.
There is a problem with the syntax in this place.
In jsp, If you want to use el expression, don’t use it inside <%%>
Just use it outside

黄舟
<%}else if(){
    %>

Here, what’s the condition of if?

左手右手慢动作

In addition to what is mentioned above, it is more reliable to put the string 0 in the front, otherwise it will be empty in the front

PHPzhong

Never write this kind of code, readability and maintainability are zero. !

刘奇

Replace it with a C mark, it’s so messy and hard to find

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!