Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
How do I create an HTML server where get request to / should return index.html, get request to /yourname should return the personal file and post request to /comment should prase the data from the post request body and send the text data back to the client?
Expert Solution
arrow_forward
Step 1
Here is the explanation regarding the server side programing.
Step by stepSolved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Using the existing code, hardcore code in an Admin account that is seperate from the regular user accounts. Only when logging in using the Admin account should the page should redirect you to sales.html Existing code: login.js function Login() {window.location.href = window.location.href.substring(0, window.location.href.lastIndexOf('/')) + "/Login.html"} function ResetPassword() {window.location.href = window.location.href.substring(0, window.location.href.lastIndexOf('/')) + "/resetpassword.html"} function LoginUser() {var userName = document.getElementById("txtUserName").value;var password = document.getElementById("txtPassword").value; var user = JSON.parse(localStorage.getItem("user")); var storedUserName = user.email;var storedPassword = user.password; if (storedUserName && storedPassword) { if (userName.length > 0 && password.length > 0) { if (userName == storedUserName && password == storedPassword) {alert("Logged In");} else {alert("username or…arrow_forwardMake up a table of data. Your table must have at least four rows and four columns. It must have at least one rowspan and one colspan attribute. The value for these attributes must be greater than 1. You can make up your own data. However, the table does have to make sense. Please name this file part one.html,arrow_forwardUsing the domain name www.practice.com, construct the URL for a file called history.html in a folder called About_Us, which is in the web root directoryarrow_forward
- How do in form in HTML do a query search in a dataset: https://data.world/datasets with a button and reset <form id="query"> <input type="search" name="q" placeholder="https://data.world/datasets/"> <input type="button" value="Submit"> <input type="button" onclick="myFunction()" value="Reset form"> </form> <script> function myFunction() { document.getElementById("query").reset(); } </script>arrow_forwardUsing comments in the code, can you provide a line by line explination as to what the below HTML file is doing? The file relates to a WebGL program if that helps you. Please & thank you HTML File: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" > <title>3D Sierpinski Gasket</title> <script id="vertex-shader" type="x-shader/x-vertex"> #version 300 es in vec3 aPosition; in vec3 aColor; out vec4 vColor; void main() { gl_Position = vec4(aPosition, 1.0); vColor = vec4(aColor, 1.0); } </script> <script id="fragment-shader" type="x-shader/x-fragment"> #version 300 es precision mediump float; in vec4 vColor; out vec4 fColor; void main() { fColor = vColor; } </script> <script type="text/javascript" src="../Common/initShaders.js"></script> <script type="text/javascript" src="../Common/MVnew.js"></script> <script type="text/javascript"…arrow_forwardIn this project you will use selection lists to store long lists of hypertext links that might overwhelm a page if displayed within a navigation list. The name of a linked page is displayed as the text of a selection list option while the URL is stored as that option's value. By selecting an item from one of the selection list options, the browser will open the web page with that selected URL. To script this action, you will use the event object. One of the properties associated with the event object is as follows: evt.target where evt is the variable name assigned to event object and target is the object that received the event. In this project the target is the option selected by the user from one of the selection lists. The event will be the change event. A preview of the page is shown in Figure 6-39arrow_forward
- I did it, and I'm still getting a zero. I am also getting a lot of errors.arrow_forward<!-- Write your code here --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title> Chapter 1, Extend Your Knowledge <p> Benjamin Bain, 9/10/2021 <hr> <p> Guideline 1.1arrow_forwardQ2 Every month there are millions of streamers who stream in a variety of different categories. for this challenge, you will be working on writing a data structure that will be storing the name of streamers streaming, the number of views they currently have, as well as the category they are streaming inarrow_forward
- <!-- Instructions ============ 1. Generate a table using the data in the <script> tags below. The table columns should be generated dynamically based on the data. They should not be hardcoded. 2. Clicking on a table header should sort the table by the column that was clicked on. Clicking the same column a second time should sort in descending order. You may use third-party libraries, but you cannot use any built-in table components. Feel free to style the table however you like with CSS. --> <!DOCTYPE html> <html lang="en"> <head> <metacharset="utf-8" /> </head> <body> <divid="root">TODO: generate table</div> </body> <script> vardata=[ { Username: "booker12", Identifier: "9012", "First Name": "Rachel", "Last Name": "Booker", }, { Username: "grey07", Identifier: "2070",…arrow_forwardChange the text color of first <li>one</li> in a HTML unordered list? example HTML: <ul> <li>one</li> /* text should be color red*/ <li>two</li> <li>three</li> <li>four</li> <ul>arrow_forwardYou created a registration feature for management but the data is not stored anywhere. For this assignment store the user registration information in web storage. The best approach would be to create a User object to store the data and use the email address as the key and the user object as the value. Existing code: Register.html <html><head><title>Registration Page</title><script src="./js/register.js"></script></head><body bgcolor="Lightskyblue"><br /><br /><form>Email: <input type="text" id="email" name="email"/> <br> <br> Phone: <input type="text" id="phone" name="phone"/> <br> <br> Address: <textarea id="address" name="address"> </textarea> <br> <br> City: <input type="text" id="city" name="city"/> <br> <br> State: <input type="text" id="state" name="state"/> <br> <br> ZIP Code: <input type="text" id="zip"…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education