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 procedure of operation of a form tag?

558


What do you mean by action errors and what are the results they force?

580


What is the role of action class in struts?

561


What does modeldriven interceptor?

593


What is the purpose of @key annotation annotation?

602






What is the purpose of action-mappings tag in struct-config.xml?

592


Why do we use struts?

579


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

544


How is forward action used for integration?

574


What do you mean by actionmapping?

536


What are result types in struts?

578


What is the purpose of execute() method?

574


How do I install struts?

566


Which model components are supported by Struts?

570


Explain the difference between jakarta struts and apache struts?

531