struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Padma Ginnaram <>
Subject RE: Display JSPs based on language/country/variant
Date Wed, 26 Sep 2001 13:38:21 GMT
You can support this by using tiles. This framework supports a concept
called definition that can be localized. It also supports forwarding struts
actions to these definitions. 

Write an action that forwards the request to a definition corresponding to
the requested jsp. If there is no definition just forward to the requested
jsp. The limitation is that all your jsps should be accessed through this
action. So, instead of using xxx.jsp, you would use

You need to provide definitions for each jsp in the jspForward action as 

	<action path="/jspForward"
          <forward name="xxx.jsp" path="xxxDefinition"/>

This is just my understanding and not sure if this is the intended usage,
you will get more information at


-----Original Message-----
From: Jolly, Gautam []
Sent: Tuesday, September 25, 2001 5:03 PM
To: ' '
Subject: Display JSPs based on language/country/variant

Requirement - suppose the servlet-container is asked to present 'abc.jsp',
it should serve the very first jsp that meets the following lookup sequence:
Is it possible to do it declaratively in tomcat (or any other container), or
is this something that needs to be coded ??
Any help is appreciated.

View raw message