Thursday, June 12, 2008

My Java App IE8 Readiness Toolkit!

Oh joy, another major HTML/CSS rendering engine for me to test my web applications against and I really cannot be bothered. IE8 may well turn out to be a really good thing but my early experiences of IE8 Beta are that it makes a right royal mess of my CSS/DHTML powered applications so until IE8 renders like IE7 and Firefox here is my servlet filter solution for my Java applications:


package edu.bristol;

import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.HttpServletResponse;

public class FixForIE8 implements Filter {

public void init(FilterConfig filterConfig)
throws ServletException {
}

public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException, ServletException {
((HttpServletResponse) response).setHeader("X-UA-Compatible", "IE=EmulateIE7");
chain.doFilter(request, response);
}

public void destroy() {
}
}

See also: Introducing IE=EmulateIE7

14 comments:

ismjml said...

How to render GML data?

Any free rendering tool for GML.
Note: Comment imported. Original by Atul at 2008-06-18 10:32

ismjml said...

Your comment doesn't have much to do with IE8! However, QGIS will render GML for you
Note: Comment imported. Original by markmc website: http://content.mark-mclaren.info/ at 2008-06-18 17:41

madin said...

replica Cartier is the renowned French jeweller and watchmaker with a history of pioneering design and a drive for excellence.
The first references to Ballon Blanc de Cartier wristwatches date back to 1888.

madin said...

A heritage brand with a cult following,cheap moncler jackets Moncler makes cold weather effortless to maneuver. replica woman moncler jackets Super soft puffer jackets and packaway hooded styles offer a variety of choices that'll each prove indispensable throughout the seasons' increasingly unpredictable climes.

madin said...

Based in Saint-Imier, replica longines watches Switzerland since 1832,replica mens longines watches Longines' watchmaking expertise reflects a strong devotion to tradition, elegance, and performance.

madin said...

Use Alexander McQueen shoes to create a look from the feet.Cheap ALEXANDER MCQUEEN Shoes Wacky women's sneakers use jewellery replica mens ALEXANDER MCQUEEN embellishments and iconic skull motifs to instantly elevate any casual outfit to luxury, while glossy leather boots

madin said...

Shop a huge cheap sebastian larsson Jerseys selection of SALE soccer cleats and shoes, jerseys, gloves, balls and more from cheap Soccer Jerseys

madin said...

Founded in 1905, Rolex watches have been in the uk replica rolex field of innovation for more than a century. The fake cosmograph daytona watches first certified precision chronograph, the first self-winding watch and the first effective waterproof case are milestones in Rolex design. Today, the Rolex brand is immediately recognized as a symbol of global reputation, luxury and innovation. Buying a Rolex watch means you are buying a watch history. Here we have a large catalog of used Rolex special watches for sale.

madin said...

repliche nike air max 90 Scarpe da ginnastica Nike, repliche air max 1 dalla corsa e il basket all'allenamento e agli stili casual Le scarpe Nike ti hanno coperto. Acquista tutte le ultime novità in negozio o online su replichenk.com | City Gear.

madin said...

Rolex watches are crafted from the finest raw materials and assembled with scrupulous attention to detail. cheap replica watchesEvery component is designed, replica rolex watchesdeveloped and produced in-house to the most exacting standards.

madin said...

Short for Monestier-de-Clermont, moncler jacket sale mens an Alpine town near Grenoble, France, Best copy Moncler jacket Moncler was founded in 1952 by René Ramillon as an outdoor-gear company, producing sleeping bags, tents, and other mountain-climbing necessities. Today, the French-Italian label is best known for its lightweight, super-warm quilted down jackets, as well as ready-to-wear and accessories hardy enough to take on harsh winter weather.

madin said...

Rolex watches are crafted from the finest raw materials and assembled with scrupulous attention to detail. cheap replica watchesEvery component is designed, replica rolex watchesdeveloped and produced in-house to the most exacting standards.

madin said...

Montblanc MeisterstückClassique is not surprisingly regarded as one replica mont blanc ballpoint pen of Montblanc's top ten fountain pens, replica great characters edition and perhaps the most iconic of the Montblanc writing series. This pen is coated with precious black resin and has a bright white star badge. It is a must-have for collectors and has a well-known name, with German as a "masterpiece". Each pen has a separate serial number, which means that no two pens are the same. Similarly, each nib of Montblanc is individually stamped after manual testing by Montblanc's master craftsmen.

madin said...

Shop Nike shoes for men at replichenk.com. nike air max scarpe Get the latest Nike sneakers for men in a range of colors and sizes. repliche air huarache you find a lower price on men and Womens Nike .