1 / 18

Forms and Presentations

Forms and Presentations. Gayle J Yaverbaum INFSY 547. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head> <title>Insert Customer</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body>

ocean
Download Presentation

Forms and Presentations

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Forms and Presentations Gayle J Yaverbaum INFSY 547

  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head> <title>Insert Customer</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <?xml version="1.0" encoding="iso-8859-1"?> <form method = "post" action = "servlet/Infsy547CustomerLab"> <label>Account Number</label> <input name="accountNumber" type="text“/><br/><br/> <label>Customer Name</label> <input name="Name" type="text“/><br/> <label>Customer Address</label> <input name="Address" type="text“/><br/> <label>Customer City</label> <input name="City" type="text“/><br/> <label>Customer State</label> <input name="State" type="text“/><br/><br/> <input name="Save" type="submit" value="Save“/> </form> </body> </html>

  3. The following are common XHTML entities to use in your forms: • <form>………….</form> • All components of the form appear within these tags • 2. <input>………………………. </input> • a. types of input: text, submit, reset, password, button, • radio button and checkbox • b. controls • c. Require a name attribute (except submit and reset) • d. A size attribute limits the size of the text box

  4. <input type=“password” name=“thePassWord” size=“10”/> • <label>The LABEL element associates a label with a form control. • </label> • Note • &nbsp;&nbsp; • Other entities for xhtml are available

  5. If the checkbox for Jane is “checked,” the value for the variable “checkChoice” will be Jane <label>Jane</label> <input type="checkbox" name="checkChoice" value="Jane" checked="checked"/><br/><br/>

  6. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> • <html> • <head> • <title>Insert Customer</title> • <link rel="stylesheet" type="text/css" href="names.css"> </link> • </head>

  7. Finally • Make use of all xhtml tags • Make use of style sheets • Note that the .html file will need to be within the TomCat structure

  8. Alternate Method to Connect to Oracle • Start • Administrative tools • Data Source (ODBC) • System DSN • Add a Bridge • Microsoft ODBC for Oracle • database name • user id • CLDB

  9. Program Changes • Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" ); • connection = DriverManager.getConnection("jdbc:odbc:customer",“id",“password");

  10. JDBC • DriverManager Class • Class manages JDBC drivers and provides uniform interface for establishing connections to databases • Load the driver by calling : Class.forName(driverClassName); Class.forName(“sun.jdbc.odbc.JdbcOdbcDriver”); • If the driver can’t be loaded, a ClassNotFoundException is thrown.

  11. Presentation Guidelines • Objectives • Preparation • Delivery • Make presentation interesting!

  12. Objective(s) • Consider: • What are the objectives? • What are the main points you want to make? • Have clear outcomes or results that you are want to achieve. • State up front what it is you are trying to achieve. • If you don't say the one thing you need to say up front, it may never get heard.

  13. Suggestions to structure a presentation • Conclusion/main point first! • Project Background • Justifications, your product and development, and anything that shows how you dealt with issues • Conclusion — Repeat the main point

  14. Delivery • Convince us! • Discuss problems/issues. • Audience interaction is important • Use creativity to make presentation meaningful • PowerPoint is not a requirement • Code is not typically appropriate • Never read from a script.

  15. Move around. Don't stay behind a podium • Get into a place where you can see the screen as well as the audience. • Stand to the left of the screen. People read left to right. • They should start with you and move to the screen. • Audiences want entertainment, enlightenment and education.

  16. Make presentation interesting • Use graphics, handouts, etc. • Use good color contrast • Use large enough fonts so that back row can see your presentation • Present the material in a novel manner.

  17. Keep to the time allowed. • As a rule of thumb, allow 2 minutes for each slide

  18. At the end of your presentation ask if there are any questions • Don't run over!Ever!

More Related