jsp+MySQL+servlet

CSDN Q & A 2022-02-13 07:03:25 阅读数:822

jsp+mysql+servlet jsp mysql servlet

Want to realize the shopping cart function , Ask the boss for help ............




Take the answer :

Can't write code Still none The database table does not The page has no code



Other answers 2:

I have a spring+mysql The shopping cart ...


Other answers 3:

Shopping cart function interviews often mention

  1. Shopping cart without login , Store information with cookie
  2. Shopping cart in login status , It can be stored in client cache or server cache , for example cookie、redis、 You can also save it directly to the database
  3. If it is stored without login cookie The situation of , After logging in, the shopping cart items will be stored in the database
copyright:author[CSDN Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130703238071.html