web-applications

Web accessibility - behaviour of screenreaders when configured to read 'title' attribute

I've been advised that if a 'title' attribute expands upon what's present in a control's visible text, it should include all information in the visible text, because the screenreader may read the title instead of the visible text. To clarify exactly how this works, are any of the following points true (for must screenreaders)? If a la...

Which web framework incurs the least overhead?

I'm playing around with Django on my website hosting service. I found out that a simple Django page, which has only some static text, and is rendered from a very simple template I created takes a significant time to render. When compared to a static HTML page, I am getting ~2 seconds difference in the load times. Keep in mind this is a ...

Accessing location information on iPhone from web application

Is there any way for a web application to access the location data of an iPhone without the installation of an additional iPhone client app? If not, the next best thing would be if any can recommend an existing native app, preferably free to the end user and as lightweight as possible, that does expose this information to Mobile Safari....

Phototagging like in Facebook and Orkut album photos?

Is there a jQuery library or any leads on implementing that photo tagging like in Facebook and Orkut Photo albums? Thanks ...

Logging Java web applications?

I am planning to implement logging into a web application that I am currently working on but I am struggling with some of the details. What is the best way to go about logging a Java web application? Specifically; Where does the configuration file go in .war package file? Where do people log to, relative or absolute path flat file, o...

Passing session data between ASP.NET Applications

We have several ASP.NET applications deployed to a few servers. Is there a standard way to reuse session data or some other method to not require users to log in to the next application when moving from application to application if they've already authenticated? I'm hoping there's a best practices way of doing this that you guys know ab...

How do I detect if my appengine app is being accessed by an iphone/ipod touch?

I need to render the page differently if it's acessed by an iphone/ipod touch. I suppose the information is in the request object, but what would be the syntax? ...

How can I simulate a hung web service?

I'm trying to test out modes of failure for software that interacts with a web service, and I've already had reported issues where problems occur if the software doesn't get a timely response (e.g., it's waiting a minute or longer). I'd like to simulate this so that I can track down and fix issues myself, but unplugging the network conne...

Is JSP good for building web sites?

Can someone tell me please does JSP display good performance when building a website with it? Can it be as fast as PHP? The reason I am asking is because I see these days everybody is building their front ends with PHP or ASP.NET. Since I am a Java developer I really want to be able to build the application in Java as the backend and ...

Running Java on a Web Server

I have written a standalone Java application that I've packaged into a jar file that takes in some command line arguments, does some hardcore computations, and then writes out the result to a file along with some output to the default output stream pointing to where the file with the results are. I now want to create a website around th...

Local IIS hangs after VS.NET build

I have an ASP.NET web application that occasionally hangs after I build it. It is intermittent and there is no pattern to this. When I try to access it afterwards, IE just waits for IIS to respond, which it doesn't do, unless I restart IIS. This is on my local machine, running Vista Ultimate x64, VS 2008, 1 web application, 8 addition...

How do I import the Host directive for Tomcat Server.xml from another file?

My company wants to be able to add other Hosts directives into our server.xml (configuration file for Tomcat). This Host directive goes inside the Engine directive. I will like to import a second file, example hosts.xml, so I can define the hosts in that separate files. <Host name="localhost" ...> ... <Valve className="org.apache.c...

What is the best method for changing a web.config connectionstring at runtime?

I'm pretty new to the ASP.NET world so I'm having a little trouble coming up with the best way to configure a connection string at runtime and have the entire application use that connection string. Here is a little more info on the application that I plan to build: Application uses Forms authentication, not Windows authentication The...

Modifying tags in a web app. Best practice.

Is there an efficient way for a system to update tags for an item when presented side-by-side in a text box, similar to StackOverflow? In my web app, individual items have tags and I am using a link table between a tags table and the items table to keep some normality. Database schema are discussed here: http://stackoverflow.com/questi...

How can I set the content-disposition header for a zip-file referred to in welcome-file-list?

I want to create a WAR that would only contain a single zip file that is included in the of the web app, deploy that war to JBoss and be able to download the zipfile by accessing the root of the WAR. So, currently I have a war, which has the zipfile in it, and this web.xml: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web ...

Why am I getting a Hibernate LazyInitializationException in this Spring MVC web application when the data displays correctly?

I am attempting to create a web application using Spring MVC, with Hibernate as its ORM layer. However, due to my inexperience with both frameworks I'm struggling. The following code will properly display all the records I am looking for but still throw a stack trace into my logs. I'm having trouble finding thorough documentation concer...

How to auto run the Active X Controls in Html Files

While using IE, its always asking me to start the active X controls. Is there any method or way to activate the Active X controls. ...

How scaleable really is a web-services based architecture?

Whenever someone talks about a services-based architecture, they often mention scalability, often in the same breath. However, it seems that using services adds more overhead, rather than reducing it, since there is now a protocol, like SOAP or REST, involved. So, does a web services based architecture really add performance benefits as ...

Language for web site

We are planning on creating a netshop-like site which requires strict security and the regular session management. The site will not be working with a database but rather interact with a different application that will reside on the server. Is there a language/platform that is more suitable recommended for this? ...

How would you justify/defend the freemium payment model to potential investors and stake holders?

We are gearing up for a release of a web application that offers both a limited free plan as well as a collection of more feature filled paid plans. It seems that a common question we are getting from people such as investors is "Why on Earth do you have a free plan?" To me it seems evident that the success of many popular web applicat...