Many web applications inelegantly expose themselves in their URLs. While ASP.NET applications tend to have an .aspx in the URL, Struts' default configuration gives you a .do in your URL. It is possible to reconfigure a Struts web application that uses URLs like /customer.do?method=edit&id=42 to use something like /customer/edit/42 instead. This article covers several separate techniques that you can use for different parts of the URL.
I've just finished reading The Pragmatic Programmer, which is an interesting book about software development that I wish I had read years ago*. One of the books intriguing ideas is to use a secure hash, e.g. MD5, of a configuration file to prevent people tampering with system parameters after deployment (page 74). Working out when this would be useful comes later: first, where do you store the calculated hash?
Copyright © 2005-2009, Lunatech Research B.V. All Rights Reserved.