•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 426,451 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,367 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: 14285 | Replies: 14
![]() |
•
•
Join Date: Apr 2006
Location: Mumbai, India
Posts: 351
Reputation:
Rep Power: 0
Solved Threads: 5
•
•
•
•
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:
Rep Power: 0
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: .
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,455
Reputation:
Rep Power: 11
Solved Threads: 296
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)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
![]() |
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Shopping Cart Not Working (ASP.NET)
- which is the best technology to make online shopping cart? (IT Technologies and Trends)
- 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...



Linear Mode