• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpServlet constructor

 
Pramod Kumar Pandey
Ranch Hand
Posts: 52
Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found that HttpServlet class constructor is throwing a RuntimeException .
what Does it mean ? . As we know Its constructor will run before my Servlet is instantiated by container.
 
E Armitage
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you find that code?

The one in the standard API has

 
Maneesh Godbole
Saloon Keeper
Posts: 11308
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You most probably are looking at a .class (and not .java) file in Netbeans as explained here
 
Pramod Kumar Pandey
Ranch Hand
Posts: 52
Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for clarification. i was looking in IDE not standard API.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic