Copyright 2011 Sakun Sharma
|
|
- Gloria Hutchinson
- 5 years ago
- Views:
Transcription
1 Maintaining Sessions in JSP We need sessions for security purpose and multiuser support. Here we are going to use sessions for security in the following manner: 1. Restrict user to open admin panel. 2. Restrict specific type of user to open some other pages. 3. Restrict user from opening pages after logging out of the console. In JSP we use session objects to do the needful. With the help of this session object, we can define variables in that session. Case Scenario: We have an application with three types of console Student, Teacher and Admin. We want that whenever any kind of member log in, that user can access only its console related pages. That user cannot open other user s pages. We also want that, when ever user log s out, that user cannot open pages by clicking back button. Solution: To solve the problem given in above case scenario, we will use session objects. To demonstrate working of this we will need 4 web pages Login, Authenticate, Welcome and Console. Login Page (login.jsp) In login page, we will ask for username and password of the user. We will create this page using simple HTML tags with Form tag. After user successfully enters its username and password, we will submit that form using POST method to Authenticate.JSP page. This page will be JSP page because we will include JSP code for session object removal. (We will discuss about session object removal in later section [Welcome Page]) Code: <?xml version="1.0" encoding="iso "?> <%@ page language="java" contenttype="text/html; charset=iso "
2 pageencoding="iso "%> taglib prefix="c" uri=" %> taglib prefix="sql" uri=" %> taglib prefix="fmt" uri=" %> taglib prefix="fn" uri=" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " <html xmlns=" <head> <meta http-equiv="content-type" content="text/html; charset=iso " /> <title>sakun Sharma Blog: JSP Sessions - Login<title> <link rel="stylesheet" href="styles.css" type="text/css" /> </head> <body> <%-- Remove Session Object Variables on Log Out and New Visit--%> <% session.removeattribute("username"); session.removeattribute("type");%> <p> <font color="red"> ${fn:escapexml(param.errormsg)} </font>
3 </p> <form action="authenticate.jsp" method="post"> <table> <tr> <th colspan="2"><h4>login</h4></th> </tr> <tr> <td><center>username</center></td> <td><input type="text" name="un" id="un" value="${fn:escapexml(cookie.un.value)}"/></td> </tr> <tr> <td><center>password</center></td> <td><input type="password" name="pwd" id="pwd" value="${fn:escapexml(cookie.pwd.value)}" /></td> </tr> <tr> <td colspan="2"><center><input type="submit" name="bli" id="bli" value="enter"/></center></td> </tr>
4 </table> </form> </body> </html> Authenticate Page (authenticate.jsp) This page will be JSP page. In this page we will authenticate username and password provided by user with our database records. As we don t have database here, we will simple check username and password with static code directly defined in the page itself. But I will also include code of validating from database. After username and password has been successfully validated, we will create session object for the user. In the code given below you can see that we have defined two session variables Username and Type. Username variable contains username of user and type contains the type of user it is (Admin, Student or Teacher). In this page, we are creating session objects to be used later in welcome page for authorizing the user. Now, we have three different welcome pages Admin Welcome, Student Welcome and Teacher Welcome. Based on type of user, we will redirect user to his specific welcome page. Code: <%@ taglib prefix="c" uri=" %> <%@ taglib prefix="sql" uri=" %> <%@ page import = "java.sql.*,java.util.*" %>
5 <%-- Validation Phase--%> <c:if test="${empty param.un empty param.pwd}"> <c:redirect url="login.jsp" > <c:param name="errormsg" value="you must enter a User Name and Password." /> </c:if> <%-- See if the user name and password combination is valid from database. If not, redirect back to the login page with a message. I am commenting all the database related code because we are going to test on static code without database. Static Page Code Without Database is given at the end of this page. <sql:setdatasource datasource="jdbc/mydatasource"/> <sql:query var="stdinfo"> SELECT LT FROM LOGIN WHERE LUN =? AND LP =? <sql:param value="${param.un}" /> <sql:param value="${param.pwd}" /> </sql:query> --%> <%-- If valid username and password is given, then row count will be 1, else row count will be 0.
6 <c:if test="${stdinfo.rowcount == 0}"> <c:redirect url="login.jsp" > <c:param name="errormsg" value="the User Name or Password you entered is not valid." /> </c:if> --%> <%-- Get Type of User Field Value and store in variable LType <c:foreach var="row" items="${stdinfo.rowsbyindex}"> <c:foreach var="column" items="${row}"> <c:set var = "LType" value='${column}'/> </c:foreach> </c:foreach> --%> <%-- Setting Session Object Variables <%
7 session.setattribute("username", request.getparameter("un")); %> --%> <%-- Setting Session Object Variable Value Based on type of User Login <c:if test="${ltype == 'Teacher'}"> <%session.setattribute("type","teacher"); %> <c:redirect url="twelcome.jsp" > </c:if> <c:if test="${ltype == 'Student'}"> <%session.setattribute("type","student"); %> <c:redirect url="swelcome.jsp" > </c:if> <c:if test="${ltype == 'Admin'}"> <%session.setattribute("type","admin"); %> <c:redirect url="aconsole.jsp" >
8 </c:if> --%> <%-- Static Page Code without Database--%> <c:if test="${ param.un == admin && param.pwd == admin123., }"> <%session.setattribute("type","admin"); session.setattribute("username", request.getparameter("un")); %> <c:redirect url="awelcome.jsp" > </c:if> <c:if test="${ param.un == teacher && param.pwd == tea123., }"> <%session.setattribute("type","teacher"); session.setattribute("username", request.getparameter("un")); %> <c:redirect url="twelcome.jsp" > </c:if> <c:if test="${ param.un == student && param.pwd == stu123., }"> <%session.setattribute("type","student");
9 session.setattribute("username", request.getparameter("un")); %> <c:redirect url="swelcome.jsp" > </c:if> <%-- Default Condition--%> <c:redirect url="login.jsp" > <c:param name="errormsg" value="invalid Login Type, please contact your Administrator" /> Welcome Page In welcome page, we will check for type of user opening the page based on which welcome page is being opened. For example, if student is opening teachers welcome page, it should return error and log user out, and if it s opening student welcome page, then it should open successfully. In this page we will also have link to console page. We will use this console page to test back button security setting. (How and Why is explained in later section). Code: <?xml version="1.0" encoding="iso "?> <%@ page language="java" contenttype="text/html; charset=iso " pageencoding="iso "%>
10 page import = "java.sql.*,java.util.*" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " <html xmlns=" <head> <meta http-equiv="content-type" content="text/html; charset=iso " /> <title> Sakun Sharma Blog: JSP Sessions Admin Welcome</title> <link rel="stylesheet" href="styles.css" type="text/css" /> </head> <body> <%-- Authorizing User and its type for this page.--%> <% String State = ""; if (session.getattribute("username")!=null && session.getattribute("username")!="") { State = session.getattribute("username").tostring(); if (session.getattribute("type")!= "Admin") { response.sendredirect(request.getcontextpath() + "/login.jsp?errormsg=invalid+page+requested."); }
11 } else { response.sendredirect(request.getcontextpath() + "/login.jsp?errormsg=session Closed or Session Timout."); } %> <h1>welcome Admin</h1> <br /> <h2><a href= AConsole.jsp >Admin Console</a></h2> <h2><a href= login.jsp >Log Out</a></h2> </body> </html> AConsole.jsp <?xml version="1.0" encoding="iso "?> <%@ page language="java" contenttype="text/html; charset=iso " pageencoding="iso "%> <%@ page import = "java.sql.*,java.util.*" %>
12 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " <html xmlns=" <head> <meta http-equiv="content-type" content="text/html; charset=iso " /> <title> Sakun Sharma Blog: JSP Sessions Admin Console</title> <link rel="stylesheet" href="styles.css" type="text/css" /> </head> <body> <%-- Authorizing User and its type for this page.--%> <% String State = ""; if (session.getattribute("username")!=null && session.getattribute("username")!="") { State = session.getattribute("username").tostring(); if (session.getattribute("type")!= "Admin") { response.sendredirect(request.getcontextpath() + "/login.jsp?errormsg=invalid+page+requested."); } }
13 else { response.sendredirect(request.getcontextpath() + "/login.jsp?errormsg=session Closed or Session Timout."); } %> <h1>admin Console Page</h1> <br /> <h2><a href= AConsole.jsp >Admin Welcome Page</a></h2> <h2><a href= login.jsp >Log Out</a></h2> </body> </html> Student Welcome In student welcome page the only difference in authorizing code will be the value of type of user. Instead of: if (session.getattribute("type")!= "Admin") It will be: if (session.getattribute("type")!= "Student")
14 Similarly the code will be for student console, teacher welcome and teacher console. The method to authorize will remain same only. Removing Session Object Variables After clicking Log Out link, page will be re-directed to Login page. In login page we have added following code: Code: <%-- Remove Session Object Variables on Log Out and New Visit--%> <% session.removeattribute("username"); session.removeattribute("type");%> This code is used to remove the session objects created during the login process in authentication.jsp page. As these objects are deleted, this session will be no more valid session. Now when we will click on back link, it will open previous page successfully (not in all browsers) but will not function. It will open that page successfully because it s being opened from cache memory not from server (not applicable with all browsers), but it will not function. To test this, either re-load page by clicking refresh button or click on console.jsp link it will re-direct to login page displaying an error message Invalid Session. Default Username s and Password: Username Password Type of Login student stu123., Student Login admin admin123., Admin Login teacher tea123., Teacher Login
JSP CSCI 201 Principles of Software Development
JSP CSCI 201 Principles of Software Development Jeffrey Miller, Ph.D. jeffrey.miller@usc.edu Outline JSP Program USC CSCI 201L JSP 3-Tier Architecture Client Server Web/Application Server Database USC
More informationCreating a Simple Web Application Using a MySQL Database
1 z 24 2014-11-18 14:30 Creating a Simple Web Application Using a MySQL Database Written by Troy Giunipero This document describes how to create a simple web application that connects to a MySQL database
More informationHTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.
HTML Summary Structure All of the following are containers. Structure Contains the entire web page. Contains information
More informationPrinciples and Techniques of DBMS 6 JSP & Servlet
Principles and Techniques of DBMS 6 JSP & Servlet Haopeng Chen REliable, INtelligent and Scalable Systems Group (REINS) Shanghai Jiao Tong University Shanghai, China http://reins.se.sjtu.edu.cn/~chenhp
More informationPart A Short Answer (50 marks)
Part A Short Answer (50 marks) NOTE: Answers for Part A should be no more than 3-4 sentences long. 1. (5 marks) What is the purpose of HTML? What is the purpose of a DTD? How do HTML and DTDs relate to
More informationBCSL057: WEB PROGRAMMING LAB
BCSL057: WEB PROGRAMMING LAB Web Programming 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
More informationhome.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/
home.php 1/1 3: * home.php 5: * A simple home page for these login demos. 6: * David J. Malan 8: * Computer Science E-75 9: * Harvard Extension School 10: */ 11: // enable sessions 13: session_start();
More informationStateless Session Bean
Stateless Session Bean Stateful Session Bean Developing EJB applications Stateless beans are used in the case when the process or action can be completed in one go. In this case, object state will not
More informationEnter Grade Report. No Place Like Gilbert Duenas. California State University San Marcos. Johnny Koons. CS 441 Software Engineering
Enter Grade Report No Place Like 192.168.0.1 Gilbert Duenas Johnny Koons Russell Hathaway California State University San Marcos CS 441 Software Engineering Dr. Kazumi Slott Contents Activity Diagram...
More informationUsing htmlarea & a Database to Maintain Content on a Website
Using htmlarea & a Database to Maintain Content on a Website by Peter Lavin December 30, 2003 Overview If you wish to develop a website that others can contribute to one option is to have text files sent
More informationTitle: Dec 11 3:40 PM (1 of 11)
... basic iframe body {color: brown; font family: "Times New Roman"} this is a test of using iframe Here I have set up two iframes next to each
More informationGIMP WEB 2.0 MENUS. Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar.
GIMP WEB 2.0 MENUS Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar. Standard Navigation Bar Web 2.0 Navigation Bar Now the all-important question
More informationintroduction to XHTML
introduction to XHTML XHTML stands for Extensible HyperText Markup Language and is based on HTML 4.0, incorporating XML. Due to this fusion the mark up language will remain compatible with existing browsers
More informationExam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points)
CS-101 Fall 2008 Section 4 Practice Final v1.0m Name: Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points) XHTML/CSS Reference: Entities: Copyright
More informationImplementing a chat button on TECHNICAL PAPER
Implementing a chat button on TECHNICAL PAPER Contents 1 Adding a Live Guide chat button to your Facebook page... 3 1.1 Make the chat button code accessible from your web server... 3 1.2 Create a Facebook
More informationVebra Search Integration Guide
Guide Introduction... 2 Requirements... 2 How a Vebra search is added to your site... 2 Integration Guide... 3 HTML Wrappers... 4 Page HEAD Content... 4 CSS Styling... 4 BODY tag CSS... 5 DIV#s-container
More informationJSP: JavaServer Pages
-- 4 -- JSP: JavaServer Pages Turning Servlets Inside Out 56 JavaServer Pages: Java code embedded in HTML More similar to languages such as PHP out.println( the value of pi is: + Math.pi); // Servlet
More informationHow browsers talk to servers. What does this do?
HTTP HEADERS How browsers talk to servers This is more of an outline than a tutorial. I wanted to give our web team a quick overview of what headers are and what they mean for client-server communication.
More informationKamnoetvidya Science Academy. Object Oriented Programming using Java. Ferdin Joe John Joseph. Java Session
Kamnoetvidya Science Academy Object Oriented Programming using Java Ferdin Joe John Joseph Java Session Create the files as required in the below code and try using sessions in java servlets web.xml
More informationDocument for Consuming Web-Service In.NET & JAVA
Document for Consuming Web-Service In.NET & JAVA Delhi e-governance Society, Department of Information Technology, Government of Delhi 9 th Level B Wing Delhi Secretariat 1 Background: Ministry of Electronics
More informationHow the Internet Works
How the Internet Works The Internet is a network of millions of computers. Every computer on the Internet is connected to every other computer on the Internet through Internet Service Providers (ISPs).
More informationOverview. Part I: Portraying the Internet as a collection of online information systems HTML/XHTML & CSS
CSS Overview Part I: Portraying the Internet as a collection of online information systems Part II: Design a website using HTML/XHTML & CSS XHTML validation What is wrong?
More informationLab 4 CSS CISC1600, Spring 2012
Lab 4 CSS CISC1600, Spring 2012 Part 1 Introduction 1.1 Cascading Style Sheets or CSS files provide a way to control the look and feel of your web page that is more convenient, more flexible and more comprehensive
More informationCreating a New Project with Struts 2
Creating a New Project with Struts 2 February 2015 Level: By : Feri Djuandi Beginner Intermediate Expert Platform : Eclipse, Struts 2, JBoss AS 7.1.1. This tutorial explains how to create a new Java project
More informationHyperText Markup Language (HTML)
HyperText Markup Language (HTML) Mendel Rosenblum 1 Web Application Architecture Web Browser Web Server / Application server Storage System HTTP Internet LAN 2 Browser environment is different Traditional
More informationDEZVOLTAREA APLICATIILOR WEB CURS 7. Lect. Univ. Dr. Mihai Stancu
DEZVOLTAREA APLICATIILOR WEB CURS 7 Lect. Univ. Dr. Mihai Stancu S u p o r t d e c u r s suport (Beginning JSP, JSF and Tomcat) Capitolul 3 JSP Application Architectures DEZVOLTAREA APLICATIILOR WEB CURS
More informationANSWER KEY Exam I (Yellow Version) CIS 228: The Internet Prof. St. John Lehman College City University of New York 26 February 2009
ANSWER KEY Exam I (Yellow Version) CIS 228: The Internet Prof. St. John Lehman College City University of New York 26 February 2009 1. True or False: (a) False An element with only a closing tag is called
More informationHTML. HTML Evolution
Overview stands for HyperText Markup Language. Structured text with explicit markup denoted within < and > delimiters. Not what-you-see-is-what-you-get (WYSIWYG) like MS word. Similar to other text markup
More informationJSP MOCK TEST JSP MOCK TEST IV
http://www.tutorialspoint.com JSP MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to JSP Framework. You can download these sample mock tests at your local
More informationDate Picker Haim Michael
Date Picker Introduction The date picker is one of the most popular jquery widgets in use. It is highly configurable and extremely easy to implement. Introduction Simple Date Picker
More informationAdvanced Web Systems 3- Portlet and JSP-JSTL. A. Venturini
Advanced Web Systems 3- Portlet and JSP-JSTL A. Venturini Contents Portlet: doview flow Handling Render phase Portlet: processaction flow Handling the action phase Portlet URL Generation JSP and JSTL Sample:
More informationblink.html 1/1 lectures/6/src/ form.html 1/1 lectures/6/src/
blink.html 1/1 3: blink.html 5: David J. Malan Computer Science E-75 7: Harvard Extension School 8: 9: --> 11:
More informationProject 3 CIS 408 Internet Computing
Problem 1: Project 3 CIS 408 Internet Computing Simple Table Template Processing with Java Script and DOM This project has you run code in your browser. Create a file TableTemplate.js that implements a
More informationWeb Publishing Basics I
Web Publishing Basics I Jeff Pankin Information Services and Technology Contents Course Objectives... 2 Creating a Web Page with HTML... 3 What is Dreamweaver?... 3 What is HTML?... 3 What are the basic
More informationIntroduction to HTML5
Introduction to HTML5 History of HTML 1991 HTML first published 1995 1997 1999 2000 HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 After HTML 4.01 was released, focus shifted to XHTML and its stricter standards.
More informationBuilding Your Blog Audience. Elise Bauer & Vanessa Fox BlogHer Conference Chicago July 27, 2007
Building Your Blog Audience Elise Bauer & Vanessa Fox BlogHer Conference Chicago July 27, 2007 1 Content Community Technology 2 Content Be. Useful Entertaining Timely 3 Community The difference between
More informationWeb Services Application Programming Interface (API) Specification
Web Services Application Programming Interface (API) Specification Version 1.1 July 10, 2018 Web Services API Specifications 2 of 36 Table of s 1. Terrain Sources... 3 1.1. GET Method... 3 1.2. POST Method...
More informationServer Applications with ASP and XMLComposer
. TopLeaf 7 How To: Server Applications with ASP and XMLComposer 1. Introduction TopLeaf is a highly adaptable XML composition engine that can be used as part of larger enterprise solutions where dynamic
More informationBasic Examples of webmathematica for Teachers
Basic Examples of webmathematica for Teachers Any calculation done in Mathematica can be done using webmathematica, with two noteworthy limitations. First, when using webmathematica, you will not have
More informationShane Gellerman 10/17/11 LIS488 Assignment 3
Shane Gellerman 10/17/11 LIS488 Assignment 3 Background to Understanding CSS CSS really stands for Cascading Style Sheets. It functions within an HTML document, so it is necessary to understand the basics
More information/smlcodes /smlcodes /smlcodes JSP. Java Server Pages. Small Codes. Programming Simplified. A SmlCodes.Com Small presentation
/smlcodes /smlcodes /smlcodes JSP Java Server Pages - Satya Kaveti Small Codes Programming Simplified A SmlCodes.Com Small presentation In Association with Idleposts.com For more tutorials & Articles visit
More informationHTML HTML. Chris Seddon CRS Enterprises Ltd 1
Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 Reference Sites W3C W3C w3schools DevGuru Aptana GotAPI Dog http://www.w3.org/ http://www.w3schools.com
More informationPart 4: Creating a Drill-down Interface
Part 4: Creating a Drill-down Interface In this section you will learn to Pass Variables through a link Receive Variables passed through the URL Passing Variables between Pages Variables may be passed
More informationCS134 Web Site Design & Development. Quiz1
CS134 Web Site Design & Development Quiz1 Name: Score: Email: I Multiple Choice Questions (2 points each, total 20 points) 1. Which of the following is an example of an IP address? a. www.whitehouse.gov
More informationLA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD CAMPUS AW BE BU MI SH ALLOWABLE MATERIALS
LIBRARY USE LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD 2013 Student ID: Seat Number: Unit Code: CSE2WD Paper No: 1 Unit Name: Paper Name: Reading Time: Writing Time: Web Development Final 15 minutes
More informationInternet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:
Internet publishing HTML (XHTML) language Petr Zámostný room: A-72a phone.: 4222 e-mail: petr.zamostny@vscht.cz Essential HTML components Element element example Start tag Element content End tag
More informationChapter 4 Sending Data to Your Application
Chapter 4 Sending Data to Your Application Charles Severance and Jim Eng csev@umich.edu jimeng@umich.edu Textbook: Using Google App Engine, Charles Severance Unless otherwise noted, the content of this
More informationLab 7 Introduction to MySQL
Lab 7 Introduction to MySQL Objectives: During this lab session, you will - Learn how to access the MySQL Server - Get hand-on experience on data manipulation and some PHP-to-MySQL technique that is often
More informationDEV BHOOMI INSTITUTE OF TECHNOLOGY Department of Computer Science and Engineering. Algorithm lab- PCS-553 LAB MANUAL
Department of Computer Science and Engineering Year: 3rd Semester: 5th Algorithm lab- PCS-553 Prepared By: HOD(CSE) 1 Department of Computer Science and Engineering INDEX S.No Practical s Name Tools Remark
More informationNew Media Production HTML5
New Media Production HTML5 Modernizr, an HTML5 Detection Library Modernizr is an open source, MIT-licensed JavaScript library that detects support
More informationUnderstanding Basic SQL Injection
Understanding Basic SQL Injection SQL injection (also known as SQLI) is a code injection technique that occurs if the user-defined input data is not correctly filtered or sanitized of the string literal
More informationMI1004 Script programming and internet applications
MI1004 Script programming and internet applications Course content and details Learn > Course information > Course plan Learning goals, grades and content on a brief level Learn > Course material Study
More informationConfiguring Hotspots
CHAPTER 12 Hotspots on the Cisco NAC Guest Server are used to allow administrators to create their own portal pages and host them on the Cisco NAC Guest Server. Hotspots created by administrators can be
More informationWIRIS quizzes web services Getting started with PHP and Java
WIRIS quizzes web services Getting started with PHP and Java Document Release: 1 2010 december, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS
More informationJavaServer Pages. What is JavaServer Pages?
JavaServer Pages SWE 642, Fall 2008 Nick Duan What is JavaServer Pages? JSP is a server-side scripting language in Java for constructing dynamic web pages based on Java Servlet, specifically it contains
More informationTutorial on text transformation with pure::variants
Table of Contents 1. Overview... 1 2. About this tutorial... 1 3. Setting up the project... 2 3.1. Source Files... 4 3.2. Documentation Files... 5 3.3. Build Files... 6 4. Setting up the feature model...
More informationWeb Services Application Programming Interface (API) Specification
Web Services Application Programming Interface (API) Specification Version 1.3 Jan 3, 2019 Web Services API Specifications 2 of 56 Table of s 1. Terrain Sources... 4 1.1. GET Method... 4 1.2. POST Method...
More informationAn Introduction to WebSphere Portal content publishing channels
An Introduction to WebSphere Portal content publishing channels By Gregory Melahn Software Engineer, IBM Corp. May 2003 Abstract WebSphere Portal content publishing (WPCP) allows you to import news stories
More informationWireframe :: tistory wireframe tistory.
Page 1 of 45 Wireframe :: tistory wireframe tistory Daum Tistory GO Home Location Tags Media Guestbook Admin 'XHTML+CSS' 7 1 2009/09/20 [ ] XHTML CSS - 6 (2) 2 2009/07/23 [ ] XHTML CSS - 5 (6) 3 2009/07/17
More informationDesign Project. i385f Special Topics in Information Architecture Instructor: Don Turnbull. Elias Tzoc
Design Project Site: News from Latin America Design Project i385f Special Topics in Information Architecture Instructor: Don Turnbull Elias Tzoc April 3, 2007 Design Project - 1 I. Planning [ Upper case:
More informationCSI 3140 WWW Structures, Techniques and Standards
CSI 3140 WWW Structures, Techniques and Standards Midterm examination Length of Examination: 75 minutes February 23, 2010 Professor: Guy-Vincent Jourdan Page 1 of 12 Family Name: Other Names: Student Number:
More informationCreate a cool image gallery using CSS visibility and positioning property
GRC 275 A8 Create a cool image gallery using CSS visibility and positioning property 1. Create a cool image gallery, having thumbnails which when moused over display larger images 2. Gallery must provide
More informationWeb Development and HTML. Shan-Hung Wu CS, NTHU
Web Development and HTML Shan-Hung Wu CS, NTHU Outline How does Internet Work? Web Development HTML Block vs. Inline elements Lists Links and Attributes Tables Forms 2 Outline How does Internet Work? Web
More informationUnit Notes. ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript
Unit Notes ICAWEB411A Produce basic client-side script for dynamic web pages Topic 1 Introduction to JavaScript Copyright, 2013 by TAFE NSW - North Coast Institute Date last saved: 18 September 2013 by
More informationWeb Development & Design Foundations with XHTML. Chapter 2 Key Concepts
Web Development & Design Foundations with XHTML Chapter 2 Key Concepts Learning Outcomes In this chapter, you will learn about: XHTML syntax, tags, and document type definitions The anatomy of a web page
More informationHTML Overview. With an emphasis on XHTML
HTML Overview With an emphasis on XHTML What is HTML? Stands for HyperText Markup Language A client-side technology (i.e. runs on a user s computer) HTML has a specific set of tags that allow: the structure
More informationInternet content. Objectives HTML SGML CSS XML XHTML MIME HTTP HTML & SGML. SGML/XML-example
Internet content Objectives HTML SGML CSS XML XHTML MIME HTTP What HTML is, what its origins are, and where one can find information about it Next generation HTML: CSS, XHTML Describing internet data:
More informationHTML SGML CSS XML XHTML MIME HTTP
HTML SGML CSS XML XHTML MIME HTTP DD1335 (Lecture 2) Basic Internet Programming Spring 2010 1 / 27 Objectives What HTML is, what its origins are, and where one can find information about it Next generation
More informationChapter 15 Java Server Pages (JSP)
Sungkyunkwan University Chapter 15 Java Server Pages (JSP) Prepared by J. Jung and H. Choo Web Programming Copyright 2000-2018 Networking 2000-2012 Networking Laboratory Laboratory 1/30 Server & Client
More informationEnterprise Knowledge Platform Adding the Login Form to Any Web Page
Enterprise Knowledge Platform Adding the Login Form to Any Web Page EKP Adding the Login Form to Any Web Page 21JAN03 2 Table of Contents 1. Introduction...4 Overview... 4 Requirements... 4 2. A Simple
More informationLecture 6: Web Security CS /17/2017
Lecture 6: Web Security CS5431 03/17/2017 2015 Security Incidents Web Vulnerabilities by Year 2500 2000 1500 1000 500 0 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015
More informationCOSC 2206 Internet Tools. Brief Survey of HTML and XHTML Document Structure Formatting
COSC 2206 Internet Tools Brief Survey of HTML and XHTML Document Structure Formatting 1 W3C HTML Home page W3C is the World Wide Web Consortium and their home page has lots of information, links, and a
More informationFinal Examination CIS 228: The Internet Prof. St. John Lehman College City University of New York 18 December 2008
Final Examination CIS 228: The Internet Prof. St. John Lehman College City University of New York 18 December 2008 NAME (Printed) NAME (Signed) E-mail Exam Rules Show all your work. Your grade will be
More information<tr><td>last Name </td><td><input type="text" name="shippingaddress-last-name"
// API Setup Parameters $gatewayurl = 'https://secure.payscout.com/api/v2/three-step'; $APIKey = '2F822Rw39fx762MaV7Yy86jXGTC7sCDy'; // If there is no POST data or a token-id, print the initial Customer
More informationYandex.Widgets Quick start
19.10.2018 .. Version 2 Document build date: 19.10.2018. This volume is a part of Yandex technical documentation. Yandex helpdesk site: http://help.yandex.ru 2008 2018 Yandex LLC. All rights reserved.
More informationSession 12. JSP Tag Library (JSTL) Reading & Reference
Session 12 JSP Tag Library (JSTL) 1 Reading & Reference Reading Head First Chap 9, pages 439-474 Reference (skip internationalization and sql sections) Java EE 5 Tutorial (Chapter 7) - link on CSE336 Web
More informationCHAPTER 2 MARKUP LANGUAGES: XHTML 1.0
WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson reserved. 0-13-185603-0 HTML HELLO WORLD! Document
More informationAdvanced HTML Scripting WebGUI Users Conference
Advanced HTML Scripting 2004 WebGUI Users Conference XHTML where did that x come from? XHTML =? Extensible Hypertext Markup Language Combination of HTML and XML More strict than HTML Things to Remember
More informationArc en Ciel Ltd. Gazetteer Webservice FactSheet
Arc en Ciel Ltd. Gazetteer Webservice FactSheet Overview We provide two gazetteer webservices: on place name and on street name. The place name service allows a user to browse for any town, village or
More informationModify cmp.htm, contactme.htm and create scheduleme.htm
GRC 175 Assignment 2 Modify cmp.htm, contactme.htm and create scheduleme.htm Tasks: 1. Setting up Dreamweaver and defining a site 2. Convert existing HTML pages into proper XHTML encoding 3. Add alt tags
More informationHow to Set Up a Custom Challenge Page for Authentication
How to Set Up a Custom Challenge Page for Authentication Setting up a custom challenge page is a three step process: 1. Create a custom challenge page. Deploy the created custom challenge page on your
More informationIslamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab.
Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 5049 Advanced Internet Technology Lab Lab # 1 Eng. Haneen El-masry February, 2015 Objective To be familiar with
More informationConstruction d Applications Réparties / Master MIAGE
Construction d Applications Réparties / Master MIAGE Java EE - JSF Giuseppe Lipari CRiSTAL, Université de Lille March 23, 2016 Outline JSP JSTL tags Data persistence Database mapping layer Outline JSP
More informationBy the end of this chapter, you will have a very basic, but fully functional blogging system.
C H A P T E R 5 Building the Entry Manager At this point, you know enough to start building your blog! In this chapter, I ll walk you through how to build the backbone of your blogging application. The
More informationBasics of Page Format
Basics of Page Format HTML Structural Tags Certain HTML tags provide the structure of the HTML document. These include the tag, the tag, the tag, and the tag. As soon as a
More informationQualys Cloud Platform v2.x API Release Notes
API Release Notes Version 2.35.1.0 January 2, 2019 Qualys Cloud Suite API gives you many ways to integrate your programs and API calls with Qualys capabilities. You ll find all the details in our user
More informationCreating Web Pages Using HTML
Creating Web Pages Using HTML HTML Commands Commands are called tags Each tag is surrounded by Some tags need ending tags containing / Tags are not case sensitive, but for future compatibility, use
More informationIT350 Web and Internet Programming. XHTML Tables and Forms (from Chapter 4 of the text 4 th edition Chapter 2 of the text 5 th edition)
IT350 Web and Internet Programming XHTML Tables and Forms (from Chapter 4 of the text 4 th edition Chapter 2 of the text 5 th edition) 4.10 Tables 1 Table Basics table element border, summary, caption
More informationdjango-sekizai Documentation
django-sekizai Documentation Release 0.6.1 Jonas Obrist September 23, 2016 Contents 1 About 3 2 Dependencies 5 3 Usage 7 3.1 Configuration............................................... 7 3.2 Template
More informationWeb Development with Java EE Introduction to Custom Tags, JSTL and Deployment
Applied Autonomous Sensor Systems Web Development with Java EE Introduction to Custom Tags, JSTL and Deployment AASS Mobile Robotics Lab, Teknik Room T2222 fpa@aass.oru.se Contents Web Client Programming
More informationCIS 228 (Fall 2011) Exam 1, 9/27/11
CIS 228 (Fall 2011) Exam 1, 9/27/11 Name (sign) Name (print) email Question Score 1 12 2 12 3 12 4 12 5 12 6 12 7 12 8 16 TOTAL 100 CIS 228, exam 1 1 09/27/11 Question 1 True or false: _F_ A Cascading
More informationComputer Science E-75 Building Dynamic Websites
Computer Science E-75 Building Dynamic Websites Harvard Extension School http://www.cs75.net/ Lecture 0: HTTP David J. Malan malan@post.harvard.edu http://www.cs.harvard.edu/~malan/ 0 DNS Image from wikipedia.org.
More informationMicronet International College
Micronet International College Level 4 Diploma in Computing Designing and Developing a Website (DDW) Test 1 (20%) Name: /50 Class: QUESTION 1 a) I) What are W3C standards? 1 Specifications or descriptions
More informationCIS 228 (Fall 2011) Exam 2, 11/3/11
CIS 228 (Fall 2011) Exam 2, 11/3/11 Name (sign) Name (print) email Question 1 2 3 4 5 6 7 8 TOTAL Score CIS 228, exam 2 1 11/03/11 Question 1 True or false: In CSS, property declarations in the same rule
More informationTrabalhando com JavaServer Pages (JSP)
Trabalhando com JavaServer Pages (JSP) Sumário 7.2.1 Introdução 7.2.2 JavaServer Pages Overview 7.2.3 First JavaServer Page Example 7.2.4 Implicit Objects 7.2.5 Scripting 7.2.5.1 Scripting Components 7.2.5.2
More informationVendor: SUN. Exam Code: Exam Name: Sun Certified Web Component Developer for J2EE 5. Version: Demo
Vendor: SUN Exam Code: 310-083 Exam Name: Sun Certified Web Component Developer for J2EE 5 Version: Demo QUESTION NO: 1 You need to store a Java long primitive attribute, called customeroid, into the session
More informationSchenker AB. Interface documentation Map integration
Schenker AB Interface documentation Map integration Index 1 General information... 1 1.1 Getting started...1 1.2 Authentication...1 2 Website Map... 2 2.1 Information...2 2.2 Methods...2 2.3 Parameters...2
More information