... Technology 2 Outline What is Java? A little bit history Major features Where Java is used? Java, the World Wide Web, and Beyond Key terms A Simple Java Program IDE: NetBeans Resources Discussion ... Technology 17 Resources JDK 6: http:/ /java. sun.com/javase/downloads/index.jsp Java API (chm format): http://www.allimant.org/javadoc/index.php Netbeans IDE: http://www .netbeans. org/index.html Text ... appliances 1995: renamed Java - redesigned for developing Internet applications (Java 1.0 1.1). 1998: Sun announced the Java 2 platform (1.2,1.3,1.4) 2005 - Now: Java 5 (Java 1.5 - newest version
Ngày tải lên: 27/06/2014, 21:20
... 1 Web Programming with Java Java Basics Huynh Huu Viet Email: viethh@uit.edu.vn Department of Information Systems ... ends the innermost loop that contains it Generally used with an if statement continue Only ends the current iteration Generally used with an if statement 2008 © Department of Information Systems ... (signature) within one class Overloading methods ?? Overload method Some examples 2008 © Department of Information Systems - University of Information...boolean Data Type & Operations Java also
Ngày tải lên: 27/06/2014, 21:20
Web Programming with Java - HyperText Markup Language Basics potx
... 1 Web Programming with Java HyperText Markup Language Basics Huynh Huu Viet University of Information Technology ... Information Technology 4 WWW Client/Server Model ` Client Web Server Request Response • Microsoft Internet Information Server • Apache Web Server •…… • Microsoft Internet Explorer • Netscape Navigator ... University of Information Technology 29 Sample Exercise Objective: Use simple HTML concepts to create a web page HTML structure Tables Text Formatting Links Graphics 2008 © Department of Information
Ngày tải lên: 27/06/2014, 21:20
Web Programming with Java pptx
... 1 Web Programming with Java Servlets Huynh Huu Viet University of Information Technology Department of Information ... Introduction ? ?Java networking capabilities: Socket-based and packet-based communications • Package java. net Remote Method Invocation (RMI) • Package java. rmi Servlets and JavaServer Pages ... Servlets and JavaServer Pages (JSP) • Request-response model • Packages javax.servlet – javax.servlet.http – javax.servlet.jsp the Web tier of J2EE 2008 © Department of Information Systems - University
Ngày tải lên: 07/08/2014, 05:20
Tài liệu Web Programming with HTML, XHTML, and CSS Second Edition- P11 docx
... your site Web sites live on special computers called web servers that are constantly connected to the Internet Rather than buying and running your own web server,... on a web server ... shows the message that appears when the user tries to submit the e-mail without entering a message. 477 Chapter 12: Working with JavaScript 59313c12.qxd:WroxPro 3/23/08 1:44 PM Page 477 Please purchase ... (so they don’t have to manually select all the text with the mouse), you can use the focus() and select() methods. 475 Chapter 12: Working with JavaScript 59313c12.qxd:WroxPro 3/23/08 1:44 PM Page
Ngày tải lên: 14/12/2013, 21:16
Tài liệu Web Programming with HTML, XHTML, and CSS- P5 doc
... create a frameset document with multiple frames ❑ How to create inline frames (or iframes), which are single windows that sit within another page ❑ How to deal with users whose browsers cannot ... only the elements that a user can interact with, such as links and form con- trols, that can receive focus. Indeed, if a user is expected to interact with an element, that element must be able ... in conjunction with another key (such as Alt on Windows and Control on an Apple), the browser automatically goes to that section (exactly which key must be used in conjunction with the access
Ngày tải lên: 21/01/2014, 16:20
Tài liệu Web Programming with HTML, XHTML, and CSS- P6 doc
... begins with en and is followed with a hyphen (it is designed for use with language attributes) Prefix selector (CSS3) p[attr^”b”] Any element carrying any attribute whose value begins with ... image should be level with the top of the font With text, the bottom of the descender (the parts of letters such as g and p that go beneath the line of text) should align with the top of the ... element subscript With images, the top of the image should be on the baseline With text, the top of the font body should be on the baseline super Makes the element superscript With images, the
Ngày tải lên: 21/01/2014, 16:20
Tài liệu Web Programming with HTML, XHTML, and CSS- P7 pdf
... that follows can help dif- ferentiate styles associated with links in different states. The following are properties you will likely use with these pseudo-classes: ❑ color: Often used to change ... gives you an idea of how this style sheet will look with (ch08_eg01.html), although it is rather hard to see the full effect of this in print, with the links changing as the user rolls the mouse ... watermark. [...]... specified using a selector, and is with the :before and :after pseudo-elements The content property is then used with these pseudo-elements to specify what should be inserted
Ngày tải lên: 21/01/2014, 16:20
Tài liệu Web Programming with HTML, XHTML, and CSS- P8 doc
... goals. If you intend to start creating web sites for companies, you may come across clients who think they need a web site (or an update to their existing web site) but are not sure what they should ... Positioning the various elements within the page Once you have looked at the overall layout of the page in this chapter, see Chapter 10 for some more specific issues of design within the page, such as ... understand what a web site can do for the business before you start work on it. Let’s consider a few examples: A photographer might want a site to act as a portfolio of his or her work along with contact
Ngày tải lên: 21/01/2014, 16:20
Tài liệu Web Programming with HTML, XHTML, and CSS- P9 pdf
... you learned in this chapter work in practice As you will see, JavaScript gives web developers a programming language for use in web pages and allows them to perform tasks such as the following: ... view the images JavaScript allowed web- page authors to access and manipulate features and content of the document and the browsers used to view them You should note that JavaScript is not ... as normal Since different programming languages often have to work with the same applications or the same kinds of documents, there are things called Application Programming Interfaces, or
Ngày tải lên: 21/01/2014, 16:20
Tài liệu Web Programming with HTML, XHTML, and CSS- P10 ppt
... chapter. Starting to Program with JavaScript Having learned about the DOM, you can see how it allows you to access a document in a web browser. However, it is JavaScript that introduces real programming concepts. ... remember about variables in JavaScript: ❑ Variable names are case-sensitive. ❑ They must begin with a letter or the underscore character. 423 Chapter 11: Learning JavaScript 59313c11.qxd:WroxPro ... of the document object, deals with information regarding forms; and so on. As you are about to see, there can be lots of different objects, each of which deals with a differ- ent set of functionalities
Ngày tải lên: 21/01/2014, 16:20
Tài liệu Web Programming with HTML, XHTML, and CSS- P11 ppt
... your site Web sites live on special computers called web servers that are constantly connected to the Internet Rather than buying and running your own web server,... on a web server ... shows the message that appears when the user tries to submit the e-mail without entering a message. 477 Chapter 12: Working with JavaScript 59313c12.qxd:WroxPro 3/23/08 1:44 PM Page 477 Please purchase ... (so they don’t have to manually select all the text with the mouse), you can use the focus() and select() methods. 475 Chapter 12: Working with JavaScript 59313c12.qxd:WroxPro 3/23/08 1:44 PM Page
Ngày tải lên: 21/01/2014, 16:20
Tài liệu Web Programming with HTML, XHTML, and CSS Second Edition- P3 docx
... Figure 3-5 Because the JPEG format was designed to work with photo-realistic images, they do not work so well with images... use on the web site If you reduce the size of the image using the ... href=”#vege”>v</a>)</li> <li>Beef Tournados with Mustard and Dill Sauce</li> <li>Roast Chicken Salad</li> <li>Icelandic Cod with Parsley Sauce</li> <li>Mushroom ... repeat the property, separating it from the previous one with an ampersand. bcc Secretly sends a carbon copy of the mail to the bcc‘d address without any recipient seeing any other recipients; the
Ngày tải lên: 26/01/2014, 11:20
Tài liệu Web Programming with HTML, XHTML, and CSS Second Edition- P5 doc
... create a frameset document with multiple frames ❑ How to create inline frames (or iframes), which are single windows that sit within another page ❑ How to deal with users whose browsers cannot ... only the elements that a user can interact with, such as links and form con- trols, that can receive focus. Indeed, if a user is expected to interact with an element, that element must be able ... in conjunction with another key (such as Alt on Windows and Control on an Apple), the browser automatically goes to that section (exactly which key must be used in conjunction with the access
Ngày tải lên: 26/01/2014, 11:20
Tài liệu Web Programming with HTML, XHTML, and CSS Second Edition- P6 doc
... begins with en and is followed with a hyphen (it is designed for use with language attributes) Prefix selector (CSS3 ) p[attr^”b”] Any element carrying any attribute whose value begins with ... understand how to create attractive layouts with CSS As you... the element subscript With images, the top of the image should be on the baseline With text, the top of the font body should ... be on the baseline super Makes the element superscript With images, the bottom of the image should be level with the top of the font With text, the bottom of the descender (the parts of letters
Ngày tải lên: 26/01/2014, 11:20
Web Programming with HTML, XHTML, and CSS Second Edition- P8
... the practical advice in this chapter will make it easier for you to design your web sites, as well as help you deal with those people or organizations you might be creating sites for. In the next ... a page. Research by a renowned web usability researcher and author, Jacob Nielsen, has indicated that people commonly scan a page using an “F” shape — starting with two horizontal stripes and ... serif font in order to understand the sentence (compared with a sans-serif font). In fact, when reading books and long articles in a lan- guage with which we are familiar, good readers don’t need...
Ngày tải lên: 24/10/2013, 12:15
Web Programming with HTML, XHTML, and CSS Second Edition- P9
... anything, the programming language first requires an environment to work within. In this case, you will be looking at using JavaScript with web documents in the browser (technically, JavaScript ... support JavaScript and must have it enabled (most browsers allow you to disable JavaScript). Bearing in mind that a user might not have JavaScript enabled in the browser, you should use JavaScript ... /> The disadvantage with this approach is that the presentation is not very attractive — and gets worse with longer forms — because the form controls are not aligned well with each other, as...
Ngày tải lên: 07/11/2013, 15:15
Tài liệu Web Programming with HTML, XHTML, and CSS Second Edition- P10 pdf
... chapter. Starting to Program with JavaScript Having learned about the DOM, you can see how it allows you to access a document in a web browser. However, it is JavaScript that introduces real programming concepts. ... You can break up a code line within a text string with a backslash, as you can see here, which is very helpful if you have long strings: document.write(“My first \ JavaScript example”) ❑ But you ... you have ever used a full programming language such as C++ or Java, you know they require a semicolon at the end of each line. Generally speaking, this is optional in JavaScript unless you want...
Ngày tải lên: 14/12/2013, 21:16
Tài liệu Web Programming with HTML, XHTML, and CSS Second Edition- P12 docx
... web development career. If you want to work more with graphics I advise you to start with Photoshop or Flash, whereas if you want to work more on pro- gramming, start learning a server-side programming ... for developing web graphics. You need only look at job ads for web designers and you’ll see that knowing Photoshop is often a prerequi- site. Photoshop not only allows you to work with photos, ... from the Adobe web site. Learning Graphics Packages Learning how to deal with text, illustrations, photos, and images correctly is very important if you are going to be involved with designing...
Ngày tải lên: 14/12/2013, 21:16