I wantr to know, How many number of users logged in to
website? can any one answer
Answer Posted / raju
we need to write a servlet class, that is login servlet class. Whenever user going to login to the application ,server has to create login servelt object. so every time service method got executed for every user login. so write a private static int count variable as part of login servlet class and increment the counter value in service() method and store the counter value into application scope.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is meant by JRMP?
What is colon_pkg_prefixes and what is its use?
Describe activation process?
Explain how will the struts know which action class to call when you submit a form?
Can I run seam with jdk 1.4 and earlier?
Can we sent objects using Sockets?
Explain about RMI Architecture?
Why use POJO when I can use hashmap
how i secure my site with the https protocol.what are the steps?
What is a class loader?
What class is used to create Server side object ?
What is the diffrence between a local-tx-datasource and a xa-datasource?
What is the map interface?
Name three component subclasses that support painting?
hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me