OS project 1

OS project 1 - function getXMLHTTPRequest(){ if...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
http protocol GET http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html Default view plaincopy to clipboardprint? <init-param> <param-name>readonly</param-name> <param-value>false</param-value> </init-param> <init-param> <param-name>readonly</param-name> <param-value>false</param-value> </init-param> DELETE/PUT requestt view plaincopy to clipboardprint? function getXMLHTTPRequest(){ if (XMLHttpRequest) { return new XMLHttpRequest(); } else { try{ return new ActiveXObject('Msxml2.XMLHTTP'); }catch(e){ return new ActiveXObject('Microsoft.XMLHTTP'); } } } var req = getXMLHTTPRequest(); req.open('DELETE','http://localhost/test.jsp',false); req.send(null); document.write(req.responseText);
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: function getXMLHTTPRequest(){ if (XMLHttpRequest) { return new XMLHttpRequest(); } else { try{ return new ActiveXObject('Msxml2.XMLHTTP'); }catch(e){ return new ActiveXObject('Microsoft.XMLHTTP'); } } } var req = getXMLHTTPRequest(); req.open('DELETE','http://localhost/test.jsp',false); req.send(null); document.write(req.responseText); PUT <Directory /usr/local/etc/httpd/htdocs> Script PUT /cgi-bin-putusers/put.cgi </Directory> <Directory /usr/local/etc/httpd/cgi-bin-putusers> AuthType Basic AuthName "Authorised PUT Publishers" AuthUserFile /usr/local/etc/httpd/htpasswd-putusers Require valid-user </Directory> ScriptAlias /cgi-bin-putusers /usr/local/etc/httpd/cgi-bin-putusers...
View Full Document

This note was uploaded on 10/02/2011 for the course CS 7103 taught by Professor Kannan during the Fall '11 term at LSU.

Page1 / 2

OS project 1 - function getXMLHTTPRequest(){ if...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online