CS2358 INTERNET PROGRAMMING LAB ANNA UNIVERSITY SYLLABUS CS2358 INTERNET PROGRAMMING LAB LIST OF EXPERIMENTS

.b l

og

sp ot

.c o

m

1.Create a web page with the following using HTML i) To embed an image map in a web page ii) To fix the hot spots iii) Show all the related information when the hot spots are clicked. 2. Create a web page with all types of Cascading style sheets. 3. Client Side Scripts for Validating Web Form Controls using DHTML 4. Write programs in Java to create applets incorporating the following features: 5. Create a color palette with matrix of buttons Set background and foreground of the control text area by selecting a color from color palette. In order to select Foreground or background use check box control as radio buttons To set background images 6. Write programs in Java using Servlets: To invoke servlets from HTML forms To invoke servlets from Applets 7. Write programs in Java to create three-tier applications using JSP and Databases

cl u

si

ve

1. for conducting on-line examination. 2. for displaying student mark list. Assume that student information is available in database which has been stored in a database server.

w

w

TEXT BOOK:

w

.e

ee

ex

8. Programs using XML – Schema – XSLT/XSL 9. Programs using AJAX 10. Consider a case where we have two web Services- an airline service and a travel agent and the travel agent is searching for an airline. Implement this scenario using Web Services and Data base.

1. Robert W.Sebesta, “Programming the world wide web”, Pearson Education, 2006.

************************* /* Three-Tier Application Using JSP and Database (Online Examination) */ // OnlineExam.jsp <%@ page language="java" import="java.sql.*" %> <%@ page import="java.io.*" %> <%@ page import="java.util.*" %>

m .c o

w

w

w

.e

ee

ex

cl u

si

ve

.b l

og

sp ot

<% String SeatNum,Name; String ans1,ans2,ans3,ans4,ans5; int a1,a2,a3,a4,a5; a1=a2=a3=a4=a5=0; Connection connect=null; Statement stmt=null; ResultSet rs=null; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); String url = "jdbc:odbc:ExamStudent"; connect = DriverManager.getConnection(url," "," "); if(request.getParameter("action")!=null) { SeatNum = request.getParameter("Seat_no"); Name = request.getParameter("Name"); ans1 =request.getParameter("group1"); if(ans1.equals("True")) a1=5; else a1=0; ans2 = request.getParameter("group2"); if(ans2.equals("True")) a2=0; else a2=5; ans3 = request.getParameter("group3"); if(ans3.equals("True")) a3=0; else a3=5; ans4 = request.getParameter("group4"); if(ans4.equals("True")) a4=5; else a4=0; ans5 = request.getParameter("group5"); if(ans5.equals("True")) a5=0; else a5=5; int Total=a1+a2+a3+a4+a5;

stmt = connect.createStatement(); String query = "INSERT INTO StudentTable (" + "Seat_no,Name,Marks" + ") VALUES ('" +SeatNum + "', '" + Name + "', '"+Total+ "')"; int result = stmt.executeUpdate(query);

w

w

w

.e

ee

ex

cl u

si

ve

.b l

og

sp ot

.c o

m

stmt.close(); stmt = connect.createStatement(); query = "SELECT * FROM StudentTable WHERE Name="+"'"+Name+"'"; rs = stmt.executeQuery(query); %> Student Mark List

Students Marksheet

Name of the College : JCE College of Engineering

<% while(rs.next()) { %> <% } rs.close(); stmt.close(); connect.close(); %>
Seat_No Name Marks
<%=rs.getInt(1)%> <%=rs.getString(2)%> <%=rs.getString(3)%>



Date:<%=new java.util.Date().toString() %>
Signature: X.Y.Z.
Click here to go back <%}else{%> Online Examination

Online Examination


Seat Number :

Name :

Total Marks:5*5=25 Time: 15 Min.

1. XML enables you to collect information once and reuse it in a variety of ways.
True False



2. In Modern PC there is no cache memory.
True False

3. JavaScript functions cannot be used to create script fragments that can be used over and over again
True False



sp ot

.c o

m

4.The DriverManager class is used to open a connection to a database via a JDBC driver.
True False



ve

.b l

og

5. The JDBC and ODBC does not share a common parent
True False



w

-By

w

w

.e

ee

ex

cl u

si



<%}%>

