•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 427,095 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,299 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 4293 | Replies: 1
![]() |
A hit counter is many times best done with a filter. Go to java.sun.com and
look at the j2ee tutorial. It is long and you will have to search for the counter
examples, but they are there. And remember, that even if the filter example
is shown for a servlet, it will also work for a jsp, as a jsp is really nothing other
than a servlet that is compiled by the app server rather than being precompiled.
look at the j2ee tutorial. It is long and you will have to search for the counter
examples, but they are there. And remember, that even if the filter example
is shown for a servlet, it will also work for a jsp, as a jsp is really nothing other
than a servlet that is compiled by the app server rather than being precompiled.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
![]() |
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- hit counter (Site Layout and Usability)
- ASP .NET hit counter? (ASP.NET)
- PHP Server-Side Hit Counter for Beginner (PHP)
- ASP .NET database hit counter (ASP.NET)
Other Threads in the JSP Forum
- Previous Thread: tomcat5.0 server encountering a internal error while using jsp
- Next Thread: about authentication



Linear Mode