最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - Newer install of EclipseTomcat not treating JSP Session scopes correctly - Stack Overflow

programmeradmin5浏览0评论

Got a new machine and had to do a new install of Eclipse and Tomcat, was not as easy in the past but got things running for the most part. However, I have JSP beans in a lot of my files like this.

<jsp:useBean id="objSusHelper" class="Sustainability.SustainabilityHelper" scope="session"/>

And the same class instance would be used for the whole session, but now I can tell it's being reinitialized everytime web pages are called by putting a breakpoint in the constructor, and it should not be doing that. Anyone know why that is? I really did try a search but coming up with nothing. Using the localhost tomcat8.5.

发布评论

评论列表(0)

  1. 暂无评论