It's not a secret anymore!*
The moose likes Struts and the fly likes Struts 2 - Using 2 different tiles definition for i18n Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 - Using 2 different tiles definition for i18n" Watch "Struts 2 - Using 2 different tiles definition for i18n" New topic
Author

Struts 2 - Using 2 different tiles definition for i18n

Aravind Ramanujam
Greenhorn

Joined: Dec 14, 2004
Posts: 16
Hello all

In Struts 1, there was a in built feature where i can use multiple tiles definition files for internationalization. I don't need to mention the specific file name to be loaded. Struts finds the right file based on the locale. All i need to do is just add a file with a new locale included in the file name as follows:


Is this feature still available in Struts 2? I've explicitly mentioned the resources to be included for internationalization in the following entry



How do i add tiles to this entry?

Thanks
- Aravindan -
Tudor Raneti
Ranch Hand

Joined: Nov 29, 2009
Posts: 145
I'm not sure but i read Tiles 2 can be plugged in Struts 2.
Struts 2 can be intermingled with struts 1 though, it should fix your problem if you already done it ye old way.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 - Using 2 different tiles definition for i18n
 
Similar Threads
java
tiles-def.xml in WSAD5.1
Tiles winding me up.
Problem while running a project using tiles in netbeans
struts tiles 1.3.8