Questions tagged [web-applications]

Do NOT use alone. Do NOT use with web-frameworks or libraries like [reactjs], [django] or [flask]. Use for questions about web applications, where a more specific tag isn't applicable. Use with a appropriate language tag([java]) and the specific aspect of web-application, the question is about: http method([post],[get]), errors([http-status-code-404]), client-server communication ([client-server]) or server errors.

A web application is a client-server application that bases the communication on the HTTP () protocol. Often a third layer implements data persistence through a database.

The client side runs in a web browser that sends the http requests, receives the responses, renders the response's content (usually a html page, but also video streams, or applets). The heavy-lifting is done by scripts or compiled code on the server side. Some examples of web applications include Google Calendar (), Zimbra (), and Office Outlook Web Access.

21301 questions
133
votes
4 answers

My Understanding of HTTP Polling, Long Polling, HTTP Streaming and WebSockets

I have read many posts on SO and the web regarding the keywords in my question title and learned a lot from them. Some of the questions I read are related to specific implementation challenges while others focus on general concepts. I just want to…
Software Guy
  • 2,900
  • 4
  • 19
  • 20
132
votes
16 answers

Who sets response content-type in Spring MVC (@ResponseBody)

I'm having in my Annotation driven Spring MVC Java web application runned on jetty web server (currently in maven jetty plugin). I'm trying to do some AJAX support with one controller method returning just String help text. Resources are in UTF-8…
Hurda
  • 4,468
  • 8
  • 30
  • 49
131
votes
23 answers

Login failed for user 'DOMAIN\MACHINENAME$'

I know this is almost a duplicate of : The error "Login failed for user 'NT AUTHORITY\IUSR'" in ASP.NET and SQL Server 2008 and Login failed for user 'username' - System.Data.SqlClient.SqlException with LINQ in external project / class library but…
SventoryMang
  • 9,656
  • 12
  • 66
  • 103
124
votes
11 answers

How can a web application send push notifications to iOS devices?

I'm working on a web app. How can I send push notifications to iOS users when there is new content?
Frankie
  • 1,249
  • 2
  • 9
  • 5
118
votes
3 answers

Can I incorporate both SignalR and a RESTful API?

I have a single page web app developed using ASP.NET. I recently converted many of the web methods to be push based, using the SignalR library. This really sped up the page considerably and reduced a lot of the server calls from the page. At the…
mbeasley
  • 4,584
  • 4
  • 24
  • 38
117
votes
7 answers

How can I handle time zones in my webapp?

I'm looking for better understanding of the following user story: John works in Sidney. At 9:00 in the morning, he logs an event in a web app that runs on a server in Zurich. The next day, he travels to New York for an emergency meeting in which the…
Aaron Digulla
  • 297,790
  • 101
  • 558
  • 777
115
votes
3 answers

Why do Java webapps use .do extension? Where did it come from?

I have always wondered why so many Java developers use ".do" as the extension for their web controller (MVC) resources. Example: http://example.com/register.do It doesn't even seem to be framework specific as I have seen it in Spring MVC and Struts…
Adam Gent
  • 44,449
  • 20
  • 142
  • 191
115
votes
19 answers

Download multiple files with a single action

I am not sure if this is possible using standard web technologies. I want the user to be able to download multiple files in a single action. That is click check boxes next to the files, and then get all the files that were checked. Is it possible -…
Ankur
  • 47,089
  • 107
  • 237
  • 309
113
votes
10 answers

ASP.NET custom error page - Server.GetLastError() is null

I have a custom error page set up for my application: In Global.asax, Application_Error(), the following code works to get the exception details: Exception ex =…
nailitdown
  • 7,625
  • 10
  • 34
  • 37
111
votes
4 answers

Storing Image Data for offline web application (client-side storage database)

I have an offline web application using appcaching. I need to provide it about 10MB - 20MB of data that it will save (client-side) consisting mainly of PNG image files. The operation is as follows: Web application downloads and installs in appcache…
Dr.YSG
  • 6,072
  • 13
  • 61
  • 121
110
votes
5 answers

Node.js Web Application examples/tutorials

So I finished watching Douglas Crockford's excellent series on Javascript, and in the final episode (so far), loopage he lays out why Node.js is a near perfect solution for server side code. He talks about keeping state, not in the database, but…
Kris Erickson
  • 32,405
  • 26
  • 113
  • 170
108
votes
3 answers

How does the Meteor JavaScript framework work?

I came across Meteor and while it seems exciting, I want to know how it works. I mean conventional web applications work like this: You have scripts on server which take data from database and add that dynamically to web-pages and the user-submitted…
Jatin
  • 13,582
  • 14
  • 46
  • 73
102
votes
7 answers

What to learn for making Java web applications in Java EE 6?

My goal is to make web applications! I finished reading the Books "Headfirst - Java" and "Headfirst - Servlets and JSP". Because this topic (web applications) is so big and complicated, I would like to ask what I should learn next. I feel…
creativz
  • 9,039
  • 12
  • 34
  • 35
101
votes
25 answers

Why do you not use C for your web apps?

I was having a look at a few different web servers this morning when I came across G-WAN. As I understand, its a web server written in C and you have to make use of it by writing your websites/webapps in C. One clear benefit is speed as the G-WAN…
Abs
  • 51,038
  • 92
  • 260
  • 394
100
votes
14 answers

Architecture of a single-page JavaScript web application?

How should a complex single-page JS web application be structured on the client-side? Specifically I'm curious about how to cleanly structure the application in terms of its model objects, UI components, any controllers, and objects handling server…
user65663