Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
Python and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Lua, etc
 
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 basic Servets, JSPs and standard tag library applications.

temperature convertorHere's the last exercise from one delegates (shared, with permission) in which I asked the course to write a form to read in a temperature in one unit, convert to another unit via JSP (but keeping the model - i.e. business logic in a separate Java Bean class) and output the result. That's three files even for a simple application but it is easily extensible!


ConversionsFirst file - the HTML form - [see here]

Second file - the JSP / tag library page that gives the view - [see here]

Third and final file - the class that contains the business logic (i.e. the model) - [see here]


That was the last Java course this year - but the Java Bootcamp is already scheduled for five dates nest year, as is the extended Learning to Program in Java for delegates who have not programmed before. If you're not programming in Java, but you will be deploying Java applications on an Apache Tomcat server, have a look at our Deploying Apache and Tomcat course ... six dates already set for 2010, starting on 7th January.
(written 2009-12-04, updated 2009-12-09)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
A507 - Web Application Deployment - Java - Servlets and JSPs
  [4431] A Java servlet that is also a stand alone program. And a server that is also a web client. - (2015-02-19)
  [3997] Servlet v JSP (Java Server Page). What is the difference? - (2013-02-06)
  [3044] Changing a Servlet - more that just editing and compiling - (2010-11-12)
  [2151] What is a JSP tag library? - (2009-05-01)
  [479] New servlet from old - (2005-10-28)

J907 - JSP - JavaServer Pages
  [3046] Java Beans, tag libraries and JSPs - what and why. - (2010-11-13)
  [2183] Servlet life cycle, and Java Servlet variable scope - (2009-05-16)
  [2147] A very easy JSP (Java Server Page) - (2009-05-01)
  [1550] Java (JSP and Servlet examples) live on our server - (2008-02-23)
  [1050] The HTML++ Metalanguage - (2007-01-22)
  [79] Last day of Java - (2004-10-08)

J909 - Java - Putting it all together
  [4305] Learning to program in Java - yes, we can help. - (2014-09-26)
  [2653] Java Server Pages - putting it all together - (2010-02-26)


Back to
An update on legal changes from the FSB?
Previous and next
or
Horse's mouth home
Forward to
A reluctance to move from old shoes to new
Some other Articles
Santa Special, 2009
Melksham Christmas Lights
Flying tonight
A reluctance to move from old shoes to new
Using JSPs, Tag Libraries, Java Beans, Tomcat in one short example
An update on legal changes from the FSB?
Plan your application before you start
Integrated public Transport - what could be done for Melksham
Melksham Market - Tuesdays, 09:00 to 14:00
Global and Enable - two misused words!
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2019: 404 The Spa • Melksham, Wiltshire • United Kingdom • SN12 6QL
PH: 01225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/2525_Usi ... ample.html • PAGE BUILT: Sat May 27 16:49:10 2017 • BUILD SYSTEM: WomanWithCat