as we all know, java is an platform independent language ,so called write one ,run everywhere. for web-based applications, most of projects use open sources frameworks ,like Struts ,Spring, Hibernate ,etc ,these frameworks let developers focus on the concrete business logic rather on others aspects. they do not need to put much efforts on how to make application work on different browsers.