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

Reply via email to