DEVFYI - Developer Resource - FYI

How does Struts work?

Struts Questions and Answers


(Continued from previous question...)

21. How does Struts work?

Java Servlets are designed to handle requests made by Web browsers. Java ServerPages are designed to create dynamic Web pages that can turn billboard sites into live applications. Struts uses a special Servlet as a switchboard to route requests from Web browsers to the appropriate ServerPage. This makes Web applications much easier to design, create, and maintain.

(Continued on next question...)

Other Interview Questions