User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 361,902 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,360 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 13054 | Replies: 14
Reply
Join Date: Jun 2005
Posts: 1
Reputation: efui is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
efui efui is offline Offline
Newbie Poster

JSP shopping cart

  #1  
Jun 21st, 2005
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,576
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 184
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: JSP shopping cart

  #2  
Jun 24th, 2005
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.
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
Reply With Quote  
Join Date: Aug 2005
Posts: 1
Reputation: hotwheel is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
hotwheel hotwheel is offline Offline
Newbie Poster

Re: JSP shopping cart

  #3  
Aug 30th, 2005
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.
Reply With Quote  
Join Date: Jan 2007
Posts: 2
Reputation: Mona Z is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Mona Z Mona Z is offline Offline
Newbie Poster

Re: JSP shopping cart

  #4  
Jan 11th, 2007
headache !!!!!!!

I can not create shopping cart

I use JSP with MS access not MySQL

Reply With Quote  
Join Date: Apr 2006
Location: Mumbai, India
Posts: 352
Reputation: aniseed is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 4
aniseed's Avatar
aniseed aniseed is offline Offline
Posting Whiz

Re: JSP shopping cart

  #5  
Jan 16th, 2007
Originally Posted by Mona Z View Post
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.
Reply With Quote  
Join Date: Jan 2007
Posts: 2
Reputation: Mona Z is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Mona Z Mona Z is offline Offline
Newbie Poster

Re: JSP shopping cart

  #6  
Jan 16th, 2007
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 4:05 pm. Reason: No reason , just a test !
Reply With Quote  
Join Date: Jun 2004
Posts: 125
Reputation: Vinoth is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
Vinoth Vinoth is offline Offline
Junior Poster

Re: JSP shopping cart

  #7  
Jan 19th, 2007
Originally Posted by jwenting View Post
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.
Reply With Quote  
Join Date: Apr 2006
Location: Mumbai, India
Posts: 352
Reputation: aniseed is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 4
aniseed's Avatar
aniseed aniseed is offline Offline
Posting Whiz

Re: JSP shopping cart

  #8  
Jan 19th, 2007
Originally Posted by Vinoth View Post
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.
Reply With Quote  
Join Date: Feb 2006
Posts: 1,318
Reputation: masijade is a jewel in the rough masijade is a jewel in the rough masijade is a jewel in the rough 
Rep Power: 7
Solved Threads: 110
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Virtuoso

Re: JSP shopping cart

  #9  
Jan 21st, 2007
Originally Posted by Vinoth View Post
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.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,576
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 184
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: JSP shopping cart

  #10  
Jan 25th, 2007
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).
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JSP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JSP Forum

All times are GMT -4. The time now is 8:55 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC