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
57
votes
6 answers

What is the best place to store a configuration file in a Java web application (WAR)?

I create a web application (WAR) and deploy it on Tomcat. In the webapp there is a page with a form where an administrator can enter some configuration data. I don't want to store this data in an DBMS, but just in an XML file on the file system.…
boes
  • 2,835
  • 2
  • 23
  • 28
57
votes
6 answers

Can I use Socket.IO with Django?

Is there any way to use Socket.IO http://socket.io/ with Django?
User
  • 1,363
  • 2
  • 13
  • 23
57
votes
17 answers

What reasons are there NOT to use OpenID?

You see a fair bit (in the Geek community anyway) about OpenID. It seems like a good idea. I'm developing a website that will be targeted at a somewhat less geeky audience (but not quite Mom and Pops either) so I have to wonder if OpenID is going…
cletus
  • 616,129
  • 168
  • 910
  • 942
57
votes
5 answers

What are cross-browser and cross-OS safe keyboard shortcuts usable for web application?

I am developing a quite large web application, and it is probably a good idea to use hotkeys for some common tasks. However, I discovered that finding safe key combinations is a problem, regarding all different browsers and OSes. For example, Chrome…
Frodik
  • 14,986
  • 23
  • 90
  • 141
56
votes
4 answers

role of multithreading in web application

I am using java(Servlets, JSPs) since 2 years for web application development. In those 2 years I never required to use multithreading(explicitly - as I know that servlet containers uses threading to serve same servlet to different requests) in any…
Bhushan
  • 6,151
  • 13
  • 58
  • 91
56
votes
8 answers

How to unpackage and repackage a WAR file

I have a WAR file. I would like to open it, edit an XML file, remove some jars and then re-package it. I used WINRAR to open the WAR file and I removed some Jars and did an 'Add to Archive' in WinRar and created a WAR. When I deployed the WAR in…
Vinoth Kumar C M
  • 10,378
  • 28
  • 89
  • 130
55
votes
3 answers

manifest.json vs manifest.webmanifest

I'm developing an application using mongodb, Node.JS and PWA. In the first step of developing I don't know what is the difference between manifest.json and manifest.webmanifest.
Mostafa Ghadimi
  • 5,883
  • 8
  • 64
  • 102
55
votes
5 answers

Getting IP address of client

I am developing a web application using JSP, Servlets (Container: Glassfish) in which I need to get clients IP Address. I am getting the clients IP address, because I want to give access to some pages (like Customer maintenance forms) only on…
Bhushan
  • 6,151
  • 13
  • 58
  • 91
54
votes
8 answers

Why restrict the length of a password?

I've just signed up to a site to purchase some goods, and when I tried to enter my (reasonably secure) password I was informed it was too long, and that I should enter a password between 5 & 10 characters! What is the point in that? Who makes…
Mark Ingram
  • 71,849
  • 51
  • 176
  • 230
54
votes
3 answers

Is there a way to run a method/class only on Tomcat/Wildfly/Glassfish startup?

I need to remove temp files on Tomcat startup, the pass to a folder which contains temp files is in applicationContext.xml. Is there a way to run a method/class only on Tomcat startup?
dcave555
  • 904
  • 1
  • 9
  • 8
54
votes
2 answers

HTML5 UI Frameworks

I found lots of HTML5 UI frameworks over there, such as: Kendo Wijmo jqWidgets Zebra Sencha SproutCore YUI XUI Shield UI I'm kinda overwhelmed with again so much resources out there. Looked some of them, but almost all seemed like too slow and…
jviotti
  • 17,881
  • 26
  • 89
  • 148
53
votes
7 answers

Java Memcached Client

Which is the best Java memcached client, and why?
Java Guy
  • 3,391
  • 14
  • 49
  • 55
53
votes
4 answers

Which HTTP status code should I use for a health-check failure?

I'm implementing a /_status/ endpoint which does some sanity checks on data in our database. For example, we are collecting measurements and the status should go "bad" if the latest measurement is over an hour old. I would like to point Pingdom at…
Paul M Furley
  • 1,005
  • 1
  • 8
  • 12
53
votes
6 answers

How do I choose the URL for my Spring Boot webapp?

I am using Spring Boot to create a web app, and I am not sure how to change the URL from localhost:8080 to something like localhost:8080/myWebApp. I have a seen a lot of resources online referencing an application.properties file and adding that to…
Theo
  • 883
  • 2
  • 10
  • 19
53
votes
6 answers

ASP.NET MVC - Slow initial load

I've recently created an asp.net mvc web application and published it online. When first loading the website you should find that it takes around 10-15 seconds for it to actually show, however after it's clicked once, it loads as quickly as I expect…
Jamie Mclaughlan
  • 845
  • 2
  • 10
  • 29