79826365

Date: 2025-11-21 10:01:44
Score: 4.5
Natty:
Report link

I solved setting an attribute in a ServletContext object in the init method of a servlet. Then I set the loadOnStartup parameter of the @WebServlet annotation to 0 for this servlet and to a value > 0 for the others. What do you think about this solution?

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @WebServlet
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: bui3