File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes A Question in Context.log(String Mes) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "A Question in Context.log(String Mes)" Watch "A Question in Context.log(String Mes)" New topic

A Question in Context.log(String Mes)

Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
can anyone tell me what is the purpose of
Context.log(String Mes) and What is the use of request.getLocale()

Regards,Vasantha<p>Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
danny liu
Ranch Hand

Joined: Jan 22, 2004
Posts: 185
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"
I agree. Here's the link:
subject: A Question in Context.log(String Mes)
Similar Threads
String date error format
Catching exception break a loop.
using item in arraylist as order
problem in web application with connection pooling