import java.io.*; import java.sql.Date; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class PageHitCounter extends HttpServlet{ private int hitCount; public void init() { // Reset hit counter. hitCount = 0; } public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // Set response content type response.setContentType("text/html"); // This method executes whenever the servlet is hit // increment hitCount hitCount++; PrintWriter out = response.getWriter(); String title = "Total Number of Hits"; String docType = "\n"; out.println(docType + "

" + title + "

\n" + "

" + hitCount + "

\n" + } public void destroy() { // This is optional step but if you like you // can write hitCount value in your database. } }

Grip Cheater (Revised 4/18/2022)

Got vintage tuners? This tool for tuning is just the thing. And it is super simple to make.

Get a 2 1/8 inch length of 1/2 inch white PVC pipe. Don’t use the beige stuff. Drill a 3/8 inch hole perpendicular to one end.

Glue in a 3 inch length of 3/8 inch dowel rod.

Heat the end of the pipe opposite of the dowel to just soft. Don't melt it. '

Before the pipe coold, flatten 1 inch of the other end in a vise. Channel Lock pliers will work too. Crush the end just enough so it fits over a tuner grip.

Tune like you own it!

Selling these for $15 free shipping.

©2022 D.R. Hanna (Revised 4/18/2022)