Main Content
Java (JSP and Servlet examples) live on our server Archive - Originally posted on "The Horse's Mouth" - 2008-02-23 15:54:42 - Graham Ellis
On our Java Programming for the Web and Deploying Apache httpd and Tomcat courses, we provide a ready-written demonstration that includes simple web pages, a basic JSP, JSPs with tag libraries, and a couple of Servlets - with some calling up data from a MySQL database .
I have uploaded the examples so that you can try them out here . You can see the source code of almost all the pages here and you can download the complete file latmjdemo.war from our download centre .
Some other articles
J907 - JSP - JavaServer Pages Servlet v JSP (Java Server Page). What is the difference? Java Beans, tag libraries and JSPs - what and why. Using JSPs, Tag Libraries, Java Beans, Tomcat in one short example Servlet life cycle, and Java Servlet variable scope What is a JSP tag library? A very easy JSP (Java Server Page) This article The HTML++ Metalanguage Last day of Java J906 - Servlets in More Detail Java web application for teaching - now with sessions and clustering / load balancing demonstrations A Java servlet that is also a stand alone program. And a server that is also a web client. Distributing the server load - yet ensuring that each user return to the same system (Apache httpd and Tomcat) Changing a Servlet - more that just editing and compiling The Multiple Inheritance Conundrum, interfaces and mixins Reading and writing cookies in Java Servlets and JSPs Servlet life cycle, and Java Servlet variable scope javax.servlet cannot be resolved - how to solve This article Single login and single threaded models - Java and PHP New servlet from old A652 - Tomcat -Sourcing, Installing and Initial Testing Packing a tar, jar or war file - best practise Changing the 404 - file not found - page in Tomcat This article Java 6, Apache Tomcat 6. Tomcat - Shutdown port