Question
What configuration changes are required to use Tiles in Struts?

Answers

To create reusable components with Tiles framework, we need to add following plugin definition code in struts-config.xml file:
XHTML
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
<set-property property="moduleAware" value="true" />
</plug-in> 1234567
<plug-in className="org.apache.struts.tiles.TilesPlugin" > <set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" /> <set-property property="moduleAware" value="true" /> </plug-in>

    Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q Distinguish between Vaibhasika and Sautrantika realism.
  • Q If the tenant of a boarding house is in arrear with the rent, and if the landlord has reason to believe that the tenant has abandoned the premises, the landlord (A)May enter the room immediately to determine if the tenant has left (B)May put a notice on the door of the tenant’s boarding room advising the tenant that the landlord will enter the room 24 hours later to confirm whether or not the tenant has abandoned the tenancy (C)Must make all reasonable efforts to contact the contact person (if any) identified in the tenant’s tenancy agreement
  • Q Name India’s communication satellite launched on board an Airspace rocket from Kourou in French Guiana on 6th December.
  • Q Does array-of-Derived is-not-a-kind-of array-of-Base mean arrays are bad?
  • Q What invention in about 1450 A.D. revolutionized communication and the world?
  • Q Why have you been out of work so long?
  • Q About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use.
  • Q What does the format %10.2 mean when included in a printf statement?
  • Q What are the main endocrine glands of the human body?
  • Q How do you get your inspiration?
  • Q Difference between Localization and Globalization Testing.