943,948 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 31176
  • JSP RSS
You are currently viewing page 1 of this multi-page discussion thread
Jun 21st, 2005
0

JSP shopping cart

Expand Post »
Need help with creating a shopping cart in JSP . The problem is am very new to this environment(JSP) and I have undertaken a project to develop an e-commerce web-site with shopping cart linking to a MySQL database. The main goals of the shopping cart is to process orders and send an email confirmation to the customer.

If anyone can help it will be greatly appriciated :cheesy: .

mail address: mikekumatia@yahoo.co.uk or efui1@hotmail.com
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
efui is offline Offline
1 posts
since Jun 2005
Jun 24th, 2005
0

Re: JSP shopping cart

Don't think JSP but include servlets, javabeans, and probably an MVC framework.

Don't go off reinventing the wheel but examine existing technologies and use those to your advantage.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Aug 30th, 2005
0

Re: JSP shopping cart

Take a look at the Elastic Path documentation. It is commercial software but you can gather some good ideas about ecommerce architecture. Also look at the demo of the JSP shopping cart for a detailed architecture breakdown.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
hotwheel is offline Offline
1 posts
since Aug 2005
Jan 11th, 2007
0

Re: JSP shopping cart

headache !!!!!!!

I can not create shopping cart

I use JSP with MS access not MySQL

Reputation Points: 10
Solved Threads: 0
Newbie Poster
Mona Z is offline Offline
2 posts
since Jan 2007
Jan 16th, 2007
0

Re: JSP shopping cart

Click to Expand / Collapse  Quote originally posted by Mona Z ...
headache !!!!!!!

I can not create shopping cart

I use JSP with MS access not MySQL

What prevents you from creating it? There is no problem in using MS Access if you realize that there are some inherent limitations to it.
Reputation Points: 48
Solved Threads: 7
Posting Whiz
aniseed is offline Offline
353 posts
since Apr 2006
Jan 16th, 2007
0

Re: JSP shopping cart

WoOow

Just in this day I knew How can I add to cart !

the error was trivial !

after my exams period - if I pass it -, I will say what the error was
Last edited by Mona Z; Jan 16th, 2007 at 5:05 pm. Reason: No reason , just a test !
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Mona Z is offline Offline
2 posts
since Jan 2007
Jan 19th, 2007
0

Re: JSP shopping cart

Click to Expand / Collapse  Quote originally posted by jwenting ...
Don't think JSP but include servlets, javabeans, and probably an MVC framework.

Don't go off reinventing the wheel but examine existing technologies and use those to your advantage.

Since he is new, there is no need to go with servlets , you can search google to find some good codes to start with.

when u think u are perfect then jump to what my friend said and also look over struts framework.
Reputation Points: 13
Solved Threads: 2
Junior Poster
Vinoth is offline Offline
125 posts
since Jun 2004
Jan 19th, 2007
0

Re: JSP shopping cart

Click to Expand / Collapse  Quote originally posted by Vinoth ...
Since he is new, there is no need to go with servlets , you can search google to find some good codes to start with.

when u think u are perfect then jump to what my friend said and also look over struts framework.
He's not new now. The post is 18 months old. I only see exclusion of servlet as a part of a bad advice. If one doesn't know servlets, what to start with? Yeah, I know the usual argument that JSP is easy to learn which eventually leads to bad code and unimaginably bigger problems.
Reputation Points: 48
Solved Threads: 7
Posting Whiz
aniseed is offline Offline
353 posts
since Apr 2006
Jan 21st, 2007
0

Re: JSP shopping cart

Click to Expand / Collapse  Quote originally posted by Vinoth ...
Since he is new, there is no need to go with servlets , you can search google to find some good codes to start with.

when u think u are perfect then jump to what my friend said and also look over struts framework.
As aniseed alluded to above, this is exactly the wrong attitude. If he were new, that would be the best reason to do right the first time, even if it may be, at first, a little harder. It is still much easier than doing it wrong first, and then attemtping to "relearn" it the right way, which will then lead to hundreds of responses in future threads of the style "but I have always done it this way ...." arguing that the good advice he is getting is wrong, because it does not fit his style of bad coding.

The comment above is just like when someone suggests a newbie should use a IDE for development and shouldn't worry about how the stuff is actually compiled and jarfiles referenced because the IDE will do it for him. Then, two weeks later, that same newbie is filling up forums because he can't compile/run his "application" to run outside of the IDE, or he now no longer has access to his IDE and now doesn't know how to conitune. Or, there is a problem in his GUI (or something), which he let the IDE generate the code for, and he has no idea how to go about fixing it.
Moderator
Reputation Points: 1471
Solved Threads: 490
Industrious Poster
masijade is offline Offline
4,043 posts
since Feb 2006
Jan 25th, 2007
0

Re: JSP shopping cart

what Vinoth also doesn't seem to understand is that without servlets there would not be JSP.
JSP are compiled into servlets, they ARE special servlets with a different syntax.

And unless you use them as intended only for display purposes, you get incredibly messy spaghetti code (I should know, that's how I started in the days when servlets and JSPs both were fresh out of Sun, back in the late 1990s, and everyone put reams of Java code into JSPs).
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004

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: Problem with database connection
Next Thread in JSP Forum Timeline: how to read data from database page by page, please it is urgent...





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


Follow us on Twitter


© 2011 DaniWeb® LLC