• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

couple of questions

 
muthu kumaran
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) When a GET request is made to an implementation of an HttpServlet which does not
override the doGet() method ,Tomcat throws up an Exception. Is this behaviour specific to tomcat or is it mentioned in the specification to do so?

2)Is the authentication method CLIENT-CERT supported by all application conatainers ?

Thanks
Muthu
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) I guess that this is a normal behaviour for all containers (have to check this one out)

2) As it is not necessary, there may be containers not supporting it
 
Ernesto Leyva
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was reading the servlet Spec 2.4 says the servlet may throw two Exceptions while executing the service method

1) ServletException: This signals a permanent error condition an the servlet should be destroyed. The J2EE API Reference does not mention that though.
2) UnavailableException: This signals a temporal error the server does not have to be destroyed.

The spec does not explicitly mention to throw an exception when no HTTP method match is found but I suppose is a de facto thing.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic