Interview Question: How does Struts work?

By: Ash Printer Friendly Format    


Question:How does Struts work?

Answer:

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.

 

 

 

 


Most Viewed Articles (in Interview )

What is similarities/difference between an Abstract class and Interface?

What are the life-cycle methods of JSP?

Interview Question: Where can I get a copy of Struts?

Interview Question: What is ActionServlet?

Interview Question: What is Deployment descriptor?

Interview Question: Can I invoke Runtime.gc() in an EJB?

Interview Question: Why does EJB needs two interfaces(Home and Remote Interface)?

Interview Question: What is lazy loading?

Interview Question: What are the call back methods in Entity bean?

Interview Question: What is abstract schema?

Interview Question: Is it possible to share an HttpSession between a JSP and EJB? What happens when I change a value in the HttpSession from inside an EJB?

Question: What is a Hidden Comment in JSP?

Question: What is the directory structure of a web application?

Question: How is the MVC design pattern used in Struts framework?

What is the difference between JTS and JTA?

Latest Articles (in Interview)

Comment on this tutorial