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

Is converting a web font format a "lossy" procedure?

Web fonts are delivered in various formats to take care of different browser requirements, the main formats that I am aware of are: ttf otf eot woff svg I also know that not all of these formats are supported by all major browser vendors. However,…
Andrew Theken
  • 3,392
  • 1
  • 31
  • 54
6
votes
5 answers

Explanation of "in" in JavaScript

Please, consider the code sample below, and focus on variable assignments. Since I have never seen such form in C++, what does the following mean: "upload" in new XMLHttpRequest`. I would need a good explanation of what does the following statement…
Bunkai.Satori
  • 4,698
  • 13
  • 49
  • 77
6
votes
3 answers

How to use both http server and application server in a java web application

I have some deployment model question for a Java EE web application. Currently we are deploying our web application as a WAR file in Tomcat 6. All the content is packaged with the WAR file including the static content like images, static html pages…
6
votes
1 answer

Haskell: Testing web APIs

I've been wondering what methods (if any) are used for testing Haskell applications that do requests over the network? Coming from Ruby land, I've been searching for anything that can either stub or "simulate" network calls for the purpose of…
Slava Kravchenko
  • 377
  • 1
  • 10
6
votes
1 answer

Deploy simple Java Web Application on Appfog

I started using appfog ( http://www.appfog.com/ ) and I haven't found any resources explaining how to deploy a simple Java Web application. I tried extracting a .war file I have and then updating the app but I got no luck. Cheers
Yiannis Gkoufas
  • 660
  • 6
  • 16
6
votes
1 answer

Does nginx buffer its error logs?

We're looking to watch nginx error logs for modifications but having some difficultly accounting for edge cases such as file truncations, etc. It would be helpful to know if nginx writes its error log files on the fly or if it buffers writes to…
Paul Carey
  • 516
  • 1
  • 4
  • 15
6
votes
5 answers

copy css from one class to another?

This may seem like a very basic question but I did not seem to find an answer to it. I know it is possible to define a css rule for more than one element at once as such: .element1, .element2{ font-size:14px; } Is it possible, though, to do that…
Yuval Karmi
  • 26,277
  • 39
  • 124
  • 175
6
votes
1 answer

Play! framework: using session for authentication

so I'm using Play! framework for a website project. I'm using session to determine if the user has logged in: session("connected", user.getId().toString()); then, I can identify who's the user when I want to easily. I got two questions: is…
socksocket
  • 4,271
  • 11
  • 45
  • 70
6
votes
4 answers

is .net caching sensitive data will be dangerous in manner of security or have any security issues?

I am using asp.net 4. i wonder if it will be secure to caching sensitive data? is it dangerous in manner of security or any other security issues?
the_farmer
  • 649
  • 1
  • 8
  • 23
6
votes
4 answers

Play! framework. create a new view

I created a new project using the play console now, by default I got in my views directory two files: main.scala.html index.scala.html I want to add a new view file. I call it "forums.scala.html" now, I know that in order to render a view you…
socksocket
  • 4,271
  • 11
  • 45
  • 70
6
votes
3 answers

HttpURLConnection conn.getRequestProperty return null

I'm trying to push some data to an URL (MDS_CS) for a BES when i set some Request Headers in my code, and submit the request, the submited request's header is set to null. here is my code : HttpURLConnection conn…
dzgeek
  • 297
  • 1
  • 5
  • 16
6
votes
2 answers

How do I validate (or escape) the name field of a user so it won't break my email sending software?

When sending a message I can have something like this to set the To field: (in Perl) To: "$name" <$email> In Perl I can validate the $email part with Email::Valid but how do I make sure the $name part accepts Unicode characters but cannot be…
szabgab
  • 6,202
  • 11
  • 50
  • 64
6
votes
4 answers

Proxy authentication required error when using a webservice

I've a .Net 4.0 windows application running on Windows 7 and Windows XP. One of the modules in the app connects to a url on the internet[say http://abc.com/xyz/MyWebService] using their web service.This functionality has been working until last week…
Jimmy
  • 2,106
  • 12
  • 39
  • 53
6
votes
2 answers

Is it ok to use the (cryptographically strong) session cookie as CSRF token?

Reading OWASP CSRF prevention cheat sheet, one of the methods proposed to prevent these kind of attacks is the synchronizer token pattern. If the session token is cryptographically strong, can it double as the csrf token as described in the…
Erik
  • 274
  • 4
  • 13
6
votes
2 answers

allow access to certain folder/files only for some users

I have a Weblication which provides access to certain pages only to some users. Now there are some files linked on these pages. If someone has the URL everyone can access these files (in this case the search engines). This should be changed! How can…
testing
  • 19,681
  • 50
  • 236
  • 417