-2

I want to make an web application that have session for user and also for shopping cart. How is it possible to maintain session of both user and cart. Please give me some references for the same.

4

1 回答 1

0

如果我理解正确的话,这完全没有问题。只需使用 @SessionScoped 注释购物车和用户。

根据您使用的内容(JSF 或 CDI)选择正确的 SessionScoped。

于 2013-06-28T09:16:11.060 回答