Hi Jay, I've not actually done exactly what you're asking, however it would seem to me quite straightforward to determine the url that was used to access the site using:
String cURL = request.getParameter("url"); You could then use string extraction techniques to get the portion of the URL and I would guess it would be easier to store this in session scope. I would guess that the colours for the web site could be determined by loading a specific CSS Style Sheet that would be determined by examining the value stored in session scope. The tile templates could be determined by say concatenating a code onto the template or looking in a directory for all tile templates for that company. I'm pretty sure this would not work with tile definitions defined in tiles-defs.xml so you may need to restrict yourself to definitions stored in JSP files. Hue. -----Original Message----- From: Jay Andrews [mailto:[EMAIL PROTECTED]] Sent: 29 January 2003 21:01 To: [EMAIL PROTECTED] Subject: Tiles Portal Ive been looking into using struts and tiles for an upcoming project. I need to be able to change the look and feel of the website based on the url the site was entered from. For example, if a user enters from company1.foo.com then show their company colors and logo. if a user enteres from company2.foo.com then use different color scheme and logos... and so on. Is this something tiles should be used for? Has anyone acomplished such a project? Thanks. Jay. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]