We're having a problem using custom JSP tags with Struts that we're hoping
someone can help with.

We have two JSP pages: one that uses a Struts taglib and another that uses
both Struts taglibs and a home-grown taglib.

When we enter erroneous data into the page that only uses the Struts taglib,
the framework returns an HTML page that displays the original form and data,
plus the appropriate error messages.  This is the desired result.

When we enter erroneous data into the page the uses both Struts and
homegrown taglibs, the framework returns an HTML page that displays the
original form elements WITHOUT THEIR DATA, plus the appropriate error
messages.  We'd like the behavior to be like the first case, where the data
is sent back along with the form elements.

Can anyone explain why using a homegrown taglib might have caused this?  Is
there something in the custom tag API that we've missed?  Thanks - MOD



Reply via email to