[PDF] [PDF] web programming lab - eGyanKosh

In this lab manual, we have used NetbeansIDE 7 3 1 We first 7 Web Programming Lab Once you are a bit familiar with the environment, start a new project Advanced Operating System M Tech Sandeep Cristopher Salim Web



Previous PDF Next PDF





[PDF] advanced web programming lab - PESIT South Campus

EXPERIMENT LIST: 1 Write jQuery a) Limit character input in the textarea including count b) Based on check box, disable/enable 



[PDF] 4212 TYBSc Computer Science (Web Design and Tech)

USACWD5P1 Practical of USACWD501 NET technologies for web programming and enable them design and USACWD602 Advanced Web Technology



[PDF] web programming lab - eGyanKosh

In this lab manual, we have used NetbeansIDE 7 3 1 We first 7 Web Programming Lab Once you are a bit familiar with the environment, start a new project Advanced Operating System M Tech Sandeep Cristopher Salim Web



[PDF] Web Programming Lab 5139 - SITTTR,Kerala

experiment name , date on which it was done and the page number guess that the terms “Web Programming” are relatively specialized Advanced searches: Click the Advanced Search button by the search box on the Google start



[PDF] Advanced PHP Programming: A practical guide to developing large

3 Error Handling 4 Implementing with PHP:Templates and the Web manual for details error_log logs the passed message, regardless of the error_reporting 



[PDF] Advanced Web Technologies - School of Computer Science - The

You get – Practical skills and understanding of advanced web technologies which are being Moderate Java programming skills; unit testing/JUnit familiarity  



[PDF] DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING WEB

WEB PROGRAMMING LAB MANUAL-10CSL78 VII SEMESTER Use Javascript and XHTML to create web pages with advanced interactivity • Program basic 



[PDF] Web Programming II - OAsis, COLs Open Access Repository

2 fév 2010 · This course has been developed as part of the collaborative advanced ICT course development project of the Commonwealth of Learning (COL)



[PDF] WEB TECHNOLOGIES LAB MANUAL FOR MCA

Advance GUI components- JPopup Menus- JDesktopPane- advance layout managers 4) Exception handling and multithreading in object oriented programming- 



[PDF] A Course on Web Programming - CEUR-WSorg

revising the contents of a Web Programming course Torn between bal- on web engineering and especially its practical applications is done outside the academia argue that it should not even belong to an advanced course This is a 

[PDF] advanced web programming sanfoundry

[PDF] advanced web programming syllabus

[PDF] advanced web programming tutorial

[PDF] advanced web programming tutorial pdf

[PDF] advanced web programming w3schools

[PDF] advanced web technologies

[PDF] advanced web technologies and tools

[PDF] advanced web technology syllabus

[PDF] advanced writing skills class 12 pdf

[PDF] advanced writing skills for students of english phil williams pdf

[PDF] advanced writing skills john arnold pdf

[PDF] advancedmd app for android

[PDF] advancing health equity in minnesota

[PDF] advancing health equity in minnesota report to the legislature

[PDF] advancing health equity in texas through culturally responsive care

5 Web Programming

Lab BCSL057: WEB PROGRAMMING LAB

Structure Page Nos.

1.0 Introduction 5

1.1 Objectives 5

1.2 Development of a simple website

1.3 Using JavaScript in Netbeans

1.4 Creating and validating XML pages

1.5 Running JSP Programs

1.6 Creating Database Applications

1.6.1 Creating Database and Database connections using netbeans

1.6.2 Creating Form and Connection using JSTL

1.6.3 Storing Student information in the Database

1.6.4 Comments on the Website

1.7 List of Lab Assignments

1.8 Further Readings

1.0 INTRODUCTION

This lab course provides you information about the tool that you need to use for practical of Web programming course. This lab course supports the course BCS053: Web Programming. We propose that you use an IDE such as Netbeans, Eclipse or any other IDE for web development. You are advised to install the latest version of theseIDEs. This lab course includes 10 practical sessions of 3 hours each. This lab manual lists the lab exercises that you need to perform during each of the lab sessions. You should try to use the available time by coming fully prepared with the exercise. First two sessions are focused on HTML and CSS. You should try to create a small web site using HTML tags and CSS. Session 3 is about creating simple XML document and viewing those documents.Session 4 focusses on creating a small web page using WML that can be viewed on a mobile. Session 5 and 6 focusses on use of JavaScript. Last four sessions are devoted to writing JSP and JDBC oriented code. You may need a web server to display the web pagesthat you may create. Fortunately, the present day IDEs also include a web server.For example Netbeansis bundled with web servers Apache and Glassfish. For the purpose of back end database we will demonstrate the use of MySql. However, you may use any database technology at your study centre. In such case you have to use the necessary drivers. In this lab manual, we have used NetbeansIDE 7.3.1. We first discuss about the process of installation of Netbeans along with the web server and database system. We then explain creating HTML, XML, Web Application, JSP pages etc using it.

1.1 OBJECTIVES

After completing this lab section, you should be able to: 6

Lab Manual Install any IDE for web programming;

Create web pages using several technologies;

Store data in a table using web pages

Display web pages on a web server.

1.2 DEVELOPMENT OF A SIMPLE WEBSITE

Netbeans is an IDE which provided features for developing desktop, mobile and web applications. It supports Java, HTML5 and other languages. It is an open source software which is freely available for download. it has its own web sitehttps://netbeans.org/. You can download it from the download link at this web site. You may download the bundle that includes all the tools including GlassFish Servers Open source edition and Apaches Tomcat Server. Please also note that a number of tutorials have been created by Netbeans community. These tutors are available on the web site https://netbeans.org/kb/ . You must take a video tour of key netbeans features as an IDE. Once you have downloaded the Netbeans IDE, you can install it on the computer using the following procedure:

Run the binary installation file

In case your JDK version is older than the supported by Netbeans, it will inform you to do so. You can obtain the latest JDK from the web site: http://www.oracle.com/technetwork/java/javase/downloads/ . You may download the Java version for windows x86, in case you are using a 32 bit computer. You should install it first and then install Netbeans Make sure that during this installation web servers are also installed. Now, start Netbeans, it will take some time to start and the following window will open:

Figure 1: Start of Netbean Software

You can select the Demos and Tutorials or Featured Demo to see a demonstration of Netbeansprovided, your computer is connected to Internet. 7

Web Programming

Lab Once you are a bit familiar with the environment, start a new project. Perform the following steps: Select FileAENew (CTRL+SHIFT+N) Project from the Menu of Figure 1.

The following window will open:

Figure 2: New Project Window

In this window you can select a category for the new project, for example, when you will design JSP project, you will select Java Web category. To begin with, you may open a new HTML 5 project. So select HTML5/JavaScript category and in the option

HTML5 Application. Select the Next button.

Figure 3: Selection of Name and Location of the Project Enter project name and project location of your choice. You can observe that in the figure 3 that we have given the project name as MySite and selected a Folder C:\Projects for its location. It is a advisable to create a separate folder where you can keep all your projects. Now Select Finish from the button Panel. You have successfully created the project. A file index.html will be created for you for editing in the Netbeans editor as show in Figure 4. Please note index.html is the default page of a website. 8 Lab Manual Now, you can create your home page of the website. For more details on various HTML tags and CSS, you may refer to Block 1 Unit 1 and Unit 2 of BCS053: Web Programming course. For the purpose of demonstration, we have used the example given in Block 1 Unit 2of BCS053. The example uses div tags for various sections of the web page. The example uses the CSS, but initially, we have removed the linkage to CSS and just created the web page. You can format this web page using the Menu

Source AE Format.

You need to input all the tags along with contents from the example. Figure 4 shows the contents of index.html after the html tags and contents of web page has been input. Please note that there is no CSS attached to this file even through in contains class names (please refer to BCS053 Block 1Unit 2) in the tags.

Figure 4: An example file

But, how to display the content of this webpage?

To see the web site that you have created, you can select RunAERun Project menu option or alternatively press F6 key. Please note that in case you are using Mozilla or which is available from the website https://chrome.google.com/webstore/. Please also note that when you will run the project nothing much will happen in Netbeans window, but the display can be seen in the browser window (chrome in this lab manual). Figure 5 shows the output of the web page of figure 4. 9

Web Programming

Lab Figure 5: The display of web page of figure 4 in browser You may please notice that the address bar of Figure 5 shows: which means that the web page displayed is not displayed from a file but is a part of website hosted at localhost at 8383 port. The display of web page in Figure 5 is in the sequence of appearance of different tags of html. You can change this display to a good structured display using CSS. To create a CSS file, as given in the example of BCS053Block1Unit2 named

CSSLayout.css, you need to perform the following:

From the File Menu of Netbeans select a New File Window will open In the New File window in the Category HTML/JavaScript select the file type as Cascading Style Sheet and press the Next button in the button panel. A In this new window, enter the name of the stylesheet- CSSLayoutin our case and press the Finish button in the button panel. A new file will open in the Netbeans window with the name CSSLayout.css. In this file type the commands of the CSS file. Figure 6 shows the resultant state. 10

Lab Manual

Figure 6: The CSSLayout.css file with contents.

To link this CSSLayout.css file to index.html file, you perform the following steps:

Select the ta

tags: Now, your index.html file is linked to the CSSLayout.css file. You can see how it changes the display of your webpage by pressing F6 key. Please observe how different the display is now by comparing the display of Figure 5 and Figure 7. Figure 7: Display of web page of Figure 4 using CSS Observe that in the event section only summary information is displayed. You may click on BCS053 and detailed information on it will be shown. In the left you see a simple selection options like About us, Programme etc. For every such option, you may have to develop a page. We demonstrate how you can implement About Usoption. This time you can follow different strategy using Netbeans. In this strategy, we demonstrate the use of Palette Window. We may keep some of the sections on the website identical to the one as displayed in Figure 7, but only changing therelevant 11

Web Programming

Lab information. The figure 8 shows the web browser display on pressing About Us option on Figure 7.

Figure 8: AboutUs page of website.

In order to develop this page you can perform the following steps: From the File Menu of Netbeans select a New File Window will open In the New File window in the Category HTML/JavaScript select the file type as HTML File and press the Next button in the button panel. A window )LOHquotesdbs_dbs4.pdfusesText_8