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

JSP Files: The Alpha and the Omega

I call the JSP files the alpha and omega because every Struts transaction begins and ends on a JSP page. They represent the outermost layer of the view, controlling the formatting of information as it is presented to the user and (through JavaScript and other client-side scripting) providing the first level of validation to input from the user.

JSP files under Struts look much the same as normal JSP files, except that the Struts taglibs are used to provide quick access to common Struts functionality and to reduce the number of raw Java scriptlets used on the page.

JAVA SCRIPTLETS VERSUS TAGS

There’s a certain amount of programmatic dogma floating around the software industry right now. The basic premise ...

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