I am looking for a way to allow a Web application to provide a different user experience based on the type of visitor. For example, the same set of data should be presented differently to a child versus an adult. This is for a Java Web app.
Just wanted to provide more clarification. What I am hoping for is any best practice for handling all facets for providing a different user experience for different types of visitors (detection of type of visitor, different view presentation, different navigation). My data is hierarchical and traversing that data will most likely be different for different types of visitors. I am capable of coming up with a home grown solution, but I would be interested in any boiler plate solution or framework that would make it easier to implement and maintain. The application in question is a Java app that uses Struts/Tiles 1.x.