What is the purpose of tiles-def.xml file, resourcebundle.properties file, validation.xml file

Showing Answers 1 - 6 of 6 Answers

John

  • Mar 8th, 2005
 

The Tiles Framework is an advanced version of that comes bundled with the Struts Webapp framework. Its purpose is reduce the duplication between jsp pages as well as make layouts flexible and easy to maintain. It integrates with Struts using the concept of named views or definitions.

  Was this answer useful?  Yes

J. P. Naidu

  • Jul 27th, 2005
 

resourcebundle.properties is used to maintian all the strings that are used in the application and thier corresponding equalents in different desired languages. All the strings/labels in the application using Struts will get it labels from this file only depending on locale. This is an i18n implementation of struts

  Was this answer useful?  Yes

Deepak

  • Aug 13th, 2005
 

This validation.xml configuration file defines which validation routines that is used to validate Form Beans. You can define validation logic for any number of Form Beans in this configuration file. Inside that definition, you specify the validations you want to apply to the Form Bean's fields. The definitions in this file use the logical names of Form Beans from the struts-config.xml file along with the logical names of validation routines from the validator-rules.xml file to tie the two together.

  Was this answer useful?  Yes

Priya

  • Jul 11th, 2007
 

In tiles-def.xml we can define the definations which specifies the different components to plugin to generate output.
resourcebundle.properties maintains messages used in the struts project.
validation.xml maintains the validation code for validating form beans.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions