0

hey guys, i'm new here!
i would like to know
how to code the "Add to cart" ?
can someone help me please?

3
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by javaAddict
1

Here is how:
1) Post to correct forum
2) Be more descriptive on your problem
3) Show some effort

If you are talking about a web application

4) Learn about request, session
5) Learn about cookies
6) Learn about MVC (find the tutorial at the jsp forum)

Do you have a working web application were the user can login and view the items?

0

i was assigned to do a assignment which is to create a website selling movies.i used the GUI to create the "Add to Cart" button. But, i dont know how to code. I mean what should i code to let other people can click it to add the items they want to the cart??

0

i was assigned to do a assignment which is to create a website selling movies.i used the GUI to create the "Add to Cart" button. But, i dont know how to code. I mean what should i code to let other people can click it to add the items they want to the cart??

Do you know jsp, or how to submit a request using form.
If yes then maybe you can have the button ("Add Cart") submit the form that has the items the customer has selected and after you retrieve them put their ids inside a cookies.
Or if it is required for the user to log in the session

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.