« Return to Thread: Selecting a jsp according to locale

Re: Selecting a jsp according to locale

by Dimitris Mouchritsas-3 :: Rate this Message:

Reply to Author | View in Thread

Laurie Harper wrote:

> Dimitris Mouchritsas wrote:
>> Hi all,
>> I want to show a system requirements page according to the web page's
>> locale.
>> Can I use the tiles-defs.xml to do it or I need to write code in a jsp?
>> Thanks
>
> I'm not sure what you want to achieve. If you just want to localize
> the page, you can do so using the I18N facilities provided by Struts.
> If you actually need to render a different JSP per locale for some
> reason, it will be more involved. Either way, the specifics depend on
> which version of Struts you are using.
>
> Try posting more details of exactly what it is you need to do, and
> what environment you are working in (Struts version, etc.).
>
> L.
>

My version is Struts 1.2.4, running on OC4J 10.1.2.0.2 (which is pretty
old). What I actually want to do is to display a system requirements
page according to the user's locale which has been set before hand. So I
suppose it would be easier to have 3 different jsp's?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: Selecting a jsp according to locale