web-applications

Do I have to include libs in every tile within Apache Tiles?

I am using Tiles within my web-application. I have a standard-layout (standard.jsp) within the tiles are used. On top of the standard.jsp are a lot of includes, concerning tag-libraries and such. Let's do a simplified example. standard.jsp: <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ inc...

Check browser's cache for a js file

How can I check for a javascript file in user's cache. If he refreshed the page or visits the site after sometime. I need not download that js file again. Does the js files get cleaned up after a site is closed. ...

Server Moving, WebServices

Hi, I am in a situation in which I have to move web applications/web services from one server to another. The applications/services are published and most server names can be modified in the web.config. However I was wondering what happens to the web services who are pointed to the previous server? Will I have to open the project and ...

what is cool in jboss's jmx-console ?

I like JNDIView that shows me all JNDI's, is there anything usefull beside that in jmx-console? P.S. I know i could make my own MBeans, but i want to know what default cool actions are available. ...

Web site projects vs Web Application - which is better?

I've just started using a cms (N2) which has a template basic implementation using a web site project template in vs2008. I've noticed that when compiling it it takes a lot longer than using a web application project which I am more use to. My questions are: Why does it seem to take a lot longer to compile? Which is better to use? Sho...

application_start firing unexpectedly asp.net

Hi I am looking at an asp.net application that makes calls to a database within the application start inside global.asax. These calls takes around 3 seconds (depends on SQL cache plan) to run. I have noticed that the application runs slowly when I first redeploy. I put this down to the calls to the database whilst the application started...

Need media sharing web-app, control access by group

I am trying to find a good media sharing web app. Something that will let instructors upload audio or video files easily. And I need to let restrict access to the files to only the students in the class. I have tried PHPMotion, and it's great for the uploading and sharing part, but it's a way of sharing files with everyone. I need to...

User interface for reordering a list items

I have a list of items as a part of a web application. The question is how user could manipulate the order of items in the list (not the list sort order). The typical way is to use arrow buttons to move items up or down. The other way is the drag-and-drop. But are there any other ways for a user interface for list reordering? ...

Is it possible to build a Java web application without using a framework?

If not what is a good friendly java framework for newcomers? I want to build something like twitter. ...

Is it bad form to use absolute urls in all platforms?

It seems to me that it is more prevalent in asp.net to be "virtual directory agnostic" by always using virtual directory substitution "~/" form for paths, but this doesn't seem to be a big deal for other platforms where absolute paths are more common. I might name django as one. Is it bad form to use absolute urls in asp.net? In other p...

What technology are they using?

We just purchased a webcam to visually monitor some equipment remotely. Currently we are monitoring thorough the intranet only. The software that came with the webcam is installed on the computer that is physically connected to the webcam. From anywhere on the intranet, I can type that computer's address in the browser, for ex., http://1...

Scaling Web Applications and Tagging - Digg, Del.icio.us, StackOverflow

How do websites like Digg, Del.icio.us, and StackOverflow implement tagging? I know this other question has an accepted answer of a many-to-many relation with a cross ref table. But how do the "big boys" do it? The same way? How is it scaling? ...

Do you know any Chart Management Example?

I'm stuck at designing an user interface for defining dynamic charts which are using recordset for databinding. i dont need charting application or api, i need admin UI to control them Do you know any good example of chart management application? or any suggestion for developing one? ...

Browser language: autodetect vs user select?

Hi, I am designing a localized web app. I am leaning on auto-detect browser language setting. But I notice a number of respectable sites asking the user to select a language. Is there any usability issue you know of (from actual experiences out there) with just auto-detecting user language? Thanks. ...

How to use condition in a TestGen4Web script for a child popup window?

I have TestGen4Web script for automating testing on a web-based user interface that has a popup window (hey i didn't write that ui..). In order to write a complete test script that branches the flow based on the some presence of some content in the popup window, I need to write a simple if condition that does something like if document.g...

secure file exchange

I would like to set up a web application on my company's Linux box for enabling secure file exchange with our customers. I'm looking for an open source application, preferably with a large user base, that supports these features: works over HTTPS (so SFTP or other similar solutions are out of the question) allows users to upload files ...

Where to store database credentials in a web app?

I'm wondering what techniques you use to store the database credentials for your application. I'm specifically concerned with java webapps, but I don't think there's any need to limit the questions to that. things to consider: Do you use property files,xml configs, other? Is it bundled into your application(ie in a jar file) or store...

Should a web app have automatic updates?

After seeing some of the problems that Microsoft has had upgrading people from Internet Explorer 6 and also seeing how Firefox has automatic updates, it's made me consider the benefits and drawbacks of a push-style upgrade system for our web app. In your opinion, should a web app have automatic updates? Why or why not? If yes, what are s...

Is this a reasonable user registration process?

I'm working on a registration process for an internal application. My initial design is below. My main question is whether it's really necessary to include a registration_confirmation_code. Does it protect the app from a realistic threat or just add unnecessary complexity? I'm not sure about that. User enters email address. Since th...

Is it possible / recommendable sending HTML emails containing Javascript?

This is mostly a rhetorical question, as far as I've checked the answer is 'don't even bother', but I wanted to be really sure. We have an email app, where you can send email to lists of subscribers. This is not spam: it's used, for example, by an university to send communications to its students, by a museum to send emails to subscribe...