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
102
votes
7 answers

What to learn for making Java web applications in Java EE 6?

My goal is to make web applications! I finished reading the Books "Headfirst - Java" and "Headfirst - Servlets and JSP". Because this topic (web applications) is so big and complicated, I would like to ask what I should learn next. I feel…
creativz
  • 10,369
  • 13
  • 38
  • 35
102
votes
1 answer

Using form input to access camera and immediately upload photos using web app

I came across this answer which is brilliant: In iPhone iOS6 and from Android ICS onwards, HTML5 has the following tag which allows you to take pictures from your device: Capture can take…
micah
  • 1,937
  • 6
  • 27
  • 40
101
votes
25 answers

Why do you not use C for your web apps?

I was having a look at a few different web servers this morning when I came across G-WAN. As I understand, its a web server written in C and you have to make use of it by writing your websites/webapps in C. One clear benefit is speed as the G-WAN…
Abs
  • 56,052
  • 101
  • 275
  • 409
100
votes
3 answers

File path to resource in our war/WEB-INF folder?

I've got a file in my war/WEB-INF folder of my app engine project. I read in the FAQs that you can read a file from there in a servlet context. I don't know how to form the path to the resource though: /war/WEB-INF/test/foo.txt How would I…
user291701
  • 38,411
  • 72
  • 187
  • 285
100
votes
14 answers

Architecture of a single-page JavaScript web application?

How should a complex single-page JS web application be structured on the client-side? Specifically I'm curious about how to cleanly structure the application in terms of its model objects, UI components, any controllers, and objects handling server…
user65663
100
votes
14 answers

java.lang.UnsatisfiedLinkError no *****.dll in java.library.path

How can I load a custom dll file in my web application? I've tried the following: Copied all required dlls in system32 folder and tried to load one of them in Servlet constructor System.loadLibrary Copied required dlls into tomcat_home/shared/lib…
Ketan Khairnar
  • 1,620
  • 3
  • 12
  • 21
96
votes
7 answers

How to convert ASP.NET website to ASP.NET web application

I have an ASP.NET 3.5 Website (visual studio lingo), but the site continues to grow and is looking rather cowboyish among other things. I'd like to see this get converted into a Web Application (namespaces and all). Is this something that can be…
RSolberg
  • 26,821
  • 23
  • 116
  • 160
96
votes
8 answers

How to design a multi-user ajax web application to be concurrently safe

I have a web page that shows a large amount of data from the server. The communication is done via ajax. Every time the user interacts and changes this data (Say user A renames something) it tells the server to do the action and the server returns…
Raynos
  • 166,823
  • 56
  • 351
  • 396
94
votes
8 answers

How to go from one page to another page using javascript?

From an admin page if the user is valid then the browser should go to another page. When a user enters his user name and password, then clicks the OK button then another page is displayed and the login page is automatically closed. How can I do this…
SIVAKUMAR.J
  • 4,258
  • 9
  • 45
  • 80
93
votes
4 answers

Exception NoClassDefFoundError for CacheProvider

I'm kind of new in Spring and hibernate so I'm trying to implement some simple web application based on Spring 3 + hibernate 4 while I start tomcat I have this exception: java.lang.NoClassDefFoundError: org/hibernate/cache/CacheProvider at…
Fedor Skrynnikov
  • 5,521
  • 4
  • 28
  • 32
90
votes
3 answers

Absolute URLs omitting the protocol (scheme) in order to preserve the one of the current page

I saw the //somepage.com/resource url format. For example: The point of this is that if the current page (the page defining the img tag) is using http, then the request to the remote site is made via http.…
Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140
90
votes
13 answers

keyCode values for numeric keypad?

Do the numbers on a numeric keypad have a different keycode than the numbers at the top of a keyboard? Here is some JavaScript that is supposed to run on the keyup event, but only if the keycode is between 48 and 57. Here is the…
DanielAttard
  • 3,467
  • 9
  • 55
  • 104
89
votes
11 answers

htaccess redirect for Angular routes

I have an angular application with several routes, such as: site.com/ site.com/page site.com/page/4 Using angular's html5 routing mode, these resolve correctly when you click links to them from within the application, but of course are 404 errors…
Lucas Penney
  • 2,624
  • 4
  • 27
  • 36
88
votes
11 answers

Using CRON jobs to visit url?

I have a web application that has to perform a repeated tasks, Sending messages and alerts, I, already, use a script page do those tasks when it loaded in the browser i.e http://example.com/tasks.php and I included it by the mean of iframe in every…
SaidbakR
  • 13,303
  • 20
  • 101
  • 195
83
votes
3 answers

pushState and SEO

Many people have been saying, use pushState rather than hashbang. What I don't understand is, how would you be search-engine friendly without using hashbang? Presumably your pushState content is generated by client-side JavaScript code. The scenario…
Harry
  • 52,711
  • 71
  • 177
  • 261