why not put the content on those files into a resource bundle and handle it like all other internationalized text.
nathan On Fri, Aug 7, 2009 at 1:52 PM, Daniil Sosonkin<[email protected]> wrote: > Hi all, > > This isn't really a Stripes question, although if Stripes already provides a > support for that it would be even better, but here it goes. Is there a way > to conditionally include a .jsp file based on user's locale. For example, I > would have files - agreement.jsp, agreement.ru.jsp, agreement.zh_CN.jsp. And > then I would do something like: <jsp:include template="agreement" > localeBased="yes" /> > > That tag would pick the most appropriate template based on the locale and > availability of it and include it? > > Any help is appreciated! > > Thank you, > Daniil > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
