GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Programming  >  JSP
Go To First  |  Previous Question  |  Next Question 
 JSP  |  Question 180 of 184    Print  
Find the number of Visitors
How we can find the number of visitors in a given site?
How to find the count of number of hits to a particular page irrespective of user?



  
Total Answers and Comments: 1 Last Update: December 10, 2008     Asked by: abheeshekreddy 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 09, 2008 23:25:59   #1  
maneesh.ce.2007 Member Since: November 2008   Contribution: 12    

RE: Find the number of Visitors
On load of that page...Call a function that has a static variable say count 0;
now return from that method count++;
so now when everytime ur method gets called this function will get load and increment the value of count....which u can get using < > 'Expresion'...

 
Is this answer useful? Yes | No

 Related Questions

Skill/Topic: Programming ConstructsA) The Local Systems IP Address B) Local Systems Port Number C) Remote System’s IPAddress D) Remote System’s Port Number. 

Which of the following statements is true about the IP address used to identify the page location in a server? 
Skill/Topic: FundamentalsA) Every computer connected to a network has an IP address. B) An IP address is a number that uniquely identifies each computer on the Net. C) An IP address is a 32-bit number. 

Which of the following statements is true for reducing the number of writes to the client from the Servlet?
Skill/Topic: ServletsA) Use StringBuffer instead of String even for concatenating a group of Strings.B) Avoid writing every small string to clientC) Instead store all the strings into a StringBuffer and 

My application is displaying the following JSP error :-HTTP Status 500 - type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.jasper.JasperException: Unable to compile class for JSPorg.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler. java:97)org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346 )org.apache.jasper.compiler.Compiler.generateClass(Compiler.java
Read Answers (3) | Asked by : Mr. Ram

Hi friends,Please help me to find out solution for this problem.java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor indexim not able to resolve this.Thank you in advance,Fatima

How to retrieve every n number datas from database and to display those records on webpage using JSP method?
Read Answers (1) | Asked by : rajkumar

How we can find the number of visitors in a given site?How to find the count of number of hits to a particular page irrespective of user? 
Latest Answer : On load of that page...Call a function that has a static variable say  count=0;now return from that method count++;so now when everytime ur method gets called  this function will get load and increment the value of count....which u can get using ...


 Sponsored Links

 
Related Articles

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

SQL Programming

SQL Programming Overview Anybody who has done something for a long time has probably wanted to change how things work at some point or another. A worker at a mill might have found a more efficient way of cutting logs, or a mathematics teacher might have had a hand in changing a school&rsquo;s al
 

WinRunner Programming Concepts

If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn
 

Programming Languages Certification

IT Certification programs have several options that will offer you the best knowledge.&nbsp; By learning everything that you need to know about information technology you will be able to open new doors to your career and personal business desires.&nbsp; IT Certification offers several vari
 

Neuro-linguistic Programming Methods

Neuro linguistic Programming Methods There are several methods used for performing Neuro linguistic Programming on an individual for obtaining insights into the psyche of the person in order to correct to modify certain patterns of behavior These techniques are also used for Neuro linguistic trainin
 

The Difficult Past of Neuro-linguistic programming

The Difficult Past of Neuro linguistic programming Neuro linguistic programming has had a rocky past with a number of lawsuits rivalry unsystematic development and intermittent progress During the 1980s the two founders separated after the lawsuit filed by Bandler Bandler went on to file several law
 

History of Neuro Linguistic Programming (NLP)

History of Neuro linguistic programming Neuro Linguistic Programming NLP is a system co founded by John Grinder and Richard Bandler for bringing about personal development in any individual by interpreting and translating the human perception experience beliefs and language It was developed in early
 

The Use of Access Specifiers In Object Oriented Programming

The Use of Access Specifiers In Object Oriented Programming In object oriented programming a variable will have a certain range This range can be defined as the place where it can be viewed In most cases there are two simple models that are used and these are lexically scoped and dynamically scoped
 

Class-based Object Oriented Programming

Class based Object Oriented Programming Class based object oriented programming is a style that gains inheritance by processing classes as objects The most prominent style of OOP is class based instead of object based With the class based OOP system objects are units that merge states identities and
 

A Object Oriented Programming Lesson For Beginners

A Object Oriented Programming Lesson For Beginners In this article I will go over object oriented programming in relation to PHP This article will be especially useful to those who already have a simple knowledge of programming and variables You should know what a variable is and you should also kno
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape