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

apache - setting document root in antoher partition on ubuntu -

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

Process 'command 'F:\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1 -