O'Reilly logo

Struts Kick Start by Kevin Bedell, James Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Conclusions

The Action is responsible for integrating the View with the business logic. It also decides where to pass control to by returning an ActionForward, or by processing the request itself and returning null.

You can store multiple ActionForms on the session, and then have one Action process them all, using getAttribute to retrieve them all by their form name.

Struts also offers an opportunity to do access control on pages without requiring the pages themselves to have access control code in them. This is done by placing the access control in the Action classes that are used to forward to the restricted pages. Because Struts doesn’t reveal the underlying JSP files that it displays, the user will have no way of knowing how to get to them ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required