M.Baran Mahamood Posted by mbaran90 at 6:34 AM 0 comments Labels: Internet Programming - CS2358

Tuesday, December 28, 2010 Cascading Style Sheets Algorithm :

Start the cascading program. Give link from main page to other like cascading, Embedded.. Write the code for separate page finally terminate program Source code for html Programming for Home page and Cascading, Embedded, Inline style sheet



ee

ex

cl u

si

ve

.b l

og

sp ot

.c o

m

Cascading Style Sheets

Different types of Cascading Style Sheets


1. Inline Style Sheet
2. Embeded Style Sheet
3. External Style Sheet
4. Imported Style Sheet


w

w

.e



w

Embedded Style Sheet

  1. Embedded style sheet



  2. Embedded style is the style attached to one specific document. The information is specified as a content of the style element inside the head element and wil apply to the entire documents.



ee



ex

cl u

si

ve

.b l

og

sp ot

.c o

m

Inline Style Sheet

  1. Inline Style Sheet
  2. Inine Style is the style attached to one specific element. The style is specified directly in the start tag as a value of the style attribute well apply exclusively to this specific element occurrence.



w

w

w

.e

Imported Style Sheet

1. Imported Style Sheet

Imported style sheet is a shet that can be imported to another sheet. This alignes exacting one main sheet containing declarations that apply to the whle site and partial sheets containing declarations that apply to specific elements.



m

External Style Sheet

1. External Style Sheet


An external style sheet is a template documents/files containing style info which can be linked with any number of the documents. This is a very convenient way of formating the entire site as well as restyling it by editing just one file



.c o



.b l

og

sp ot



ve



w

w

.e

ee

ex

cl u

si

Posted by mbaran90 at 10:03 AM 1 comments Labels: Internet Programming - CS2358

w

Tuesday, December 21, 2010 Creating Image Maps in HTML Aim : To create webpage and embed map and fix the hot spots in that map and show related information CS2358 INTERNET PROGRAMMING LABORATORY. Algorithm : Start the program for embed map in web page Create ImageMap.htm file

Set the coordination for the hot spot areaCreate separate html file for separate hot place Like Tamilnadu,keral,karanadha Finally terminate the program embed webpage

w

w

w

.e

ee

ex

cl u

si

ve

.b l

og

.c o

sp ot

Image Map Tamil Nadu Karnataka Andhra Pradesh Kerala India

m

Source code in HTML programming for embed page CS2358 INTERNET PROGRAMMING LABORATORY.

m .c o sp ot og .b l ve si cl u ex ee .e

w

w

w

About Tamil Nadu

Tamil Nadu


  • Area : 1,30,058 Sq. Kms.
  • Capital : Chennai
  • Language : Tamil
  • Population : 6,21,10,839


w

w

.e

ee

ex

cl u

si

og

ve

.b l

About Kerala

Kerala


  • Area : 38,863 Sq. Kms.
  • Capital : Thiruvananthapuram
  • Language : Malayalam
  • Population : 3,18,38,619


w

About Karnataka

Karnataka


  • Area : 1,91,791 Sq. Kms
  • Capital : Bangalore
  • Language : Kannada
  • Population : 5,27,33,958


m .c o

sp ot

About Andhra Pradesh

Andhra Pradesh


  • Area : 2,75,068 Sq. Kms
  • Capital : Hyderabad
  • Language : Telugu
  • Population : 7,57,27,541


w

w

w

.e

ee

ex

cl u

si

ve

.b l

og

sp ot

.c o

m

Posted by mbaran90 at 7:17 PM 0 comments Labels: Internet Programming - CS2358

Download File - HOME

Create a web page with the following using HTML i) To embed an image map in a web page ii) To fix the hot spots iii) Show all the related information when the ...

578KB Sizes 30 Downloads 233 Views

Recommend Documents

