| | |
JSP shopping cart
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
•
•
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).
The link in his signature is an indicator of the crap he's mentioned in the post. A really WTF code, if you ask me.
Yeah Gods, not only A JSP that is almost nothing but scriptlet (which I can almost understand since he is only demonstrating scriptlet in JSP even if it is wrong to do), but also compounding that by putting html tags and formatting inside the scriptlet block.
Then again, also, would that even compile? I mean no try/catch in the scriptlet. Is that allowed in JSP? I don't use scriptlet at all (or at least very, very little) so I have never tried doing anything that would need a try/catch block so I'm simply not sure if that would even compile.
Then again, also, would that even compile? I mean no try/catch in the scriptlet. Is that allowed in JSP? I don't use scriptlet at all (or at least very, very little) so I have never tried doing anything that would need a try/catch block so I'm simply not sure if that would even compile.
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
----------------------------------------------
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
•
•
Join Date: May 2007
Posts: 1
Reputation:
Solved Threads: 0
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: .
. 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: .
You better create your own post and explain there whats the problem, you do not need to open old post which wasn't a success
Also will be good that you post any coding what you did so far
Also will be good that you post any coding what you did so far
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Similar Threads
- which is the best technology to make online shopping cart? (IT Professionals' Lounge)
- Shopping Cart Not Working (ASP.NET)
- shopping cart using jsp, servlet, javabean (Community Introductions)
- Shopping cart class (Java)
- dell.com shopping cart save feature (Database Design)
Other Threads in the JSP Forum
- Previous Thread: Problem with database connection
- Next Thread: how to read data from database page by page, please it is urgent...
| Thread Tools | Search this Thread |
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write






