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
83
votes
16 answers

What's your opinion on using UUIDs as database row identifiers, particularly in web apps?

I've always preferred to use long integers as primary keys in databases, for simplicity and (assumed) speed. But when using a REST or Rails-like URL scheme for object instances, I'd then end up with URLs like this: http://example.com/user/783 And…
yukondude
  • 24,013
  • 13
  • 49
  • 58
83
votes
6 answers

iPad WebApp Full Screen in Safari

Apple says in the Safari HTML reference that the below code is supposed to make the the web-app full screen on iPhone OS 2.1 and later. But it doesn't seem to work. Is there a way of hiding…
ChrisB
  • 2,018
  • 2
  • 19
  • 24
82
votes
6 answers

Sending Push Notifications to iOS from PWA

I've got a Progressive Web App which made with Blazor WebAssembly and I was wondering if I can send push notifications to iOS devices? Although people said if works now on Safari on MacOS, Push API's website says that it does not support Safari on…
82
votes
11 answers

Is there a standard domain for testing "throwaway" email?

I've noticed that the domain contoso.com is often used in documentation when a sample is needed. I always figured this was a dummy domain, used like the telephone prefix "555" to route spam into some kind of telecommunicative void (although…
harpo
  • 41,820
  • 13
  • 96
  • 131
80
votes
6 answers

How do I implement login in a RESTful web service?

I am building a web application with a services layer. The services layer is going to be built using a RESTful design. The thinking is that some time in the future we may build other applications (iPhone, Android, etc.) that use the same services…
80
votes
10 answers

Log4j, configuring a Web App to use a relative path

I have a java webapp that has to be deployed on either Win or Linux machines. I now want to add log4j for logging and I'd like to use a relative path for the log file as I don't want to change the file path on every deployment. The container will…
Iker Jimenez
  • 7,105
  • 9
  • 49
  • 46
78
votes
8 answers

What is web.xml file and what are all things can I do with it?

The web.xml Deployment Descriptor Elements in Oracle's BEA WebLogic Server 8.1 Documentation pretty much sums up each element in a web.xml file. But I am also curious about points below: Is there any configuration parameter which should be avoided…
Ravi Gupta
  • 4,468
  • 12
  • 54
  • 85
77
votes
17 answers

Web application monitoring best practices

We are finishing up our web application and planning for deployment. Very important aspect of deployment to production is monitoring the health of the system. Having a small team of developers/support makes it very critical for us to get the early…
Sergey Golovchenko
  • 18,203
  • 15
  • 55
  • 72
77
votes
29 answers

IntelliJ, can't start simple web application: Unable to ping server at localhost:1099

I'm trying to make a simple web app in IntelliJ by following this tutorial: http://wiki.jetbrains.net/intellij/Creating_a_simple_Web_application_for_Tomcat_in_IntelliJ_IDEA_12 I believe my Tomcat is installed correctly since I see the tomcat…
Popcorn
  • 5,188
  • 12
  • 54
  • 87
77
votes
7 answers

How can I have list of all users logged in (via spring security) my web application

I'm using spring security in my web application, and now I want to have a list of all users who are logged in my program. How can I have access to that list? Aren't they already kept somewhere within spring framework? Like SecurityContextHolder or…
Matin Kh
  • 5,192
  • 6
  • 53
  • 77
76
votes
6 answers

How can I improve this PHP/MySQL news feed?

Let me start right off the bat by saying that I know this is not the best solution. I know it's kludgy and a hack of a feature. But that's why I'm here! This question/work builds off some discussion on Quora with Andrew Bosworth, creator of…
Josh Smith
  • 14,674
  • 18
  • 72
  • 118
76
votes
3 answers

When to use "client-side routing" or "server-side routing"?

I'm a little bit confused about this, and I feel slightly stupid asking this question, but I want to understand it. So, say I'm working with a client side web framework, like Backbone, Angular or Durandal. This framework includes routing. But I of…
tomet
  • 2,416
  • 6
  • 30
  • 45
76
votes
6 answers

How to use Ionic Framework for Web App Development?

Is it possible to use ionic frameowork for regular Web Applications rather than wrapping it in Cordova?
xivo
  • 2,054
  • 3
  • 22
  • 37
76
votes
2 answers

Why do we need ng-click?

Angular apps use the ng-click() attribute rather than the the onclick event. Why is this?
BanksySan
  • 27,362
  • 33
  • 117
  • 216
74
votes
9 answers

Creating a src/main/java folder structure in Eclipse without Maven

How do I create the src/main/java and src/test/java in my default web application project in Eclipse without Maven? My current folder structure is TestApp ├── JavaResources │ └── src │ └── com.mypackage └── WebContent
Sandeep Rao
  • 1,749
  • 6
  • 23
  • 41