dcsimg
jsp shopping cart
4 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   edward_moughton
Posted On:   Thursday, January 29, 2004 06:11 AM

i have been looking for a jsp shopping cart with an msAccess or Mysql database but have been able to find one, however i did find the example at http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html and have tried to use it, unfortunatly i cant get to work as i cant compile shoppingservlet.java i get the following errors, can anyone help, or can anyone tell me where i can find a jsp shopping cart example. thanks C:InetpubwwwrootjspShoppingServlet.java:3: package javax.servlet does not exist import javax.servlet.*; ^ C:InetpubwwwrootjspShoppingServlet.java:4: package javax.servlet.http does not exist import javax.servlet.http.*; ^    More>>

i have been looking for a jsp shopping cart with an msAccess or Mysql database but have been able to find one, however i did find the example at



http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html and have tried to use it, unfortunatly i cant get to work as i cant compile shoppingservlet.java
i get the following errors, can anyone help, or can anyone tell me where i can find a jsp shopping cart example. thanks




C:InetpubwwwrootjspShoppingServlet.java:3: package javax.servlet does not exist
import javax.servlet.*;
^



C:InetpubwwwrootjspShoppingServlet.java:4: package javax.servlet.http does not exist
import javax.servlet.http.*;
^



C:InetpubwwwrootjspShoppingServlet.java:5: package shopping does not exist
import shopping.CD;
^



C:InetpubwwwrootjspShoppingServlet.java:6: cannot resolve symbol
symbol : class HttpServlet
location: class ShoppingServlet
public class ShoppingServlet extends HttpServlet {
^



C:InetpubwwwrootjspShoppingServlet.java:7: cannot resolve symbol
symbol : class ServletConfig
location: class ShoppingServlet
public void init(ServletConfig conf) throws ServletException {
^


C:InetpubwwwrootjspShoppingServlet.java:7: cannot resolve symbol
symbol : class ServletException
location: class ShoppingServlet
public void init(ServletConfig conf) throws ServletException {
^



C:InetpubwwwrootjspShoppingServlet.java:10: cannot resolve symbol
symbol : class HttpServletRequest
location: class ShoppingServlet
public void doPost (HttpServletRequest req, HttpServletResponse res)
^



C:InetpubwwwrootjspShoppingServlet.java:10: cannot resolve symbol
symbol : class HttpServletResponse
location: class ShoppingServlet
public void doPost (HttpServletRequest req, HttpServletResponse res)
^



C:InetpubwwwrootjspShoppingServlet.java:11: cannot resolve symbol
symbol : class ServletException
location: class ShoppingServlet
throws ServletException, IOException {
^



C:InetpubwwwrootjspShoppingServlet.java:69: cannot resolve symbol
symbol : class HttpServletRequest
location: class ShoppingServlet
private CD getCD(HttpServletRequest req) {
^



C:InetpubwwwrootjspShoppingServlet.java:69: cannot access CD
bad class file: .CD.class
class file contains wrong class: shopping.CD
Please remove or make sure it appears in the correct subdirectory of the classpath.
private CD getCD(HttpServletRequest req) {
^



11 errors
Normal Termination
Output completed (3 sec consumed).

   <<Less

Re: jsp shopping cart

Posted By:   Jason_Billingsley  
Posted On:   Tuesday, February 3, 2004 06:01 PM

"i have been looking for a jsp shopping cart with an msAccess or Mysql database but have been able to find one"


Try MerchantSpace Commerce - http://www.merchantspace.com



You can grab a comprehensive (and free) ecommerce Database Schema and Class Diagram there as well.

Re: jsp shopping cart

Posted By:   Sujatha_Gopal  
Posted On:   Thursday, January 29, 2004 08:25 PM

Re: jsp shopping cart

Posted By:   Sujatha_Gopal  
Posted On:   Thursday, January 29, 2004 08:22 PM

C:Inetpubwwwroot specifys IIS - Web Server for ASP.


Why the jsp folder is placed in the IIS Web Server ???

Re: jsp shopping cart

Posted By:   Sujatha_Gopal  
Posted On:   Thursday, January 29, 2004 08:22 PM

C:Inetpubwwwroot specifys IIS - Web Server for ASP.


Why the jsp folder is placed in the IIS Web Server ???
About | Sitemap | Contact