Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Tracking Servlets in Chap. 9, Marty Hall's "Core Servlets and JSP"

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am self studying the "Core Servlets and JavaServer Pages" by Marty Hall, ISBN:0-13-0893404. And I am trying to learn his example of "An On-Line Store Using a Shopping Cart and Session Tracking" in Chap. 9, Section. 4. The relevant codes are listings 9.2 to 9.9.
I have downloaded and compiled all the codes. I thought the CatalogPage.java is a starting point for servlets that want to display items for sale; however, things did not turn out that way. At least, things did not work for me.
The programs are supposed to display a catalog first, and then display categories of books for shopping on-line. I just cannot figure out how to make it work.
I am hoping that someone has worked out that example. Please explain. Thanks in advance
 
Xinbo Cheng
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JiaPei,
I think you have to start from
KidsBookPage or TechBookPage since CatalogPage is just a base
class for these specific classes to extend. By the way, I'm teaching myself servlet and jsp using the same book, if you are
interested in having discussions about the book, please E-mail
me at chengx@yahoo.com
Xinbo
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic