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.

22465 questions
143
votes
20 answers

How to differ sessions in browser-tabs?

In a web-application implemented in java using JSP and Servlets; if I store information in the user session, this information is shared from all the tabs from the same browser. How to differ sessions in the browser-tabs? In this example: <%@page…
Oriol Terradas
  • 1,788
  • 2
  • 19
  • 30
140
votes
25 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
  • 10,275
  • 15
  • 70
  • 113
138
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,647
  • 8
  • 35
  • 49
131
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
  • 50,282
  • 110
  • 242
  • 312
129
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
  • 321,842
  • 108
  • 597
  • 820
127
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,293
  • 2
  • 9
  • 5
124
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,864
  • 5
  • 27
  • 39
122
votes
2 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
  • 47,843
  • 23
  • 153
  • 203
115
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,868
  • 11
  • 36
  • 37
115
votes
9 answers

What's dp (density independent pixels) units with CSS?

For Android, people recommend using dp (density independent pixels) measurements for UI elements, and there are conventions that exist such as using 48dp for a button height, etc. I'm working on a web application, and I'm getting a lot of criticism…
Brad
  • 10,015
  • 17
  • 54
  • 77
112
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
  • 7,171
  • 22
  • 81
  • 139
111
votes
6 answers

How do I secure REST API calls?

I'm developing the restful web app that using some popular web framework on the backend, say (rails, sinatra, flask, express.js). Ideally, I want to develop client side with Backbone.js. How do I let only my javascript client side interact with…
knd
  • 1,662
  • 2
  • 15
  • 27
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
  • 33,454
  • 26
  • 120
  • 175
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
  • 14,112
  • 16
  • 49
  • 78
103
votes
7 answers

Wireshark vs Firebug vs Fiddler - pros and cons?

Recently, I came across an issue where a CGI application is not responding. Symptom is Firefox displaying: Transferring data from localhost... But the thing is I cannot see any traffic from Firebug's Net panel, and the browser just stays on the…
Michael Mao
  • 9,878
  • 23
  • 75
  • 91