java - Request handling in struts and spring. Difference? -


struts 2 actions initiated every time when request made, whereas in spring mvc controllers created once, stored in memory , shared among requests.so, spring web mvc framework far efficient handle requests struts 2.

i have read these sentences in blog. though understand partially, have clear understanding on above. way of handling requests in spring similar servlets, initialization done once upon first request , threads spawned every request??? correspondingly, how achieved in struts 2??


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -