Introduction to Struts Architecture

The Struts framework depends on the configuration and usage of both XML files and specific classes interacting with each other within a Web application. The main goal of Struts is to separate different aspects of design into logical blocks to free programmers and HTML/Web designers from actual Java code written in JSP files. Struts uses the struts-config.xml file, which is configured for each Web app and located in the /WEB-INF directory, to hold mappings and directives between pages. This file must have associated entries in /WEB-INF/web.xml to be used in the Web app. When application-specific Java code has to run, the struts-config.xml file directs the input received from the source file (an HTML, JSP, or ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.