tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Assaf Arkin <ar...@exoffice.com>
Subject Re: request for comments about Multilinguage JSP
Date Fri, 18 Feb 2000 00:03:44 GMT
>   As I said, multiple JSP need's for designer (not for programmer who
> implement data processing). Just look at this code (it's just
> schematic):

I understand that, but I think there could be a better way if you have
one JSP page and one other document (maybe XSLT, maybe XML-based
resources) supplying the missing bits.

What happens if you decide to change the layout of index.en.jsp? You
also have to go and modify all the other languages.

If the differences are in the text content, I think that a common XML
document with just that information would work better.

arkin


> 
> <!-- index.en.jsp -->
> ... there are JSP beans initialisation
> <html>
> <body>
> <center>
> <h1>Hello!</h1>
> <img src="promotion_banner_in_english.gif">
> <%= jspBean.getVariable() %>
> </center>
> </body>
> </html>
> 
> <!-- index.de.jsp -->
> ... there are JSP beans initialisation
> <html>
> <body>
> <center>
> <h1>Guten tag!</h1>
> <img src="promotion_banner_in_german.gif">
> <%= jspBean.getVariable() %>
> </center>
> </body>
> </html>
> 
>   Eugen Kuleshov.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org

-- 
----------------------------------------------------------------------
Assaf Arkin                                           www.exoffice.com
CTO, Exoffice Technologies, Inc.                        www.exolab.org

Mime
View raw message