javax.el.PropertyNotFoundException: Property 'ContextPath' not found on type org.apache.catalina.core.ApplicationHttpRequest

在javabeans命名规范中不允许第一个字母大写第二个字母小写,建议方法改写成小写字母开头

test="${!empty sessionScope.car.items} " 错误

正确的写法如下所示:
test="${!empty sessionScope.car.items}"
在双引号之间不能出现空格之类的东西
在 el表达式的后面不允许出现空格之类的

相关文章:

  • 2021-06-26
  • 2021-12-22
  • 2021-06-26
  • 2021-10-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-18
  • 2021-07-11
  • 2021-09-02
  • 2021-12-16
  • 2021-08-22
  • 2021-09-18
相关资源
相似解决方案