problem in nested custom tags- Jboss3.0-tomcat4.03.

2002-06-07 Thread Anil Agrawal

respected sir,

  I am working on Jboss3.0-tomcat4.03.

  following jsp (uses nested custom tags) working perfactly fine
  with weblogic6.01.

  jsp code is logically right also. at compilation time tomcat throws
exception


==
jsp compilation error
=

D:\jboss-3.0.0_tomcat-4.0.3\catalina\work\localhost\wsc_auth\auth\admin\Assi
gnDeassignService$jsp.java:350: Variable 'inputError' is already defined in
this method.
  String inputError = null;

==
jsp file
=

 auth:getServiceAssignments   componentId='%=cId%'
serviceName='%=sName%'
 common:inputError 
  p class=error%=inputError%/p
 /common:inputError
 
common:businessError
p class=error%=businessError%/p
/common:businessError
  
   common:commandSuccess
   auth:getAllGroups isAdmin=true   

 common:inputError 
  p class=error%=inputError%/p
 /common:inputError
 
common:businessError
p class=error%=businessError%/p
/common:businessError
   

common:commandSuccess

  /common:commandSuccess
   /auth:getAllGroups  
  
/common:commandSuccess 
   /auth:getServiceAssignments 
  
  

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: problem in nested custom tags- Jboss3.0-tomcat4.03.

2002-06-07 Thread Kin-Man Chung

Looks like the same problem as one decribed in bugzilla #9699 that
got reported today.  Good timing!  :-)

 Date: Fri, 07 Jun 2002 15:42:54 +0530
 From: Anil Agrawal [EMAIL PROTECTED]
 Subject: problem in nested custom tags- Jboss3.0-tomcat4.03.
 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 Cc: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 MIME-version: 1.0
 Delivered-to: mailing list [EMAIL PROTECTED]
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 X-Antivirus: nagoya (v4198 created Apr 24 2002)
 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
 List-Post: mailto:[EMAIL PROTECTED]
 List-Subscribe: mailto:[EMAIL PROTECTED]
 List-Unsubscribe: mailto:[EMAIL PROTECTED]
 List-Help: mailto:[EMAIL PROTECTED]
 List-Id: Tomcat Developers List tomcat-dev.jakarta.apache.org
 
 respected sir,
 
   I am working on Jboss3.0-tomcat4.03.
 
   following jsp (uses nested custom tags) working perfactly fine
   with weblogic6.01.
 
   jsp code is logically right also. at compilation time tomcat throws
 exception
 
 
 ==
 jsp compilation error
 =
 
 D:\jboss-3.0.0_tomcat-4.0.3\catalina\work\localhost\wsc_auth\auth\admin\Assi
 gnDeassignService$jsp.java:350: Variable 'inputError' is already defined in
 this method.
   String inputError = null;
 
 ==
 jsp file
 =
 
  auth:getServiceAssignments   componentId='%=cId%'
 serviceName='%=sName%'
  common:inputError 
   p class=error%=inputError%/p
  /common:inputError
  
 common:businessError
   p class=error%=businessError%/p
 /common:businessError
 
common:commandSuccess
  auth:getAllGroups isAdmin=true   
 
common:inputError 
 p class=error%=inputError%/p
/common:inputError
  
   common:businessError
   p class=error%=businessError%/p
   /common:businessError

 
   common:commandSuccess
   
 /common:commandSuccess
/auth:getAllGroups  
   
 /common:commandSuccess 
/auth:getServiceAssignments 
   
   
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]