Hi Ranchers,
Given>
Is "count"
thread safe ?
class MyServelet extends HttpServlet implements SingleThreadModel{
private static int count;
}
Given this is the only information:
Is it mandatory to consider
servlet pool for MyServlet ?
because if we assume that pool will be there... then "count" not thread safe.
and if we think pool is not there then count is thread safe.
Any Suggestions on how we have to interpret the above question.
[ March 09, 2007: Message edited by: Srinivasan thoyyeti ]