• anonymous
What's the difference between Servlets and Struts?
Computer Science
  • Stacey Warren - Expert
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
  • schrodinger
I got my questions answered at in under 10 minutes. Go to now for free help!
  • anonymous
As I understand it, a servlet is a program that manipulates and returns information upon a request. Struts on the otherhand is a framework or database that a servlet can access in order to find out how it should handle a request. I don't work with struts or servlets much myself, just basics, but to me that seems to be the idea.
  • anonymous
By means of Servlets you can deploy a function, procedure, service, etc. on the web that receives input data, elaborates results and returns output data. STRUTS is a programming framework that supports developers in implementing MVC pattern in their Web Applications.
  • shadowfiend
Most broadly, a servlet is a class that handles an incoming request and provides a response. Struts is a higher-level framework that provides a different way of approaching a web application where you can worry less about a lot of the servlet details. It is built on servlets, because servlets are the base implementation of a web application in Java.

Looking for something else?

Not the answer you are looking for? Search for more explanations.