On Fri, Jul 20, 2012 at 2:04 PM, Kofford, C. Todd <[email protected]> wrote:

> 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.
>

Hello Todd,

I'd say that everything is welcome, provided the quality is within certain
boundaries, of course ;-)
But since this is pretty small and perhaps a bit too specific for an
example, I'd wager it would be a better fit for a cookbook[1] entry than an
actual example.

My 2 cents,

Phil

[1] http://struts.apache.org/2.x/docs/cookbook.html


>
> Todd Kofford
> System Integration
> KU Information Technology
> [email protected]
> (785) 864-0327
>
> ________________________________________
> From: Lukasz Lenart [[email protected]]
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
"We cannot change the cards we are dealt, just how we play the hand." -
Randy Pausch

Reply via email to