web-applications

What is the preferred way of loading browser-specific CSS files?

What is the best way to handle browser-specific CSS file loading? Assume you are running in the context of a proper MVC framework. Here are some options, you are free to discuss the pros and cons of these options as well as any other methods you know of, and prefer: Server-side solution: use the controller (e.g. servlet) to analyze th...

'e-Commerce' scalable database model

I would like to understand database scalability so I've just heard a talk about Habits of Highly Scalable Web Applications http://techportal.ibuildings.com/2010/03/02/habits-of-highly-scalable-web-applications/ On it, the presenter mainly talk about relational database scalability. I also have read something about MapReduce and Column...

epaper application

I am looking for advice how can I create ePaper web application. If I click (hover over) to particular column on epaper, it should show up that column image in new window. here is good refer http://epaper.indianexpress.com/IE/IEH/2010/04/05/index.shtml. Is anyone worked on ePaper web application or have any idea how can I design tha...

[PHP/MySQL] How to create text diff web app

Hello, idea I would like to create a little app for myself to store ideas (the thing is - I want it to do MY WAY) database I'm thinking going simple: id - unique id of revision in database text_id - identification number of text rev_id - number of revision flags - various purposes - expl. later title - self expl. des...

Is it OK , from a product perspective, to write an iPhone app completely in WebView?

This just saves time. Since I already have a web applciation. I can just stick it inside a webview. The question is: Does it turn off many users? How many users will be disgusted that the entire iPhone app is written in WebView? ...

servlet does not envoke when I call a from method.

My web.xml is like <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&gt; <display-name>sample</display-name> <servlet> <servlet-name>Sampleclass</serv...

Compute jvm heap size to host web application

Hello, I want to host a web application on a private JVM they offer 32, 64, 128, 256 MB plans. My web application uses Spring. And I store some objects for every logged in user session. My question is: How can I profile my web app to see how much heap size it needs so I can choose a plan?, How can I simulate hundreds of users logged in...

Can we use assertion for testing purpose in web application ? Give example also.

Since we can easily disable and enable assertion as per our requirement. So I want to use assertion in struts action class for unit testing. Pls provide example also. ...

iPad Web App: Detect Virtual Keyboard Using JavaScript in Safari?

I'm writing a web app for the iPad (not a regular App Store app - it's written using HTML, CSS and JavaScript). Since the keyboard fills up a huge part of the screen, it would make sense to change the app's layout to fit the remaining space when the keyboard is shown. However, I have found no way to detect when or whether the keyboard is...

How do I use a custom authentication mechanism for a Java web application with Spring Security?

Hi, I'm working on a project to convert an existing Java web application to use Spring Web MVC. As a part of this I will migrate the existing log-on/log-off mechanism to use Spring Security. The idea at this stage is to replicate the existing functionality and replace only the web layer, leaving the service classes and objects in pla...

allergen web api

Does anyone know of an API that publishes current allergen levels? ...

Django and a referrer system implementation

Hello, I am trying develop a basic referrer system to my Django website, system will be generating a unique url for each users to share with their friends. Once these friends enter this website, system somehow keep the data that "this user is browsing by the reference of X user" and once this invited person decided to register for an acc...

Opera Mobile, offline web app development, and memory

I'm developing a data collection app for use on a HP iPAQ 211 running Windows Mobile 6. I'm doing it as an offline web app (go with what you know) using Opera Mobile 9.7 and Google Gears. Being it is an offline app, it is very dependent on Javascript for much of its behavior. I'm using the LocalServer, Database, and Geolocation component...

Web-Application Design: users, account. database strucure and architecture

Hy, In my application there will be: profiles: they are just users that make a profile and can do a lot of stuff... businesses: they can make new ads and do all this stuff both can login and a profile can be a business to and here is the problem! I was thinking in doing an accunt table, that stores the email and password and the types...

Open Source Mozilla Prism Alternative

Here is what I want to do, very simply: I want to put a URL into a Mozilla Prism (or some alternative), then be provided with an icon on my desktop that when I click it a window opens and the page is displayed. The process for this instance of Prism should be completely independent of any other Prism "applications" that are running. P...

Open source alternative to WebEx WebOffice?

I have a client who has been using WebOffice (from WebEx) for a variety of tasks within their small organization. The problem is that they only really need a small subset of the features WebOffice provides (Contact list, Database, and Document Storage). They've asked me to develop a website focused on these three features with the ra...

Technologies required for connectedTv

Can anyone help me suggesting which technologies will be useful to implement a ConnectedTv. In ConnectedTv where the Internet is configured in TV, while watching TV, users can browse the TV. ...

design pattern for related inputs

My question is a design question : let's say i have a data entry web page with 4 drop down lists, each depending on the previous one, and a bunch of text boxes. ddlCountry (DropDownList) ddlState (DropDownList) ddlCity (DropDownList) ddlBoro (DropDownList) txtAddress (TxtBox) txtZipcode(TxtBox) and an object that represents a dataro...

CMS for custom application

We are building a custom application using LAMP with P being PHP. We also need to have CMS to manage various aspects of the site. The two options for the CMS are Build a complete custom CMS from scratch Extend an existing open source CMS to fit our needs. This way we can use some of the features out of the box and others we will build ...

Mapping of relative path to absolute path of webpage links

I am Final Year IT Engineering student. I am Doing Content Management System in ASP.net for my college. I have given link on my master page for various pages in the application; where I have specified only relative path of those pages. When I run this project and follow any link it works well for only first time and for second time when ...