SeasonalShot
SeasonalShot

Reputation: 2569

Relation between Struts-config.xml and web.xml(deployment desc.)

A new bie to struts. What is the life-cycle followed and what is the relation between web.xml file and the struts-config.xml file?

Can you provide links?

Upvotes: 0

Views: 837

Answers (2)

user7377583
user7377583

Reputation: 1

web.xml is used for making connection between web container & web application and read by container itself when we start it. struts-config.xml used for making connection between view & controller and initialized by using init() method.

Upvotes: 0

SeasonalShot
SeasonalShot

Reputation: 2569

http://struts.apache.org/release/1.2.x/faqs/works.html This explains everything.....

Upvotes: 2

Related Questions