Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

Sponsored Links

Optimize with a SATA RAID Storage Solution
Range of capacities as low as $1250 per TB. Ideal if you currently rely on servers/disks/JBODs

Strut your stuff with JSP tags

Use and extend the open source Struts JSP tag library

  • Print
  • Feedback

Page 5 of 5

Listing 7. Changes to struts.tld

...
<tag>
    <name>text</name>
    <tagclass>org.apache.struts.taglib.TextTag</tagclass><bold>
    <attribute>
        <name>errorMessage</name>
        <required>false</required>
        <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
        <name>pattern</name>
        <required>false</required>
        <rtexprvalue>true</rtexprvalue>
    </attribute></bold>
             ...


Conclusion

Hopefully, the techniques presented here will help diminish the amount of robotic coding concomitant with JSP development and give you some time to deal with more challenging problems.

About the author

Thor Kristmundsson is a server-side Java developer and consultant living in Aalborg, Denmark. He has a decade of experience in development in various environments from Prolog to Java. As an ATG senior consulting engineer, Thor helps European clients create quick and clean Websites in Dynamo.
  • Print
  • Feedback

Resources