aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes spec gotcha Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "spec gotcha" Watch "spec gotcha" New topic
Author

spec gotcha

Rishi Yagnik
Ranch Hand

Joined: Jan 04, 2001
Posts: 84
SRV.2.1.3 Conditional GET Support
Hey Specs says that HttpServlet interface defines getLastModified() method to support conditional get support....
don't u think that specs seems to be misleading .......
API CLearly says HttpServlet is a Class not a interface don't u all think that such mistake should not have been done by sun.....
Rishi
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
The word "interface" has more than one meaning. In the narrow sense, it means a Java interface. In the broad sense, it indicates the (public) API with which an object or module interfaces to the outside world, such as the public methods of a class; in this sense, you can even use the word "interface" with programming languages such as C++ that have only classes.
You could perhaps argue that the specification should have stuck with the narrow definition of "interface" for clarity's sake.
- Peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: spec gotcha