jsp 的作用域

page 时候,

pageContext.setAttribute报错

解决办法:

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>

原文地址:https://www.cnblogs.com/listenerxx/p/15370925.html