Can we have multiple struts-config files in a single web
app? If yes why should we have them? Will multiple copies
make any impact on performance?

Answer Posted / kalyan

Yes,we have mulitiple struts-config files ,it depends on
the modules.Suppose we have three modules in
application ,so in this application three struts-config.xml
files are there.
But the thing is you must enter those struts-config.xml
files details in deployment descripter (i.e. web.xml)

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of jsonvalidation?

593


What is the difference between filters and interceptors ?

495


How many instances of servlet usually run in a struts application ?

540


How you will make available any message resources definitions file to the struts framework environment?

554


What is the difference between requestaware and servletrequestaware interface?

577






What are the reasons for an error message not being displayed while developing struts application?

547


What is struts xml?

437


What are the ways in which duplicate form submission can occur?

502


What are the conditions for actionform to work correctly?

519


What is the purpose of global-forwards tag in struct-config.xml?

578


How is forward action used for integration?

566


How are interceptors and servlet filters different?

487


Difference between struts and spring? Or why use spring, if you are already using struts?

532


What are the two types of validations supported by validator framework?

576


What is use of i18n interceptor?

538