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

Strange servlet behaviour

 
Chris Siciliano
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone !

I read in the servlet 3.0 spec that servlet declare with @WebServlet must extends HttpServlet. I test with extends GenericServlet or implements Servlet
and it works...

Then i read when i call getAsyncContext() without call startAsync() before throws IllegalException. But it returns just null (no exception)..

Do you have explanations about this behaviour ?? I used Tomcat 7 like container.

Thank you !!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic