Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what are tiles in struts?

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


Please Help Members By Posting Answers For Below Questions

What is the purpose of constant tag in struts.xml?

956


How can duplicate form submission be handled in struts 2?

989


What is the struts in java?

937


What is struts2 framework?

949


What is struts.devmode?

1055


Do you need an alignment after replacing struts?

942


Which technologies can be used at view layer in struts?

1089


What are the Core classes of Struts Framework?

1018


What is struts xml?

850


What is struts2 in java?

1046


What is the purpose of @requiredstringvalidator?

969


What's the purpose of execute method of action class?

952


What’s the difference between struts and turbine? What’s the difference between struts and espresso?

989


What are the some useful annotations introduced in struts2?

978


What is use of i18n interceptor?

988