With mobile apps being so prevalent now days, I created a small example that 
includes a custom interceptor which determines a different view (path to JSPs) 
based on the given user-agent the browser passes in. So if you're on a mobile 
device (phone, tablet, game console, etc.) it uses the mobile view JSPs, 
otherwise it uses the default JSPs appropriate for a desktop/laptop computer. 

I know that I'm probably not the first person to need a single app to have 
multiple views based on device, so I'd like to help out others with similar 
needs. Besides that, it really showcases struts 2's ability to be easily 
extended and tailored for specific needs.

Would there be any interest in an example app like that? Even if it wasn't 
included in struts 2, it could be a useful example app for others.

Todd Kofford
System Integration
KU Information Technology
tkoff...@ku.edu
(785) 864-0327

________________________________________
From: Lukasz Lenart [lukaszlen...@apache.org]
Sent: Friday, July 20, 2012 4:28 AM
To: Struts Developers List
Subject: Re: Examples app

Friday isn't the best day to do anything - I though about "Example
apps" and not "Examples app" :P


Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to