我是菜鸟
在web.xml文件中web-app中加入以下代码出错(<>没写上)
Context
resource-env-ref
description
test
/description
resource-env-ref-name
bean/userinfo
/resource-env-ref-name
resource-env-ref-type
jndi.userinfo
/resource-env-ref-type
/resource-env-ref
/Context
报错:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'Context'.
context标签的属性到底是什么啊
我在webapp文件下jndi文件下创建的项目path设置为“/jndi” docBase设置为“/jndi"貌似也不行