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
34
votes
10 answers

when to use index.php instead of index.html

I am relatively new to php. There is a very basic thing that has been troubling me. I understand that php is used to make web sites dynamic. I also understand that php is one of the many server side scripting languages that can be used to make…
33
votes
8 answers

How to launch an EXE from Web page (asp.net)

This is an internal web application where we would like the Web pages to contain links to several utilities that are Win32 EXE. The EXEs are trusted and produced by us. (don't care if it asks if its ok to Run or Save). I tried direct link (e.g.…
JoeJoe
  • 705
  • 1
  • 11
  • 16
33
votes
7 answers

Is there a limit of vertices in WebGL?

Three.js says that it can't load more than 65k vertices. In my pure webgl application, it doesn't say anything, but it doesn't show the entire object when I try big objects. I could split my objects into smaller buffers, but it would make me sad. Is…
zVictor
  • 3,610
  • 3
  • 41
  • 56
33
votes
4 answers

Recurring billing with Rails and ActiveMerchant: Best practices, pitfalls, gotchas?

We are prepping for the release of a large web application that has been in development for the past year. We are about to start the process of integrating ActiveMerchant to handle recurring subscription fees for the service. I am looking for any…
Bo Jeanes
  • 6,294
  • 4
  • 42
  • 39
33
votes
2 answers

How does Tomcat find the HOME PAGE of my Web App?

I am just getting started to learn about Web Apps and deploying them to Tomcat. So I started with a sample web app project - made up of struts, hibernate, etc., etc. The ANT build was successful. Also, was able to deploy the web app through an xml…
Van de Graff
  • 5,043
  • 13
  • 39
  • 41
33
votes
7 answers

Redirect HTTP to HTTPS:PORT in Tomcat

I have a running tomcat application that already have the following redirection rule from HTTP to HTTPs:
iddqd
  • 1,225
  • 2
  • 16
  • 34
33
votes
2 answers

Inserting Headers and Footers in Ruby on Rails web application?

I'm coming from PHP development and I'm trying to learn Ruby on Rails. I'd like to know what is the best practice for inserting headers and footers? Typically in PHP i'd just do include('header.php'); and then include('footer.php'); Now I'm trying…
hellomello
  • 8,219
  • 39
  • 151
  • 297
33
votes
1 answer

What's the difference between deferred scripts and scripts placed at the end of the page body?

HTML5 introduced the defer attribute for scripts whose loading can be deferred in a HTML page. defer may be used for any scripts that don't need to be loaded before the DOM (a.k.a don't mess with the DOM before it is ready). For a long time web…
rodrigoalvesvieira
  • 7,895
  • 15
  • 63
  • 84
33
votes
8 answers

What is a reliable method to record votes from anonymous users, without allowing duplicates

First of all, I searched as best I could and read all SO questions that seem relevant, but nothing specifically answered this. This is not a duplicate, afaik. Obviously if anonymous voting on a website is allowed, there is no fool proof way to…
Bo Jeanes
  • 6,294
  • 4
  • 42
  • 39
32
votes
8 answers

Java or Python or Ruby for Web Application?

If I were to implement a web application from scratch today, which app stack should I go for? Three main candidates are java, python and Ruby on Rails (RoR). There is also .NET, but its biased towards M$. Pro-java: 1) Stacks of thick books 2)…
amit kumar
  • 20,438
  • 23
  • 90
  • 126
32
votes
10 answers

hide keyboard in iphone safari webapp

I'm creating a webapp for the iPhone, based in HTML/CSS/JS. I'm using forms to receive input and pass data to the script, but a problem I'm encountering is that the keyboard won't disappear. The user will enter the information, hit submit, and since…
munchybunch
  • 6,033
  • 11
  • 48
  • 62
32
votes
6 answers

Java - Relative path of a file in a java web application

I want to read a file from a java web application. I don't want to give the absolute path of the file. I just want to put the file in some directory of my web application. Or It can be placed along with .war file (packaged web application). What…
Amit
  • 33,847
  • 91
  • 226
  • 299
32
votes
2 answers

How do some web services recognize I'm logging in from a new location?

I've noticed that several web services (namely Steam, Facebook, Google, etc) are able to detect a new browser/new location, and on some cases, require me to validate it with an emailed code. How do they do that? Do they use a cookie? Some other way?…
Madara's Ghost
  • 172,118
  • 50
  • 264
  • 308
31
votes
9 answers

How do you handle multiple web.config files for multiple environments?

The way I currently handle this is by having multiple config files such as: web.config web.Prod.config web.QA.config web.Dev.config When the project gets deployed to the different environments I just rename the corresponding file with the correct…
Nick
  • 5,848
  • 4
  • 28
  • 33