Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts application flow

 
amitesh kumar
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have just started working on a web application based on Struts framework. I would be very thankful if someone will explain the stuts application flow in detail. I have some idea like, first web.xml is parsed by web server and web server identifies the ActionServlet (main controller) action mapping pattern, config files etc. It also recognises the welcome file and loads it. But i am not sure about how and when the RequestProcessor comes into picture. There are many other classes that are refered when I trace the debugging of a single process like(add new user).

Please also explain how the xml files are read i.e. line-by-line execution or some other way and if xml files are understood only by web servers or web browsers can also understand a xml page.

Thanks in advance

Amitesh
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This link should give you a lot of good information about the Struts logic flow. Pay particular attencion to section 3, the sequence diagram.
[ September 08, 2006: Message edited by: Merrill Higginson ]
 
amitesh kumar
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks merril

i just saw this page and it looks really good to clear my doubts. I'll go through it and ask you furthur if i have any doubts.
 
saikrishna cinux
Ranch Hand
Posts: 689
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by amitesh kumar:
thanks merril

i just saw this page and it looks really good to clear my doubts. I'll go through it and ask you furthur if i have any doubts.


If you really have doubt further just go to this link
http://www-128.ibm.com/developerworks/ibm/library/j-struts/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic