I was wondering if someone could help me on this one.

I am using tomcat 4.1.18 on Windows 2000. I have a jsp page that uses a custom tag to 
display a user friendly name for a column in our database.
Nested inside this tag is a Struts <bean:write /> tag that should write onto the page 
a column name that has been put into a bean for that page.

The problem is that my custom tag is just swallowing up the body (the struts tag) 
which means my tag will return null. The body of the tag is not being
evaluated at all.

This however does not happen on our development server, which is using tomcat 3.3.1 
and running linux.

Is this a bug in tomcat 4.1.18 or have I created my custom tag incorrectly.
The custom tag has a doStartTag() that sets up some objects and returns 
(EVAL_BODY_TAG) and a doAfterBody() that gets the body content and tries to
get the user friendly name for the column name that should be in the body content. 
This method returns (SKIB_BODY).
There is also a release tag that calls super.release() and sets the objects set up in 
doStartTag to null.

Any help will be greatly appreciated.


Nathan.

Reply via email to