Answer Posted / 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 |
Post New Answer View All Answers
What is a custom tag?
Explain struts.devmode?
Why we use struts in java?
Will the struts tags support other markup languages such as wml ?
What is the purpose of struts.properties in struct2?
What is the struts in java?
What are the cons of struts 2?
What is actioninvocation in struts2?
Explain about the future of struts?
Which technologies can be used at view layer in struts?
what is meant by Struts Validator Framework?
Briefly tell the two kinds of form beans.
When do I need “struts.jar” on my classpath?
What is defeult result type?
What is the difference between struts and spring? Explain