It rather depends on what your tags are doing. We are using our own taglib
along with Struts without problems, and we have tags that interact with
Struts tags as well as tags that are independent of Struts.
Here are a couple of things you might check:
- Make sure there are no errors in your container's log file.
- Check that your form bean is getting to the page intact.
- See what happens if you add one of your own tags to the page that works.
--
Martin Cooper
----- Original Message -----
From: "Michael Duffy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 6:36 AM
Subject: Problem Combining Struts And Homegrown Taglibs
>
> 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
>
>
>