File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes beer4all shopping cart example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "beer4all shopping cart example" Watch "beer4all shopping cart example" New topic
Author

beer4all shopping cart example

Maxime Duval
Greenhorn

Joined: Apr 27, 2005
Posts: 7
There is an shopping cart example using struts named beer4all (you can find it here : http://sourceforge.net/projects/struts .

I cant seem to make it work. It use a Hypersonic DB. I place the beer4all.data, beer4all.script and beer4all.properties files under C:\hsqldb\data and I modify my repository.xml file to "C:\hsqldb\data\beer4all" .

I start my database using this command: runserver -database beer4all -port 8887 .

Everytime I start the beer4all application (on Tomcat 5.5) I get this error when I try to login:

javax.servlet.ServletException: org.odmg.QueryException
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:507)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:448)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Anyone around here made it work and coulp help me?

Maxime
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: beer4all shopping cart example