Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Taglib repeating in jsp page in TOMCAT. (Can this be Tag pool issue? )

843838Mar 16 2007 — edited Mar 16 2007
Hi,
We have an application and it is running fine on one servlet container "ServletExec". We are migrating our application to Tomcat and some weird things happenned.

In one of my JSP pages say page " A ", I have included another small JSP say " B "which just created a table with one row and various columns.

Now the columns are created in a taglib. And I am using that taglib inside that page " B".
Now this is working fine in ServletExec.

But in tomcat when I refersh page A or come to this page dfrom some other page, there are multiple instance of tables from page B are rendered.
SO every time I refresh a new entry added to already existing table.

Can any one please help?
I looked in some documents and found that this may be because of some Tag pooling in Tomcat newer versions. Is that right?

If yes how can I remove this tag pooling in my taglib java class?

Any help is highly appreciated.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 13 2007
Added on Mar 16 2007
1 comment
46 views