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
35
votes
2 answers

How to replace the myApp-123.firebaseapp.com with my custom domain myApp.com

I am using Firebase Auth signInWithPopup() which is absolutely great. But when initially configured, the popup reads: Choose an account to continue to myApp-123.firebaseapp.com I would really like it to read: Choose an account to continue to…
user2673194
35
votes
4 answers

How to synchronize HTML5 local/webStorage and server-side storage?

Possible Duplicate: Best way to synchronize local HTML5 DB (WebSQL Storage, SQLite) with a server (2 way sync) I'm currently seeking solutions for transparently and automatically synchronizing and replicating across the client-side HTML5…
thSoft
  • 21,755
  • 5
  • 88
  • 103
35
votes
5 answers

Tomcat CORS filter

I want to enable tomcat CORS filter, i added this to web.xml: CorsFilter org.apache.catalina.filters.CorsFilter
Tobia
  • 9,165
  • 28
  • 114
  • 219
35
votes
7 answers

When should a web service not be used?

Using a web service is often an excellent architectural approach. And, with the advent of WCF in .Net, it's getting even better. But, in my experience, some people seem to think that web services should always be used in the data access layer for…
DOK
  • 32,337
  • 7
  • 60
  • 92
35
votes
5 answers

Considering an Erlang web framework to learn and use in production

I’ve started learning Erlang a few days ago and it’s definitely a very interesting language and very suitable for web development (back end at least). I am going to experiment and eventually settle with one Erlang web framework to use for my next…
Jeff
  • 13,079
  • 23
  • 71
  • 102
35
votes
5 answers

My Application Could not open ServletContext resource

i have Eclipse Maven web project where i use Spring mvc and Spring security. When i truy to launch it, it doesn't suceed to intialize the context: Could not open ServletContext resource [/WEB-INF/spring-dispatcher-servlet.xml] More details…
35
votes
1 answer

Binding ng-show to a select option in AngularJS

It's fairly straightforward. You can easily give show/hide functionality to pretty much any element using ng-show="myModelName". In the official documentation they achieve this using a checkbox. Question: Can you use ng-show on a select option? I…
Scott Sword
  • 4,648
  • 6
  • 32
  • 37
35
votes
5 answers

Java Servlets - Storing a list of values in web.xml (multiple param-value's for single param-name)

I'm creating a servlet that needs to load configuration information. Part of the configuration information I need is a list of Strings (specifically, a list of hostnames and/or URLs). I was hoping to store this information in my servlet's web.xml…
greenlaw
  • 867
  • 2
  • 9
  • 17
34
votes
8 answers

Google Analytics: How to track pages in a single page application?

Currently in my website, I used HTML5's pushState() and popState in links to increase the speed. However, this doesn't really change the real URL and it looks like it will affect and mess up the Google Analytics's code. (doesn't show a url change)…
34
votes
2 answers

Google Chrome "Application Shortcut": How to auto-load JavaScript?

Introduction Google chrome has a feature that allows you to create shortcuts to web pages and make them appear like traditional desktop applications. For example, a shortcut to twitter mobile might…
GateKiller
  • 74,180
  • 73
  • 171
  • 204
34
votes
4 answers

File Storage for Web Applications: Filesystem vs DB vs NoSQL engines

I have a web application that stores a lot of user generated files. Currently these are all stored on the server filesystem, which has several downsides for me. When we move "folders" (as defined by our application) we also have to move the files…
El Yobo
  • 14,823
  • 5
  • 60
  • 78
34
votes
2 answers

How to handle JavaScript being disabled in AngularJS

AngularJS is dependent upon JavaScript being enabled. This means that if someone visits an application or website built in AngularJS it will not render properly. What are common conventions used to handle visitors with JavaScript disabled when using…
34
votes
5 answers

How to automatically reload Django when files change?

How to automatically monitor .py, .js and other source code files to restart a Django (or any other for that matter) application and refresh the browser when the source changes? This is possible in Rails using guard, in JS apps using…
metakermit
  • 21,267
  • 15
  • 86
  • 95
34
votes
17 answers

Unity, Torque3D, Google O3D, WebGl....which to choose?

for development of interactive 3d web applications, which engine is recommended? I am aware that WebGL has been anounced to become standarized for all browsers in the near future (1~2 years). I am afraid that by investing time into a proprietary…
gpwjg
  • 365
  • 1
  • 3
  • 3
34
votes
9 answers

Pass user defined environment variable to tomcat

I am using the eclipse for web application coding. Within this I passed environment variable like : Project--> Run as --> Run Configuration. And selected Environment tab. Add new environment variable with name APP_MASTER_PASSWORD and its value. I…
Naresh J
  • 2,087
  • 5
  • 26
  • 39