Questions tagged [web]

Do not use this tag. For questions related to an aspect of the world wide web, use a more specific tag for it, such as [uri], [html], [http] or [w3c].

The World Wide Web (abbreviated as WWW or W3, and commonly known as "the Web") is a technology that connects various kinds of systems with interlinked hypertext documents accessed using networking protocols.

The credit of inventing the World Wide Web goes to many researchers, but it was Tim Berners-Lee also known as TimBL who not only proposed the idea of WWW (at CERN in 1989) but also gave his full contribution in development of 3 very significant technologies:

  1. Invention of URL (Universal Resource Locator) and URI (Universal Resource Identifier).
  2. HyperText Markup Language (HTML)
  3. HTTP (HyperText Transfer Protocol), a protocol for transferring HTML

The World Wide Web is an interconnected network which works as a bridge not only between two terminal ends (Web browser & Web server) but also to connect client machines to database servers with controlled access.

With a Web browser (client), one can view web pages that may contain text, images, videos, and other multimedia, and navigate between them via hyperlinks. The default port for requests and responses via HTTP protocol is port 80.

A web server, on other hand, receives the client's requests and generates the proper response for it. This includes an HTTP status code (like 200 Ok or 404 Not Found), a list of HTTP headers (which control things like response format and cookies), and the response body (like HTML content).

47790 questions
6
votes
1 answer

Python Flask + nginx fcgi - output large response?

I'm using Python Flask + nginx with FCGI. On some requests, I have to output large responses. Usually those responses are fetched from a socket. Currently I'm doing the response like this: response = [] while True: recv = s.recv(1024) if not…
ddinchev
  • 33,683
  • 28
  • 88
  • 133
6
votes
1 answer

How to let jetty block the request when reloading modified classes?

I'm using dcevm + run-jetty-run + livereload , try to develop a web app without restarting jetty when modifing java sources. Everything works fine. When I modified a java class, livereload monitored the change, and triggered the browser refreshing…
Freewind
  • 193,756
  • 157
  • 432
  • 708
6
votes
2 answers

Can I read the 'real' mobile GPS coordinates from a website?

I did a website and I want to read the 'real' position GPS on mobile (Android & iPhone). When I try set the location on my website from my Android with W3C javascript method the GPS is not enabled and the position is set by IP (When I try with…
user512663
  • 173
  • 1
  • 10
6
votes
1 answer

What is the best web browser control to use on Windows Form Application?

I am looking for a web browser control or any technology that can render web pages on a Windows Form Application Faster. Any suggestions? I am using .Net and the built-in web browser control is not an option to me because it has a lot of issues and…
mr.b
  • 2,708
  • 8
  • 39
  • 64
6
votes
1 answer

How do I bind new elements using knockout?

How can I bind a new element create after the page has loaded? I have something like this system = function() { this.hello = function() { alert("hello"); } this.makeUI = function(container) { div =…
BlaShadow
  • 11,075
  • 7
  • 39
  • 60
5
votes
1 answer

Does order of javascript import matter?

I have an aspx page and imports jQuery, jTemplate and Flexigrid
dance2die
  • 35,807
  • 39
  • 131
  • 194
5
votes
5 answers

How to Read a TXT file in Java Server Page Directory

I'd like to create an app that requires to read a .txt file on my project directory. This is my code of my index.jsp: <%@page import="java.io.FileReader"%> <%@page import="java.io.BufferedReader"%> <%@page contentType="text/html"…
farissyariati
  • 365
  • 4
  • 9
  • 21
5
votes
2 answers

How to remove multiple virtual directories?

I need to remove a big amount of virtual directories, some of them don't have associated physical directories. Ideas?
user626528
  • 13,999
  • 30
  • 78
  • 146
5
votes
2 answers

Run script if on certain webpage

I have a script that loads a music player but I only want to run it on my podcasts page. It should go something like if window.location is example.com/podcasts then How can I do this? Thanks!
zmanw
  • 169
  • 1
  • 1
  • 12
5
votes
3 answers

Determine unique visitors to site

I'm creating a django website with Apache2 as the server. I need a way to determine the number of unique visitors to my website (specifically to every page in particular) in a full proof way. Unfortunately users will have high incentives to try to…
user502248
  • 305
  • 2
  • 9
5
votes
4 answers

Client side languages

I am not a web programmer, so please excuse my ignorance. When it comes to server side programming, we have plethora of technologies available, such as PHP, ASP.net, JSP and so on. However, when it comes to client side scripting, I have only heard…
MetallicPriest
  • 29,191
  • 52
  • 200
  • 356
5
votes
4 answers

Spring Security 3.1 - how to identify user is already logged in or not?

I am using spring security 3.1 for my web application. I have implemented my custom filter for providing filtering of requested URL. Once user is logged in and then user hits log in URL, at that time log in URL should not be opened. I mean to say…
Harshal Patel
  • 51
  • 1
  • 3
5
votes
2 answers

Tuckey urlRewriteFilter use-query-string="true" not working?

I'm trying to use Tuckey urlRewriteFilter to rewrite any URLs to https://, while preserving any query string parameters that were appended to the URL. My urlrewrite.xml file currently looks like
user619804
  • 2,286
  • 12
  • 46
  • 71
5
votes
1 answer

Determining the location of mobile web site user

Is there anyway to track the location (as precise as possible) of a user of a mobile web site? I am aware that the best way to locate someone is via GPS, but I'm not sure if that is possible through a mobile web site? I also know that you can…
jkulisic
  • 309
  • 2
  • 4
  • 13
5
votes
1 answer

why do I keep seeing "//" instead of "http://" for resources lately?

I saw more an more Javascript files and pictures and CSS loaded like this: src="//somepath" instead of src="http://somepath" What is this and what does it mean? Is there any documentation to it? Thanks!
Sorin Buturugeanu
  • 1,782
  • 4
  • 19
  • 32