jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sh...@apache.org
Subject cvs commit: jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/el/core ImportTag.java
Date Tue, 12 Mar 2002 23:14:44 GMT
shawn       02/03/12 15:14:44

  Modified:    standard/src/org/apache/taglibs/standard/tag/el/core
                        ImportTag.java
  Log:
  Error/null handling for <c:import>.
  
  Revision  Changes    Path
  1.2       +3 -0      jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/el/core/ImportTag.java
  
  Index: ImportTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/src/org/apache/taglibs/standard/tag/el/core/ImportTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ImportTag.java	21 Nov 2001 14:25:26 -0000	1.1
  +++ ImportTag.java	12 Mar 2002 23:14:44 -0000	1.2
  @@ -149,6 +149,9 @@
   
   	url = (String) ExpressionUtil.evalNotNull(
   	    "import", "url", url_, String.class, this, pageContext);
  +	if (url == null || url.equals(""))
  +	    throw new NullAttributeException("import", "url");
  +
   	context = (String) ExpressionUtil.evalNotNull(
   	    "import", "context", context_, String.class, this, pageContext);
   	charEncoding = (String) ExpressionUtil.evalNotNull(
  
  
  

--
To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>


Mime
View raw message