Several weeks ago, I looked at the some decompiled Java codes from a fairly small web application that basically records cheque numbers and generates reports. To my surprise, it was written in dreadful codes full of clutter and signs of haste! I almost cried. Just imagine the following code littered all around the application and entangled by a lot of package-level instance variables. Not to mention the SQL-statements-in-Servlets type of design pattern.
We can run CGI scripts in Tomcat. This post is about using Tomcat to run a CGI script written in PERL. Software Requirements (used for this post) Apache Tomcat 7.0.11
It is amazing how Tomcat can be modified to help hasten the development. In this post, I will demonstrate how to use Tomcat JDBC Realm which uses an RDBMS for
I wonder which ancient Tomcat version our application based its CGIServlet class on. CGI HTTP POST was not working and recently another problem has cropped up – CGI File Upload does not work at all. What gives? I can only speculate.
This post demonstrates how to use BASIC Authentication is a web application in Java using Tomcat.