*
The moose likes Cattle Drive and the fly likes Out with the old..... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Out with the old....." Watch "Out with the old....." New topic
Author

Out with the old.....

Carol Murphy
village idiot
Bartender

Joined: Mar 15, 2001
Posts: 1194
And in with the new, but I'm looking at the old version of VideoServlet and I noticed I had made use of an abstract class whose purpose was to create some object for storing the videos. The assignment now wants a servlet class and another jsp. I'm trying to remember the rationale for using the abstract class, and why the same approach wouldn't apply here. I'm assuming all of the code for declaring the list of videos, adding to it, and retreiving it for display should go inside the one servlet class. Should I bother reying to re-work old stuff, or would I be better off starting fresh?
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
You don't need an abstract class because all the servlet stuff is inside one class now. When I redid the assignment, I took some stuff from the old, but it's a lot different now. I'm not sure how much the old will help you.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Out with the old.....
 
Similar Threads
Another question about assignment 3b
abstract method
Videos 4a only half works!
com folders everywhere......
Abstract Inner Classes