944,113 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 532
  • JSP RSS
Nov 4th, 2009
0

hi~need some help~

Expand Post »
hey guys, i'm new here!
i would like to know
how to code the "Add to cart" ?
can someone help me please?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
hanzooi is offline Offline
7 posts
since Nov 2009
Nov 4th, 2009
-1
Re: hi~need some help~
You need to be more specific otherwise you get just general response...
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,659 posts
since Dec 2004
Nov 4th, 2009
1
Re: hi~need some help~
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?
Sponsor
Featured Poster
Reputation Points: 1014
Solved Threads: 447
Nearly a Senior Poster
javaAddict is offline Offline
3,260 posts
since Dec 2007
Nov 4th, 2009
0
Re: hi~need some help~
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??
Reputation Points: 10
Solved Threads: 0
Newbie Poster
hanzooi is offline Offline
7 posts
since Nov 2009
Nov 4th, 2009
-1
Re: hi~need some help~
Moving to JSP section
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,659 posts
since Dec 2004
Nov 4th, 2009
0
Re: hi~need some help~
Click to Expand / Collapse  Quote originally posted by hanzooi ...
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
Sponsor
Featured Poster
Reputation Points: 1014
Solved Threads: 447
Nearly a Senior Poster
javaAddict is offline Offline
3,260 posts
since Dec 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: JSP Page Interaction
Next Thread in JSP Forum Timeline: send a function in a JSON through java





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC