what are tiles in struts?

Answers were Sorted based on User's Feedback



what are tiles in struts? ..

Answer / sainagaraju

Tiles are one type of plugin. this is mainly used for to
divide the Browser document into number of tiles if an
application has to use different presentation for a
particular tile we will use the definitions used in struts
config.xml, where we declare the definitions of tile input
messages

Is This Answer Correct ?    5 Yes 0 No

what are tiles in struts? ..

Answer / shinde

Tiles is a plugin in struts.
Where you can give alias for different jsp's.
It works similar to include tag in jsp.
In tiles you can mention what should be a header a footer and content etc.. for a particular page.
The alias can be called from struts config file.
Eg:
If you have an Index page and you have want to include header and a footer in the jsp,
you can do it by using the include tag
orelse you can create an alias for index.jsp in tiles
(eg: index.page) and define the header and footer for that particular page in tiles.
In struts config, instead of forwarding to index.jsp, forward it to index.page.
The difference would be, forwarding to index.jsp, wont contain header and footer, where as forward to index.page
will have header and footer.

Is This Answer Correct ?    0 Yes 0 No

what are tiles in struts? ..

Answer / venkateswara reddy

This is difference b/n Struts1.0 and Struts1.1
U cant find the tiles in Struts1.0,But u can find the tiles
in struts1.1
This is used for better presentation

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Struts Interview Questions

i have a log in web application .... i want restrict the user for particular no of users what is procedure to develop thus application

2 Answers  


Explain the components of struts?

0 Answers  


what is the purpose of action servlet and action?

5 Answers  


how to write the configuration file of struts application if any one had simple struts application please it to me

1 Answers  


what is the use of cvs in struts?

2 Answers  






Who wrote struts?

0 Answers  


project architechture in java

3 Answers   AC, IBM, INDUS, Satyam,


Why use spring, if you are already using struts?

0 Answers  


What are the core classes of the struts framework?

0 Answers  


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

0 Answers  


State the procedure for using forward attribute of link tag’s.

0 Answers  


Explain about token feature in struts?

0 Answers   Tech Mahindra,


Categories