File: /home/hayder/Desktop/new file Page 1 of 1 -
/home/hayder/hayder1/omnetpp-4.1b4/out/gcc-release/src/scave/indexedvectorfilereader.o /home/hayder/ hayder1/omnetpp-4.1b4/out/gcc-release/src/scave/xyarray.o /home/hayder/hayder1/omnetpp-4.1b4/out/gcc- release/src/scave/fields.o /home/hayder/hayder1

Download File
ii Create a .GIF image with textual animation for the following theme: Flower and its parts. 30. 3 i Draw a smiley face and reposition the face along a circular path.

Download File
Rc.No.240/MDM/2012 ... Review of MDM Scheme by Hon'ble Minister for Secondary Education, .... 34 Whether the School Management Committee / Public.

Download File - IAS Parliament
kms since independence while China has added 50,000 route kms in the same period. .... pen or on screen by a stylus. I. • It can recognize the shapes of the.

Download File - IAS Parliament
6.4 Inter-State River Water Disputes. (Amendment) Bill 2017. 6.5 Mahanadi River Water Dispute ..... case, CIC in its order has urged CoA (Committee of administrators) running BCCI to ...... Palestine and the Dead Sea to the west; and the Red.

Download File - IAS Parliament
the Ministry to the Prohibition of. Child Marriage Act ... farming, appropriate soil health management and .... state and federal taxes and could help. India increase ...

Download File - IAS Parliament
China's Water Hegemony . .... flowing downstream. How Chinese Hydro-hegemony affects its neighbours? ... The YarlungTsangpo enters India after passing the ...

Download File - IAS Parliament
The mega project has three major objectives of Strategic research, Technology demonstrations and Capacity building. •. It was launched by Indian Council of ...... benefit of students and for the common man by organizing exhibitions, seminars, popul

Download File - IAS Parliament
health system performance and system strengthening. .... sensitizing young students to .... initiated a pilot project for .... registration of employers, job seekers ...

Download File - IAS Parliament
thousand persons have been trained under the ... wind power projects and a new policy called ... the long term growth trajectory of ... their life. • This is the age group in which the youth organises himself for ..... Demonetization of Rs 500 and

Download this PDF file
Michigan State University/Brown. University. Abstract Whether a transitive stative .... 9 When these sentences are presented in a list, their acceptability improves (Schmitt 1996). (i) a. ..... effects: University of California, Santa Cruz dissertati

Download file - (DIET), Thrissur
To. The Principal Accountant General (A&E), Kerala, Thiruvananthapuram. The Principal Accountant Genera! (G&SSA), Kerala, Tvpm. The Accountant General (E&RSA), Kerala, Thi ruvanantha puram. The Director of Treasuries, Thiruvananthapuram. All Heads of

Download File - IAS Parliament
Jun 2, 2018 - The multiple pro-girl initiatives and financial support, government seems ..... These disclosure laws do not eliminate corruption. • However, they ...

Download this PDF file
University. Abstract Whether a transitive stative predicate licenses an existential .... 9 When these sentences are presented in a list, their acceptability improves (Schmitt 1996). (i) a. ..... effects: University of California, Santa Cruz dissertat

Download File - Weebly
An element has same number of electrons in its 1th and 4th shell as well as in 2nd and 3rd shell. (a) Write electronic' configuration of the element. (b) Identify the ...

Download File - IAS Parliament
ORGANIC FARMING FOR SUSTAINABLE ENVIRONMENT .................................. 8. 5. POTENTIAL OF SERICULTURE . ... FLORICULTURE INITIATIVES IN INDIA.

Download File - IAS Parliament
Parliament recently passed the Human Immunodeficiency Virus (HIV) and ... The enhancement of paid maternity leave for women is a progressive step.

Download File - Internet Governance Forum
Jun 24, 2017 - It has been an integral part of Asia Pacific Regional Internet Governance Forum (APrIGF) since its inception in 2010. YIGF 2017 will be held in ...

pdf-file
Nov 7, 2012 - consists in asking subjects individually and then as a group to tell ..... We have lost the data of two groups due to a problem with a computer during the ..... Philosophical Transactions of the Royal Society B: Biological Sciences,.

Download Current eBook File - TheBookPatch.com
button at the top right. 2. After you log in you will be redirected to your Book Dashboard page. Click on the book details button to access your book's detail page.