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

Struts Tags, JSP Custom Tags, and Java Scriptlets: What’s the Right Balance?

It’s probably appropriate to mention up front that you can use Struts without using any of the Struts custom tags. If you want to, you can develop straight JSP files and still use the MVC architecture, Action classes, and most of the rest of the framework. We don’t recommend it, but it’s possible.

It’s common to wonder whether you can use Struts tags and completely avoid the use of any Java scripting. This, too, is possible, but it requires a great deal of effort.

The scripting capability of JSP and Struts is very limited if you don’t use Java scriptlets. You can develop JSP custom tags that hide the scripting, but sometimes doing so is overkill.

This changed a great ...

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