Questions tagged [web-technologies]

Web Technologies is an umbrella term under which browser-based APIs, which are not part of the DOM, but which expose capabilities of the browser or the devices they run on. Examples of web technologies include the Web Cryptography API [webcryptoapi], Battery Status API, Permission API, etc.

95 questions
0
votes
0 answers

How can I add to the server side 3 TXT files that inculde text in html format?

I am new to this whole Cyber world and trying to learn and understand. I'll be very happy and thankful if someone would even comment a code for example because I have NO IDEA how to even start coding that.
0
votes
1 answer

Getting this error: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists

I'm getting the error after clicking on "MyServlet Page" link , after running the project "FirstServlet". This is my file structure web.xml
0
votes
1 answer

Serialization in same JVM

Is serialization necessary while writing and reading an object in the same JVM? Session objects must implement serializable in order to maintain it after restart of server. As same JVM is used why session objects must implement serializable?
0
votes
1 answer

Adding multiple local storage for same site

Under the 'Application' tab of chrome I've found there are multiple localstorage (please see the yellow box) like - https://stackoverflow.com , https://www.google.com etc. I'm now in stackoverflow (#1) I'm trying to add a new local storage by the…
Razib
  • 10,965
  • 11
  • 53
  • 80
0
votes
0 answers

Best approach for a huge load of async pages refreshing process

I have a big enough project still not programmed in my head, where there'll be a few static pages, a lot of managing pages, but also dynamic ones. By dynamic, I mean async, which they'll be updated on a regular basis (let say every second during a…
Simon Dugré
  • 17,980
  • 11
  • 57
  • 73
0
votes
1 answer

PHP downloading instead of running

I am working on visual studio code making a few web pages and I need to send html form data from one to another. I am using the get method but when I submit the form the PHP file downloads instead of running, is there a way to fix this? …
0
votes
1 answer

My JavaScript pixel-drawing function cannot accept a width value of more than 9

I have had this function for a long time. I made it myself. For like half the time it wouldn't work at all, but then after a while I managed to fix it. However, this is not the reason this is here. /*pixelPrint() is a function that allows you to…
Major_Flux-
  • 140
  • 9
0
votes
1 answer

Fail 1 - com.gargoylesoftware.htmlunit.ScriptException: missing ; before statement (script in file:discountprice.html from (90, 17) to (125, 18)#108)

Question : Discount Price Calculation Create a web page which calculates the discount for the product for the specific season. The seasons with their discount rates are summer (10%), new year (5%), and clearance (15%). The discount is calculated on…
Jazz
  • 13
  • 2
0
votes
3 answers

Fail 1 :- Please check the JavaScript program logic while creating a Javascript Palindrome check

Question :- Write a javascript function to check whether a word or a sentence is palindrome or not irrespective of case and spaces. Name the HTML file as palin.html. Give appropriate alerts on click of a button name is "palinbtn". Also provide a…
Jazz
  • 13
  • 2
0
votes
1 answer

Name of the Facebook Graph API technology

I'm new to web development. Reading the Facebook Graph API documentation, I found it quite interesting to use a unique URL for data query and Json for sending the data. My question is: what's the name of this technology? I have worked with RPC and…
AlexStack
  • 16,766
  • 21
  • 72
  • 104
0
votes
1 answer

make image fit to division in responsive way

I'm trying to fit the whole image into the division and want to make it responsive using media queries. the main aim was to fit the image inside the container without stretching the image and the image should be fit within the div tag. so even if we…
0
votes
1 answer

Adjusting Dynamic Image Height & width for all screens

I'm trying set dynamic height & width for images in all screens. when switching between different screens, it's giving me more space. can we handle those height & width .grid-container{ width: 70%; margin: 90px auto; } .box { height:…
0
votes
1 answer

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received function wrappedCwd

This is my code //Require modules var http = require("http"); var url = require("url"); var path = require("path"); var fs = require("fs"); var mimeTypes = { html: "text/html", jpeg: "image/jpeg", png: "image/png", jpg: "image/jpg", …
0
votes
2 answers

React send multiple requests in a loop and wait

I am sending multiple requests to a API say "myapi/id". My ids could range from [0..10000]. Because sending all ids at once is very expensive, I would like to send in slice wait for it to be fetched and then send the next slice. Here is the code I…
0
votes
1 answer

What are the technologies I need to know to create Gantt chart?

I want to create my own Gantt chart using C# & ASP .net MVC So I need to know what are other technologies required for this task.