• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JWeb Plus Question ID: 996171458475

 
Mikalai Zaikin
Ranch Hand
Posts: 3371
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following classes provide methods to write messages to a log file?
1. GenericServlet
2. ServletRequest
3. HttpServletRequest
4. ServletContext
5. Only GenericServlet
I had answered 1 and 5,
but correct options are stated : 1 and 4.
BUT: ServletContext is an interface, not class, so I propose to change question as follows:
Which of the following classes/interfaces provide methods to write messages to a log file?
 
Raj Paul
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes true.
 
Paul Anilprem
Enthuware Software Support
Ranch Hand
Posts: 3817
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are right. We'll incorporate your suggestion.
thanks,
Paul.
 
jeffrey z. lee
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there only one servlet log in web application?
thank for answering my question.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic