• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A Question in Context.log(String Mes)

 
Vasantha Prabha
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone tell me what is the purpose of
Context.log(String Mes) and What is the use of request.getLocale()
Regards,
Sangeetha
 
danny liu
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a. Context.log(String Mes) log a message to a system log,
you can find it beneath the /logs directory

b. What is the use of request.getLocale()
get some info of the client's environment, e.g., the language the client is using "en-US"
Dan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic