> > I read some articles saying (Model 2)
> > is more scalable in the future. I dont see how its any more or less
> > scalable than Model 1.
>
> How will you internationalize your Model 1 pages? You can't really.
(just for the sake of nitpicking)
Multiple techniques:
1) use subdirectories on the server alone with web server content-negotiation
/en/foo.jsp
/jp/foo.jsp
/fr/foo.jsp
2) use includes in JSP to include content
3) use ResourceBundles
<h3> <i18n:text name="chapterHeading"/> </h3>
where 'i18n' is a taglib that performs the required
getBundle/getString calls.
I prefer the resource bundle approach myself, where I am using Model 1 or Model 2. It
still
sucks to duplicate code in views. Especially if you change a particular rendering in
one
view, you have to change it in all the others.
-Ray
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
- Re: New article: "The Problem... Justin Wells
- Re: New article: "The Problems with JSP" Tom Clarke
- Re: New article: "The Problems with JSP" Jason Hunter
- Re: New article: "The Problems with JSP" Duffey Kevin
- Re: New article: "The Problems with JSP" Jason Hunter
- Re: New article: "The Problems with JSP" Jason Hunter
- Re: New article: "The Problems with JSP" Kevin Duffey
- Re: New article: "The Problems with JSP" Jason Hunter
- Re: New article: "The Problems with JSP" Duffey Kevin
- Re: New article: "The Problems with JSP" Jason Hunter
- Re: New article: "The Problems with JSP" Ray Cromwell
- Re: New article: "The Problems with JSP" Duffey Kevin
- Re: New article: "The Problems with JSP" Jason Hunter
- JSP Newbie Wesley Owens
- Re: New article: "The Problems with JSP" Hines, Bill
- Re: New article: "The Problems with JSP" Duffey Kevin
- Re: New article: "The Problems with JSP" P'Simer, Dana
- Re: New article: "The Problems with JSP" Hines, Bill
- Re: New article: "The Problems with JSP" David Wall
- Re: New article: "The Problems with JSP" Jim Bailey
- Re: New article: "The Problems with JSP" Justin Wells
