Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
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 18:10:35)

 
Associated topics are indexed under
J909 - Java - Putting it all together
  [2653] Java Server Pages - putting it all together - (2010-02-26)

J907 - JSP - JavaServer Pages
  [2183] Servlet life cycle, and Java Servlet variable scope - (2009-05-16)
  [2151] What is a JSP tag library? - (2009-05-01)
  [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)

A507 - Web Application Deployment - Java - Servlets and JSPs
  [479] New servlet from old - (2005-10-28)


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!
2675 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 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., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 344596 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho