Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
上Google app engine,我是否需要在每个页面(jsp)中通过Gmail登录用户import & initialize的对象userService,还是有更好的方法来实现这一点?filters例如使用?
Google app engine
import & initialize
userService
filters
使用会话,当您登录时存储用户 ID 并为您经常使用的会话获取适当的数据。然后只在 userService 之前检查会话。