Is menus-taglib.tld is your own custom tag, or is it a third party tag. In tomcat 5, tag pooling is enabled by default. This is a feature, where the same instance of the tag will be used in all places. Your tags should be able to handle tag pooling or you must disable it. You can disable it by setting the enablePooling variable to false, in the jsp servlet of web.xml present in <tomcat home>/conf directory.
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
* <init-param>
<param-name>enablePooling</param-name>
<param-value>false</param-value>
</init-param>*
<load-on-startup>3</load-on-startup>
</servlet>-Shan-
Ramachandran wrote:
Hi Shanmugam,
Yes i am using custom tag(menus-taglib) menu here. Is there any problem arise while using that? Can u please give me the solution. Here by i atached my menuinclude.jsp here.
-----Original Message----- From: shanmugampl [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 1:40 PM To: Tomcat Users List Subject: Re: Problem in Tomcat 5.0.19 - Help Needed
Hi Ramachandran,
Are you using any custom tags(your own) in your menuinclude.jsp? Could you post your jsp page to get a clear insight about the issue.
Thanks Shan
Ramachandran wrote:
Hi All,
I am using Tomcat 5.0.19. I am using file called menuinclude.jsp in all the files using <jsp:include>
When i run the application, the page visited first time is displaying the menu correctly. But when we visited the same page again, the menu is displayed twice nad visited again repeated thrice....and so on
Can any one tell me what is the problem.....
But it is not happening in Tomcat 3.2 at all
Help Needed
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
