File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes is there error in servlet 3.0 specification ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "is there error in servlet 3.0 specification ?" Watch "is there error in servlet 3.0 specification ?" New topic
Author

is there error in servlet 3.0 specification ?

gurpeet singh
Ranch Hand

Joined: Apr 04, 2012
Posts: 924
    
    1

please have a look at page 12 where the specification talks about asynchronous servlet processing. following is a quote from the specs

public AsyncContext startAsync(ServletRequest req,
ServletResponse res). This method puts the request into asynchronous
mode and initializes it’s AsyncContext with the given request and response
objects and the time out returned by getAsyncTimeout


i have checked the api docs for AsyncContext and there is no method like getAsyncTimeout instead there is getTimeout. also i'm using latest maintainence release of the specifications. please confirm ?

Regards
Gurpreet
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1733
    
  25

I think that is indeed a mistake it should have been getTimeout()

Regards,
Frits
 
 
subject: is there error in servlet 3.0 specification ?