You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kenji Nakamura <ke...@cygent.com> on 2001/03/08 23:39:18 UTC

Name conflict when the same custom tag is included both a parent JSP and a sub JSP that is included by parent JSP

Hi,

I got the error that complains that variables are already defined, when
rendering a JSP page that includes a sub JSP and both of them has the same
custom tag.
The variables are specified at getVariableInfo() method in  (the subclass of
) TagExtraInfo class.
JSP engine parses the two JSP pages into one java file and name conflicts
occur. The pages works fine in Weblogic5.1SP8 and WL generates java file for
each JSP page even if it is included.

Actually I uses Websphere Advanced Edition 3.5.2 (with fix_pack2) and I know
here is not appropriate place to ask, but Websphere utilizes Jasper as JSP
engine(for JSP1.1) anyway.
I could work around the problem by adding the output of TagData.getId() to
the variable names, but I'd like to know how Jasper handles the namespace
issue.

BTW, do you know which version is used for Websphere AE 3.5.2? 

Thanks in advance,
----
Kenji Nakamura


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org