• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Init method of Servlet

 
Tony romer
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If init method fails to complete,
what type of error the user gets?
404 or 500?
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normally it should be a server side error and it should be 500.

But if it is a compile time issue, then you might have caught it during the compilation of your servlet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic