Exercises, examples and other material relating to training module A507. This topic is presented on public course Deploying Java Applications on Linux / Unix
Java can run on a web server and provide dynamic web pages to the visitor to your web site using Servlets and JSPs.
|Articles and tips on this subject||updated|
|4431||A Java servlet that is also a stand alone program. And a server that is also a web client.|
I've been teaching the fundamentals of Java (a private 4 day course) to a number of groups over the past few weeks - each time tailoring the course towards the projects that the delegates (within a large organisation) will be using it for, and also tailoring to suite the background of the delegates. ...
|3997||Servlet v JSP (Java Server Page). What is the difference?|
A servlet is a web program that generates output (normally HTML) and returns it to a browser.
A JSP (Java Server Page) is a page of HTML ... with some extra bits of code where programatic elements are added as it's returned to the browser
So on the surface, it looks like there's a fundamental difference. ...
|3044||Changing a Servlet - more that just editing and compiling|
If you're going to modify a servlet, you'll need to edit and recompile the classes that you're changing - and chances are that will include the main application class. Which means you need to have access to the source. Not a problem if you're a developer of the product, but could be an issue if it's ...
|2525||Using JSPs, Tag Libraries, Java Beans, Tomcat in one short example|
I've just completed a Java Bootcamp Course. On Tuesday morning, I had newcomers to Java (but with prior programming experience) and by the end of Friday afternoon, they had written some good exercises, using the fundamentals of Java, including Utility classes, and they had also worked with and understood ...
|2151||What is a JSP tag library?|
Java programming is very different to writing HTML - web page authors expect a tag based language ... so why not provide one that provides some Java functionality? That's what tag libraries do. My slide shows a piece of Java program - defining a variable and calling a constructor; it's a pretty common ...
|479||New servlet from old|
Check list - how to modify a Servlet and install it under a new name on your Tomcat server. This scheme assumes that you're working at a machine that has Java installed, but doesn't have its own copy of Tomcat and all the extras (why would it - it's your development machine and not the server!)
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
What is a servlet?
Converting request objects to response objects.
What is a JSP?
Forms of embedding Java code in a web page.
Sessions in Java.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
Linux and LAMP
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.