concept website in category java

appears as: website, The website
Struts 2 in Action

This is an excerpt from Manning's book Struts 2 in Action.

The package declared in listing 3.2 contains all of the secure actions for the application. These actions require user authentication. A glance at the names of these actions should be sufficient to give a good idea of their functional purpose. Obviously, the actions that add and delete images from a portfolio should be secured behind authentication. We want to make sure that the user who’s removing images from the portfolio actually owns that portfolio. Grouping these together allows us to share declarations of components that might be useful to our authentication mechanism. Additionally, we’ve chosen to give a special URL namespace to these secure actions. We want our users to notice from the URL that they have entered a secure region of the website.

This rounds out tokens and wait pages. With a few lines of declaration, you can transform your website into a real jewel for the user and the server. The web pages keep users apprised of what’s happening, and the fact that the original request finishes without all the duplicates coming in keeps the server running smoothly. In the next section, we change gears and discuss another powerful feature of Struts 2 that takes the pain out of creating your CRUD actions. The idea of augmenting a website to provide create, read, update, and delete behaviors is prevalent and deserves a streamlined facility to ease development. The next section discusses how Struts 2 allows you to easily add these capabilities.