Web Server Logs Analyze Using the XML Technologies
|
|
|
- Gervase Bradford
- 10 years ago
- Views:
Transcription
1 Web Server Logs Analyze Using the XML Technologies Author: Tayeb L. July We introduce here an approach to write and analyze server logs using the XML technology. The approach consists to transform the server log to an XML structure that we have defined and then to apply the log analyze. The analyze is done using XSLT and allows to have a clear idea about the server log in the form of a valid HTML [3] page generated from the XML log file. 1 The Server Logs Analyze The approach that we have adopted in order to analyze and manipulate the server logs, woks as follows: - First we transform, using a Java program, the textual format of the server log to an XML [1] file. The supported textual format of the server log is the one compatible with the Apache log format. This last is simple, it includes a set of string lines where each line corresponds to a visitor hit. Each line includes: the visitor IP address, the time and the date of the visit, the client request, the status code of the server reply, the file size of the requested content, the referrer URL, and the user agent type. In the following we give an example of an Apache server log: [01/Jul/2002:17:31: ] "GET HTTP/1.1" "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)" [01/Jul/2002:17:31: ] "GET HTTP/1.1" "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)" [01/Jul/2002:17:31: ] "GET HTTP/1.1" "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)" [01/Jul/2002:17:40: ] "GET /people/tayeb.lemlouma/multimedia/ccpp/ups-package/upsprofiles.html HTTP/1.0" "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Fetch API Request" [01/Jul/2002:17:41: ] "GET /people/tayeb.lemlouma/papers/adhoc_presentation.pdf HTTP/1.1" " &ie=utf-8&oe=utf8&start=20&sa=n" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)" [01/Jul/2002:18:09: ] "GET /people/tayeb.lemlouma/multimedia/ccpp/ups-package/upsprofiles.html HTTP/1.0" "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Fetch API Request" [01/Jul/2002:18:19: ] "GET /people/tayeb.lemlouma/negotiationschema/index.htm HTTP/1.0" "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Fetch API Request"
2 Figure 1. An example of a server log file In order to avoid the size explosion of the generated XML, we have chosen a simple format that contains only the required information. In the following we give an example of the generated XML from the precedent log file: <?xml version="1.0"?> <ServerLog> <Visitor IP=" " accessdate="01/jul/2002:17:31: " request="get HTTP/1.1" statuscode="206" filesize="1024" referrer="-" useragent="mozilla/4.0 (compatible; MSIE 5.01; Windows NT)" /> <Visitor IP=" " accessdate="01/jul/2002:17:31: " request="get HTTP/1.1" statuscode="206" filesize="2395" referrer="-" useragent="mozilla/4.0 (compatible; MSIE 5.01; Windows NT)" /> <Visitor IP=" " accessdate="01/jul/2002:17:31: " request="get HTTP/1.1" statuscode="206" filesize="66568" referrer="-" useragent="mozilla/4.0 (compatible; MSIE 5.01; Windows NT)" /> <Visitor IP=" " accessdate="01/jul/2002:17:40: " request="get /people/tayeb.lemlouma/multimedia/ccpp/ups-package/upsprofiles.html HTTP/1.0" statuscode="200" filesize="3332" referrer="-" useragent="mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Fetch API Request" /> <Visitor IP=" " accessdate="01/jul/2002:17:41: " request="get /people/tayeb.lemlouma/papers/adhoc_presentation.pdf HTTP/1.1" statuscode="200" filesize="18535" referrer=" amp;hl=fr&lr=&ie=utf-8&oe=utf8&start=20&sa=n" useragent="mozilla/4.0 (compatible; MSIE 6.0; Windows 98)" /> <Visitor IP=" " accessdate="01/jul/2002:18:09: " request="get /people/tayeb.lemlouma/multimedia/ccpp/ups-package/upsprofiles.html HTTP/1.0" statuscode="200" filesize="3332" referrer="-" useragent="mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Fetch API Request" /> <Visitor IP=" " accessdate="01/jul/2002:18:19: " request="get /people/tayeb.lemlouma/negotiationschema/index.htm HTTP/1.0" statuscode="304" filesize="-" referrer="-" useragent="mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Fetch API Request" /> </ServerLog> Figure 2. The generation of the XML log file - After transforming the server log file to XML, we use the XSLT language [2] to analyze the XML content. One of the proposed processing is to organize the log information in elements concerning each visitor with giving its IP address, the number of hits, the date of the first access, the first visit server resource and the referrer visitor URL. The following XML file represents an example of the generated XML form: <?xml version="1.0" encoding="utf-8"?> <analysresult> <accessnumber>0</accessnumber> <totalaccessnumber>7</totalaccessnumber> <VisitorIP> </VisitorIP> <VisitorAccessNumber>3</VisitorAccessNumber> <firstaccessdate>01/jul/2002:17:31: </firstAccessDate> <firstvisitorrequest>get HTTP/1.1</firstVisitorRequest> <referrer>-</referrer> <VisitorIP> </VisitorIP> <VisitorAccessNumber>1</VisitorAccessNumber>
3 <firstaccessdate>01/jul/2002:17:40: </firstAccessDate> <firstvisitorrequest>get /people/tayeb.lemlouma/multimedia/ccpp/ups- Package/UPSProfiles.html HTTP/1.0</firstVisitorRequest> <referrer>-</referrer> <VisitorIP> </VisitorIP> <VisitorAccessNumber>1</VisitorAccessNumber> <firstaccessdate>01/jul/2002:17:41: </firstAccessDate> <firstvisitorrequest>get /people/tayeb.lemlouma/papers/adhoc_presentation.pdf HTTP/1.1</firstVisitorRequest> <referrer> amp;hl=fr&lr=&ie=utf-8&oe=utf8&start=20&sa=n</referrer> <VisitorIP> </VisitorIP> <VisitorAccessNumber>2</VisitorAccessNumber> <firstaccessdate>01/jul/2002:18:09: </firstAccessDate> <firstvisitorrequest>get /people/tayeb.lemlouma/multimedia/ccpp/ups- Package/UPSProfiles.html HTTP/1.0</firstVisitorRequest> <referrer>-</referrer> </analysresult> Figure 3. An XSLT analyze of the server log file The above XML form is generated from the XML log file (Figure 2) using the following XSLT style sheet: <?xml version="1.0" encoding="iso "?> <xsl:stylesheet xmlns:xsl=" version="1.0"> <xsl:template match="/"><analysresult> <xsl:text> </xsl:text> <accessnumber><xsl:value-of /></accessnumber> <totalaccessnumber><xsl:value-of select="count(serverlog/visitor)" /></totalaccessnumber> <xsl:for-each select="serverlog/visitor"> <xsl:variable name="value" <xsl:if = 0"> <VisitorIP><xsl:value-of <VisitorAccessNumber><xsl:value-of <firstaccessdate><xsl:value-of <firstvisitorrequest><xsl:value-of <referrer><xsl:value-of </xsl:if> </xsl:for-each> </analysresult></xsl:template></xsl:stylesheet> Figure 4. The XSLT stylesheet used in the server log analyze - An other possible transformation of the XML server log is to analyze the log and output the result in the form of an HTML page that can be easily visualized. The following figure shows a possible analyze of the XML log file in the form of an HTML page: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <META http-equiv="content-type" content="text/html; charset=utf-8">
4 <title>web Analys Result</title> <meta content="text/html; charset=iso " http-equiv="content-type"> </head> <body text="#000000" bgcolor="#ffffff"> <h1 align="left"> <b>server Web Analyze</b> </h1> <table border="0" width="97%"> <tr bgcolor="#ffff00"> <td width="9%"> <div align="left"> <b><font face="arial">visitor IP Adress</font></b> </div> </td><td width="12%"><b><font face="arial">hits Number</font></b></td><td width="30%"><b><font face="arial">date of the First Access</font></b></td><td width="6%"><b><font face="arial">first Request</font></b></td><td width="8%"><b><font face="arial">referrer</font></b></td> <tr bgcolor="#efefef"> <td bgcolor="#efefef" width="9%"><b><font size="2" face="arial" color="#990000"> </font></b></td><td width="12%"><font size="2" face="arial">3</font></td><td width="30%"><font size="2" face="arial">01/jul/2002:17:31: </font></td><td width="6%"><font size="2" face="arial">get HTTP/1.1</font></td><td width="8%"><font size="2" face="arial">-</font></td> <tr bgcolor="#efefef"> <td bgcolor="#efefef" width="9%"><b><font size="2" face="arial" color="#990000"> </font></b></td><td width="12%"><font size="2" face="arial">1</font></td><td width="30%"><font size="2" face="arial">01/jul/2002:17:40: </font></td><td width="6%"><font size="2" face="arial">get /people/tayeb.lemlouma/multimedia/ccpp/ups-package/upsprofiles.html HTTP/1.0</font></td><td width="8%"><font size="2" face="arial">-</font></td> <tr bgcolor="#efefef"> <td bgcolor="#efefef" width="9%"><b><font size="2" face="arial" color="#990000"> </font></b></td><td width="12%"><font size="2" face="arial">1</font></td><td width="30%"><font size="2" face="arial">01/jul/2002:17:41: </font></td><td width="6%"><font size="2" face="arial">get /people/tayeb.lemlouma/papers/adhoc_presentation.pdf HTTP/1.1</font></td><td width="8%"><font size="2" face="arial"> e&hl=fr&lr=&ie=utf-8&oe=utf8&start=20&sa=n</font></td> <tr bgcolor="#efefef"> <td bgcolor="#efefef" width="9%"><b><font size="2" face="arial" color="#990000"> </font></b></td><td width="12%"><font size="2" face="arial">2</font></td><td width="30%"><font size="2" face="arial">01/jul/2002:18:09: </font></td><td width="6%"><font size="2" face="arial">get /people/tayeb.lemlouma/multimedia/ccpp/ups-package/upsprofiles.html HTTP/1.0</font></td><td width="8%"><font size="2" face="arial">-</font></td> </table> <p> <font size="2">analyze done using log2xml utility. <br>author: Tayeb Lemlouma, <br> Jully 2002.</font> </p> </body> </html> Figure 5. An HTML form of an XSLT analyze of the server log
5 Figure 6. The generated HTML page 2 The application The source code used in the log server transformation is give as follows: import java.io.; import java.lang.string; import java.net.; public class log2xml { Replace a char by a string of char in the input str1 the input str2 the tring used to replace the input c the character to be replaced public String replacestring(string str1, String str2, char c){ String str=""; for(int i=0; i<str1.length(); i++) if (str1.charat(i)==c) str+=str2; else str+=str1.charat(i); return str; }//replacestring Build a part of the XML out the output stream writer of the XML IP the string of the IP accessdate the string of the access request the string of the visitor statuscode the string of the status filesize the string of the file referrer the string of the useragent the string of the user agent public void buildxmldata(outputstreamwriter out, String IP, String accessdate, String request, String statuscode, String filesize, String referrer, String useragent){ try{ out.write("<visitor IP=\""+IP+"\" accessdate=\""+accessdate+"\" request=\""+request+"\" statuscode=\""+statuscode+"\" filesize=\""+filesize+"\" referrer=\""+referrer+"\" useragent=\""+useragent+"\" />\r\n"); }catch(exception e){
6 System.err.println("can't write the XML file: "+e); } }//end buildxmldata Extract the user agent logline a line of the server log public String extractuseragent(string logline){ String useragent=""; int i,j,k,l,m; for(j=i; logline.charat(j)!='"' && j<logline.length(); j++); j+=2;//skip " " for(k=j; logline.charat(k)!=' ' && k<logline.length(); k++); k+=1;//skip " " for(l=k; logline.charat(l)!=' ' && l<logline.length(); l++); l+=2;//skip ' "' for(m=l; logline.charat(m)!='"' && m<logline.length(); m++); m+=3;//skip ' "' for(int n=m; logline.charat(n)!='"' && n<logline.length(); n++){useragent+=logline.charat(n);} return useragent; }//end extractuseragent Extract the referrer logline a line of the server log public String extractreferrer(string logline){ String referrer=""; int i,j,k,l; for(j=i; logline.charat(j)!='"' && j<logline.length(); j++); j+=2;//skip " " for(k=j; logline.charat(k)!=' ' && k<logline.length(); k++); k+=1;//skip " " for(l=k; logline.charat(l)!=' ' && l<logline.length(); l++); l+=2;//skip ' "' for(int m=l; logline.charat(m)!='"' && m<logline.length(); m++){referrer+=logline.charat(m);} return referrer; }//end extractuseragent Extract the file size logline a line of the server log public String extractfilesize(string logline){ String filesize=""; int i,j,k; for(j=i; logline.charat(j)!='"' && j<logline.length(); j++); j+=2;//skip " " for(k=j; logline.charat(k)!=' ' && k<logline.length(); k++); k+=1; for(int l=k; logline.charat(l)!=' ' && l<logline.length(); l++){filesize+=logline.charat(l);} return filesize; }//end extractuseragent Extract the status code information
7 @param logline a line of the server log public String extractstatuscode(string logline){ String statuscode=""; int i,j; for(j=i; logline.charat(j)!='"' && j<logline.length(); j++); j+=2;//skip " " for(int k=j; logline.charat(k)!=' ' && k<logline.length(); k++){statuscode+=logline.charat(k);} return statuscode; }//end extractuseragent Extract the request logline a line of the server log public String extractrequest(string logline){ String request=""; int i; for(int j=i; logline.charat(j)!='"' && j<logline.length(); j++){request+=logline.charat(j);} return request; }//end extractrequest Exract the date logline a line of the server log public String extractdate(string logline){ String extractdate=""; int i; i+=6; //skip "- - [" for(int j=i; logline.charat(j)!=']' && j<logline.length(); j++){extractdate+=logline.charat(j);} return extractdate; }//end extractdate Extract the IP logline a line of the server log public String extractip(string logline){ }//end extractip String extractip=""; for(int i=0; logline.charat(i)!=' ' && i<logline.length(); i++) {extractip+=logline.charat(i);} return extractip; Create the log in XML Format: <?xml version=\"1.0\"?> <ServerLog> <Visitor IP=" " accessdate="30/jun/2002:04:02: " request="get /people/tayeb.lemlouma/negotiationschema/index.htm HTTP/1.0" statuscode="200" filesize="2674" referrer="-" useragent="mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) Fetch API Request" /> <Visitor.. />...
8 <Visitor.. /> logfilename The file name of the xmlfilename The file name of the output XML servertype The type of the server that determines the format of the log public log2xml(string logfilename, String xmlfilename, String servertype){ try { String logline; String IP; String accessdate; String request; String statuscode; String filesize; String referrer; String useragent; if(servertype.equals("apache/1.3.20")){ OutputStreamWriter out; FileOutputStream fout = new FileOutputStream(xmlFileName); out = new OutputStreamWriter(fout, "ISO "); FileReader fr = new FileReader(logFileName); BufferedReader br = new BufferedReader(fr); out.write("<?xml version=\"1.0\"?>\r\n"); out.write("<serverlog>\r\n"); while ((logline=br.readline())!=null){ IP = extractip(logline); accessdate = extractdate(logline); request = extractrequest(logline); statuscode = extractstatuscode(logline); filesize = extractfilesize(logline); referrer = extractreferrer(logline); useragent = extractuseragent(logline); request = replacestring(request,"&", '&'); referrer = replacestring(referrer, "&", '&'); buildxmldata(out, IP, accessdate, request,statuscode, filesize, referrer, useragent); }// end while out.write("</serverlog>\r\n"); out.close(); }else{system.err.println("the server log type: "+servertype+"is not yet supported");} }catch(exception e){ }//end catch }//end public } Written to test the log2xml method public static void main(string[] args) throws Exception { System.out.println("XML file creating..."); //new log2xml("log.txt","file.xml", "Apache/1.3.20"); System.out.println("XML file created."); }//end main
9 3 How to run the application? 1- Download the different resources: Log2XML.class, loganalyzer.xsl, loganalyzer2.xsl 2- To transform the server log file, access_log.1, (which must be compatible with Apache/ log format), run: java Log2XML access_log.1 3- The generated file 'output.xml' represents the XML server log. It can be so processed and used to do many analyzes. 4- To transform the XML server log to an XML file in the form of the figure 3, apply the XSLT style sheet: loganalyzer.xsl 5- To transform the XML server log to an HTML page in the form of the figure 4, apply the style sheet: loganalyzer2.xsl References [1] W3C, Extensible Markup Language (XML) 1.0, W3C Recommendation: 10 February [2] W3C, The Extensible Stylesheet Language (XSL), [3] W3C, HyperText Markup Language,
By Nabil ADOUI, member of the 4D Technical Support team
XSLT with PHP By Nabil ADOUI, member of the 4D Technical Support team Contents Summary... 3 Introduction... 3 Important elements... 3 The PHP XSL library... 4 The PHP XSL API... 5 XSLTProcessor:: construct...
XSL - Introduction and guided tour
Concepts and Technologies of XML 6.1 XSL - Introduction and guided tour CT-XML 2014/2015 Warning! Authors " João Moura Pires ([email protected]) " With contributions of Carlos Damásio ([email protected])
Learning Outcomes. Networking. Sockets. TCP/IP Networks. Hostnames and DNS TCP/IP
CP4044 Lecture 7 1 Networking Learning Outcomes To understand basic network terminology To be able to communicate using Telnet To be aware of some common network services To be able to implement client
An introduction to web programming with Java
Chapter 1 An introduction to web programming with Java Objectives Knowledge Objectives (continued) The first page of a shopping cart application The second page of a shopping cart application Components
HTML Fails: What No One Tells You About Email HTML
HTML Fails: What No One Tells You About Email HTML 2 Today s Webinar Presenter Kate McDonough Campaign Manager at PostUp Worked with various ESPs: Constant Contact, Campaign Monitor, ExactTarget, Distribion
Building a Multi-Threaded Web Server
Building a Multi-Threaded Web Server In this lab we will develop a Web server in two steps. In the end, you will have built a multi-threaded Web server that is capable of processing multiple simultaneous
Consuming a Web Service(SOAP and RESTful) in Java. Cheat Sheet For Consuming Services in Java
Consuming a Web Service(SOAP and RESTful) in Java Cheat Sheet For Consuming Services in Java This document will provide a user the capability to create an application to consume a sample web service (Both
Differences between HTML and HTML 5
Differences between HTML and HTML 5 1 T.N.Sharma, 2 Priyanka Bhardwaj, 3 Manish Bhardwaj Abstract: Web technology is a standard that allow developing web applications with the help of predefined sets of
Secure Testing Service
Secure Testing Service Overview and pre-release use Authors: Andrej Sokoll Matthew Loewengart Revisions: 2011 Version 1.0 Page 2 Contents Overview... 3 Background... 3 How does the secure testing service
Lesson: All About Sockets
All About Sockets http://java.sun.com/docs/books/tutorial/networking/sockets/index.html Page 1 sur 1 The Java TM Tutorial Start of Tutorial > Start of Trail Trail: Custom Networking Lesson: All About Sockets
Data Integration through XML/XSLT. Presenter: Xin Gu
Data Integration through XML/XSLT Presenter: Xin Gu q7.jar op.xsl goalmodel.q7 goalmodel.xml q7.xsl help, hurt GUI +, -, ++, -- goalmodel.op.xml merge.xsl goalmodel.input.xml profile.xml Goal model configurator
WWW. World Wide Web Aka The Internet. dr. C. P. J. Koymans. Informatics Institute Universiteit van Amsterdam. November 30, 2007
WWW World Wide Web Aka The Internet dr. C. P. J. Koymans Informatics Institute Universiteit van Amsterdam November 30, 2007 dr. C. P. J. Koymans (UvA) WWW November 30, 2007 1 / 36 WWW history (1) 1968
Files and input/output streams
Unit 9 Files and input/output streams Summary The concept of file Writing and reading text files Operations on files Input streams: keyboard, file, internet Output streams: file, video Generalized writing
BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 6 Professional Graduate Diploma in IT WEB ENGINEERING
BCS THE CHARTERED INSTITUTE FOR IT BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 6 Professional Graduate Diploma in IT WEB ENGINEERING Wednesday 26 th March 2014 - Morning Answer any THREE questions out
Overview of Web Services API
1 CHAPTER The Cisco IP Interoperability and Collaboration System (IPICS) 4.5(x) application programming interface (API) provides a web services-based API that enables the management and control of various
ResellerPlus - Bulk Http API Specification. (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System)
RouteSms ResellerPlus - Bulk Http API Specification (Document Version 1.0.0) (This Document gives details on how to send messages via the Bulk HTTP API for the RouteSms SMPP System) 1 P a g e HTTP API
Hypertext for Hyper Techs
Hypertext for Hyper Techs An Introduction to HTTP for SecPros Bio Josh Little, GSEC ~14 years in IT. Support, Server/Storage Admin, Webmaster, Web App Dev, Networking, VoIP, Projects, Security. Currently
Auto-Generating Documentation & Source Code
Auto-Generating Documentation & Source Code http://d3s.mff.cuni.cz Pavel Parízek [email protected] CHARLES UNIVERSITY IN PRAGUE faculty of mathematics and physics Documentation Nástroje pro vývoj
Google Web Toolkit. Progetto di Applicazioni Software a.a. 2011/12. Massimo Mecella
Google Web Toolkit Progetto di Applicazioni Software a.a. 2011/12 Massimo Mecella Introduction Ajax (Asynchronous JavaScript and XML) refers to a broad range of techniques Beyond the technical jargon,
XML Processing and Web Services. Chapter 17
XML Processing and Web Services Chapter 17 Textbook to be published by Pearson Ed 2015 in early Pearson 2014 Fundamentals of http://www.funwebdev.com Web Development Objectives 1 XML Overview 2 XML Processing
e Merchant Plug-in (MPI) Integration & User Guide
Payment solutions for online commerce e Merchant Plug-in (MPI) Integration & User Guide Enabling merchants to integrate their payment processing with PayPoint.net s 3D Secure Merchant Plug In (MPI) solution.
INPUT AND OUTPUT STREAMS
INPUT AND OUTPUT The Java Platform supports different kinds of information sources and information sinks. A program may get data from an information source which may be a file on disk, a network connection,
How To Write A Program For The Web In Java (Java)
21 Applets and Web Programming As noted in Chapter 2, although Java is a general purpose programming language that can be used to create almost any type of computer program, much of the excitement surrounding
THE PROXY SERVER 1 1 PURPOSE 3 2 USAGE EXAMPLES 4 3 STARTING THE PROXY SERVER 5 4 READING THE LOG 6
The Proxy Server THE PROXY SERVER 1 1 PURPOSE 3 2 USAGE EXAMPLES 4 3 STARTING THE PROXY SERVER 5 4 READING THE LOG 6 2 1 Purpose The proxy server acts as an intermediate server that relays requests between
T XML in 2 lessons! %! " #$& $ "#& ) ' */,: -.,0+(. ". "'- (. 1
XML in 2 lessons! :.. 1 Lets start This presentation will answer the fundamental questions: What is XML? How do I use XML? How does it work? What can I use it for, anyway? 2 World Wide Web Consortium (W3C)
Division of Informatics, University of Edinburgh
CS1Bh Lecture Note 20 Client/server computing A modern computing environment consists of not just one computer, but several. When designing such an arrangement of computers it might at first seem that
WRITING DATA TO A BINARY FILE
WRITING DATA TO A BINARY FILE TEXT FILES VS. BINARY FILES Up to now, we have looked at how to write and read characters to and from a text file. Text files are files that contain sequences of characters.
Developing Web Views for VMware vcenter Orchestrator
Developing Web Views for VMware vcenter Orchestrator vcenter Orchestrator 5.1 This document supports the version of each product listed and supports all subsequent versions until the document is replaced
reference: HTTP: The Definitive Guide by David Gourley and Brian Totty (O Reilly, 2002)
1 cse879-03 2010-03-29 17:23 Kyung-Goo Doh Chapter 3. Web Application Technologies reference: HTTP: The Definitive Guide by David Gourley and Brian Totty (O Reilly, 2002) 1. The HTTP Protocol. HTTP = HyperText
Managing Data on the World Wide-Web
Managing Data on the World Wide-Web Sessions, Listeners, Filters, Shopping Cart Elad Kravi 1 Web Applications In the Java EE platform, web components provide the dynamic extension capabilities for a web
Extending XSLT with Java and C#
Extending XSLT with Java and C# The world is not perfect. If it were, all data you have to process would be in XML and the only transformation language you would have to learn would XSLT. Because the world
LabVIEW Internet Toolkit User Guide
LabVIEW Internet Toolkit User Guide Version 6.0 Contents The LabVIEW Internet Toolkit provides you with the ability to incorporate Internet capabilities into VIs. You can use LabVIEW to work with XML documents,
CSCI110: Examination information.
CSCI110: Examination information. The exam for CSCI110 will consist of short answer questions. Most of them will require a couple of sentences of explanation of a concept covered in lectures or practical
ShoreTel Enterprise Contact Center 8 Installing and Implementing Chat
ShoreTel Enterprise Contact Center 8 Installing and Implementing Chat November 2012 Legal Notices Document and Software Copyrights Copyright 1998-2012 by ShoreTel Inc., Sunnyvale, California, USA. All
Cross Platform App Development
Cross Platform App Development a technical overview Heiko Behrens #OOP2011 @HBehrens I want an iphone App! diversity of platforms 94 App Stores two categories How can we address this diversity? You can
Internet Technologies_1. Doc. Ing. František Huňka, CSc.
1 Internet Technologies_1 Doc. Ing. František Huňka, CSc. Outline of the Course 2 Internet and www history. Markup languages. Software tools. HTTP protocol. Basic architecture of the web systems. XHTML
General principles and architecture of Adlib and Adlib API. Petra Otten Manager Customer Support
General principles and architecture of Adlib and Adlib API Petra Otten Manager Customer Support Adlib Database management program, mainly for libraries, museums and archives 1600 customers in app. 30 countries
Cyber Security Workshop Ethical Web Hacking
Cyber Security Workshop Ethical Web Hacking May 2015 Setting up WebGoat and Burp Suite Hacking Challenges in WebGoat Concepts in Web Technologies and Ethical Hacking 1 P a g e Downloading WebGoat and Burp
Agenda. 1. ZAPms Konzept. 2. Benutzer-Kontroller. 3. Laout-Aufbau. 4. Template-Aufbau. 6. Konfiguration. 7. Module.
Agenda. ZAPms Konzept.. Benutzer-Kontroller.. Laout-Aufbau.. Template-Aufbau. 5. Bildergalerie (Beispiel). 6. Konfiguration. 7. Module. . ZAPms Konzept Benutzer Web Server Benutzer-Kontroller www.domain/index.php
Security-Assessment.com White Paper Leveraging XSRF with Apache Web Server Compatibility with older browser feature and Java Applet
Security-Assessment.com White Paper Leveraging XSRF with Apache Web Server Compatibility with older browser feature and Java Applet Prepared by: Roberto Suggi Liverani Senior Security Consultant Security-Assessment.com
Introduction to Web Technologies
Introduction to Web Technologies Tara Murphy 17th February, 2011 The Internet CGI Web services HTML and CSS 2 The Internet is a network of networks ˆ The Internet is the descendant of ARPANET (Advanced
The Java I/O System. Binary I/O streams (ascii, 8 bits) The decorator design pattern Character I/O streams (Unicode, 16 bits)
Binary I/O streams (ascii, 8 bits) InputStream OutputStream The Java I/O System The decorator design pattern Character I/O streams (Unicode, 16 bits) Reader Writer Comparing Binary I/O to Character I/O
XML WEB TECHNOLOGIES
XML WEB TECHNOLOGIES Chakib Chraibi, Barry University, [email protected] ABSTRACT The Extensible Markup Language (XML) provides a simple, extendable, well-structured, platform independent and easily
.NET Best Practices Part 1 Master Pages Setup. Version 2.0
.NET Best Practices Part 1 Master Pages Setup Version 2.0 2014 CrownPeak Technology, Inc. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means, electronic
Using ilove SharePoint Web Services Workflow Action
Using ilove SharePoint Web Services Workflow Action This guide describes the steps to create a workflow that will add some information to Contacts in CRM. As an example, we will use demonstration site
FileMaker Server 9. Custom Web Publishing with PHP
FileMaker Server 9 Custom Web Publishing with PHP 2007 FileMaker, Inc. All Rights Reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker is a trademark of FileMaker,
Java and XML parsing. EH2745 Lecture #8 Spring 2015. [email protected]
Java and XML parsing EH2745 Lecture #8 Spring 2015 [email protected] Lecture Outline Quick Review The XML language Parsing Files in Java Quick Review We have in the first set of Lectures covered the basics
Email API Document. 2012 Webaroo Technology India Pvt. Ltd.
Email API Document 2012 Webaroo Technology India Pvt. Ltd. All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying,
Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence
Web Development Owen Sacco ICS2205/ICS2230 Web Intelligence Introduction Client-Side scripting involves using programming technologies to build web pages and applications that are run on the client (i.e.
Web Authoring CSS. www.fetac.ie. Module Descriptor
The Further Education and Training Awards Council (FETAC) was set up as a statutory body on 11 June 2001 by the Minister for Education and Science. Under the Qualifications (Education & Training) Act,
JAVA - FILES AND I/O
http://www.tutorialspoint.com/java/java_files_io.htm JAVA - FILES AND I/O Copyright tutorialspoint.com The java.io package contains nearly every class you might ever need to perform input and output I/O
Managing Snort Alerts
Chapter 5 Managing Snort Alerts Scripts and Samples in this Chapter Gathering Snort Logs Building an Alerts Detail Report Building an Alerts Overview Report Managing Snort Rules 147 148 Chapter 5 Managing
Concrete uses of XML in software development and data analysis.
Concrete uses of XML in software development and data analysis. S. Patton LBNL, Berkeley, CA 94720, USA XML is now becoming an industry standard for data description and exchange. Despite this there are
Chapter 1 Programming Languages for Web Applications
Chapter 1 Programming Languages for Web Applications Introduction Web-related programming tasks include HTML page authoring, CGI programming, generating and parsing HTML/XHTML and XML (extensible Markup
How To Create A Web Database From A Multimedia Resources Database On A Microsoft Web Browser On A Pc Or Mac Or Mac (For Free) On A Mac Or Ipad Or Ipa (For Cheap) On Pc Or Ipam (For Money
How to Build a Web Database: A Case Study Introduction This paper shows you how to build a simple Web application using ColdFusion. If you follow the sample case study of the multimedia resources database
gomobi Traffic Switching Guide Version 0.9, 28 September 2010
gomobi Traffic Switching Guide Version 0.9, 28 September 2010 Mobile/Desktop Traffic Switching... 3 Summary of Options... 3 Single Site Solutions... 4 Server-side Switching Code... 4 JavaScript Switching
API. Application Programmers Interface document. For more information, please contact: Version 2.01 Aug 2015
API Application Programmers Interface document Version 2.01 Aug 2015 For more information, please contact: Technical Team T: 01903 228100 / 01903 550242 E: [email protected] Page 1 Table of Contents Overview...
Crowbar: New generation web application brute force attack tool
Crowbar: New generation web application brute force attack tool 1 Tables of contents Introduction... 3 Challenges with brute force attacks... 3 Crowbar a fresh approach... 3 Other applications of crowbar...
Short notes on webpage programming languages
Short notes on webpage programming languages What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language is a set of
public static void main(string[] args) { System.out.println("hello, world"); } }
Java in 21 minutes hello world basic data types classes & objects program structure constructors garbage collection I/O exceptions Strings Hello world import java.io.*; public class hello { public static
COMP 112 Assignment 1: HTTP Servers
COMP 112 Assignment 1: HTTP Servers Lead TA: Jim Mao Based on an assignment from Alva Couch Tufts University Due 11:59 PM September 24, 2015 Introduction In this assignment, you will write a web server
Web. Programming. Hans- Pe0er Halvorsen, M.Sc. h0p://home.hit.no/~hansha/?page=sojware_development
h0p://home.hit.no/~hansha/?page=sojware_development Web O. Widder. (2013). geek&poke. Available: h0p://geek- and- poke.com Programming Hans- Pe0er Halvorsen, M.Sc. 1 Web is the Present and the Future 2
Chulalongkorn University International School of Engineering Department of Computer Engineering 2140105 Computer Programming Lab.
Chulalongkorn University Name International School of Engineering Student ID Department of Computer Engineering Station No. 2140105 Computer Programming Lab. Date Lab 2 Using Java API documents, command
CONFIGURING A WEB SERVER AND TESTING WEBSPEED
CONFIGURING A WEB SERVER AND TESTING WEBSPEED Fellow and OpenEdge Evangelist Document Version 1.0 August 2010 September, 2010 Page 1 of 15 DISCLAIMER Certain portions of this document contain information
10CS73:Web Programming
10CS73:Web Programming Question Bank Fundamentals of Web: 1.What is WWW? 2. What are domain names? Explain domain name conversion with diagram 3.What are the difference between web browser and web server
WA 2. GWT Martin Klíma
WA 2 GWT Martin Klíma GWT What is it? Google Web Toolkig Compiler from Java to JavaScript + HTML Set of JavaScript and Java scripts / classes Development environment SDK Integration with IDE Eclipse, Netbeans,
A70 How to Deploy Applications
Research In Motion A70 How to Deploy and Distribute Applications For BlackBerry SmartPhones Andre Fabris 09 2 P a g e Contents A70 How to Deploy Applications... 3 Introduction... 4 Desktop Manager... 5
WebSphere and Message Driven Beans
WebSphere and Message Driven Beans 1 Messaging Messaging is a method of communication between software components or among applications. A messaging system is a peer-to-peer facility: A messaging client
Web Container Components Servlet JSP Tag Libraries
Web Application Development, Best Practices by Jeff Zhuk, JavaSchool.com ITS, Inc. [email protected] Web Container Components Servlet JSP Tag Libraries Servlet Standard Java class to handle an HTTP request
WEB DEVELOPMENT IA & IB (893 & 894)
DESCRIPTION Web Development is a course designed to guide students in a project-based environment in the development of up-to-date concepts and skills that are used in the development of today s websites.
ANALYSING SERVER LOG FILE USING WEB LOG EXPERT IN WEB DATA MINING
International Journal of Science, Environment and Technology, Vol. 2, No 5, 2013, 1008 1016 ISSN 2278-3687 (O) ANALYSING SERVER LOG FILE USING WEB LOG EXPERT IN WEB DATA MINING 1 V. Jayakumar and 2 Dr.
Building A Very Simple Website
Sitecore CMS 6.5 Building A Very Simple Web Site Rev 110715 Sitecore CMS 6.5 Building A Very Simple Website A Self-Study Guide for Developers Table of Contents Chapter 1 Introduction... 3 Chapter 2 Creating
IT6503 WEB PROGRAMMING. Unit-I
Handled By, VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur-603203. Department of Information Technology Question Bank- Odd Semester 2015-2016 IT6503 WEB PROGRAMMING Mr. K. Ravindran, A.P(Sr.G)
ACM Crossroads Student Magazine The ACM's First Electronic Publication
Page 1 of 8 ACM Crossroads Student Magazine The ACM's First Electronic Publication Crossroads Home Join the ACM! Search Crossroads [email protected] ACM / Crossroads / Columns / Connector / An Introduction
The Web Server. 2 Implementation. 2.1 The Process Behind a Web Page Request. Shana Blair and Mark Kimmet
The Web Server Shana Blair and Mark Kimmet University of Notre Dame, Notre Dame IN 46556, USA Abstract Since the creation of the World Wide Web by Tim Berners-Lee in 1990, internet web servers have been
JobScheduler Web Services Executing JobScheduler commands
JobScheduler - Job Execution and Scheduling System JobScheduler Web Services Executing JobScheduler commands Technical Reference March 2015 March 2015 JobScheduler Web Services page: 1 JobScheduler Web
CSE 308. Coding Conventions. Reference
CSE 308 Coding Conventions Reference Java Coding Conventions googlestyleguide.googlecode.com/svn/trunk/javaguide.html Java Naming Conventions www.ibm.com/developerworks/library/ws-tipnamingconv.html 2
Apache Usage. Apache is used to serve static and dynamic content
Apache Web Server One of many projects undertaken by the Apache Foundation It is most popular HTTP server. Free Free for commercial and private use Source code is available (open-source) Portable Available
Form Handling. Server-side Web Development and Programming. Form Handling. Server Page Model. Form data appended to request string
Form Handling Server-side Web Development and Programming Lecture 3: Introduction to Java Server Pages Form data appended to request string
D06 PROGRAMMING with JAVA
Cicles Formatius de Grau Superior Desenvolupament d Aplicacions Informàtiques D06 PROGRAMMING with JAVA Ch16 Files and Streams PowerPoint presentation, created by Angel A. Juan - ajuanp(@)gmail.com, for
Web Development I & II*
Web Development I & II* Career Cluster Information Technology Course Code 10161 Prerequisite(s) Computer Applications Introduction to Information Technology (recommended) Computer Information Technology
Big Data Meets Infosec Visualiza4on. Forensics Challenge 10 Honeynet.org
Big Data Meets Infosec Visualiza4on Forensics Challenge 10 Honeynet.org Challenge Design and build a visualiza4on that describes the aaacks that were analyzed in FC5. Use the three prize winners solu4ons
XML. CIS-3152, Spring 2013 Peter C. Chapin
XML CIS-3152, Spring 2013 Peter C. Chapin Markup Languages Plain text documents with special commands PRO Plays well with version control and other program development tools. Easy to manipulate with scripts
WTP-101 Developing Rich Internet Applications with Java Web Frameworks
WTP-101 Developing Rich Internet Applications with Java Web Frameworks Hands on Exercises Copyright eteration a.s. 2008 ITU Teknokent ARI-1 No:25 34469 Istanbul Turkey Except for third party materials
Network Communication
Network Communication Outline Sockets Datagrams TCP/IP Client-Server model OSI Model Sockets Endpoint for bidirectional communication between two machines. To connect with each other, each of the client
URLs and HTTP. ICW Lecture 10 Tom Chothia
URLs and HTTP ICW Lecture 10 Tom Chothia This Lecture The two basic building blocks of the web: URLs: Uniform Resource Locators HTTP: HyperText Transfer Protocol Uniform Resource Locators Many Internet
See the Developer s Getting Started Guide for an introduction to My Docs Online Secure File Delivery and how to use it programmatically.
My Docs Online Secure File Delivery API: C# Introduction My Docs Online has provided HIPAA-compliant Secure File Sharing and Delivery since 1999. With the most recent release of its web client and Java
Cisco BTS 10200 Softswitch SOAP Adapter Interface Specification Programmer s Guide, Release 7.0
Cisco BTS 10200 Softswitch SOAP Adapter Interface Specification Programmer s Guide, Release 7.0 July 2010 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com
Web Application Report
Web Application Report Security Report This report was created by IBM Rational AppScan 7.8.0.0 2/11/2009 5:25:03 PM 2/11/2009 5:25:03 PM 1/28 Copyright IBM Corp. 2000, 2009. All Rights Reserved. Report
HTTP - METHODS. Same as GET, but transfers the status line and header section only.
http://www.tutorialspoint.com/http/http_methods.htm HTTP - METHODS Copyright tutorialspoint.com The set of common methods for HTTP/1.1 is defined below and this set can be expanded based on requirements.
Acrobat Connect. Using Connect Enterprise Web Services
Acrobat Connect Using Connect Enterprise Web Services 2007 Adobe Systems Incorporated. All rights reserved. Using Adobe Connect Enterprise Web Services If this guide is distributed with software that includes
