I have a specific doubt.
In the example,hello world example

I have drawn a sequence diagram. I Have to represent the role tomcat is playing in the diagram. Is this the right way to represent? What does the struts-config.xml file do in this diagram?
I think there is no need of
web.xmlbefore theweb server layerin your sequence diagram.In fact, theweb serverorservlet engineis the one that parses the web.xml and loads theActionServletwhen you deploy the application.So in this case, web.xml is not coming into the picture.All the request will be processed by yourAction class.That you can include here.Struts-Configwill be loaded by yourActionServletwhen you deploy the application.Your web server is comprised of1.
web.xmlwhich will load theaction servletwhich in turn load all action classes during deploying the application.2.when a user makes a request, this
action classis the one that is serving your request.You can represent the action class here.