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/jsptl/src/org/apache/taglibs/jsptl/tag/common ImportSupport.java
Date Sat, 17 Nov 2001 19:12:10 GMT
shawn       01/11/17 11:12:10

  Modified:    jsptl/src/org/apache/taglibs/jsptl/tag/common
                        ImportSupport.java
  Log:
  Minor bug fix.  (Amazing what a single missing '!' can do... )  :-)
  
  Revision  Changes    Path
  1.6       +1 -1      jakarta-taglibs/jsptl/src/org/apache/taglibs/jsptl/tag/common/ImportSupport.java
  
  Index: ImportSupport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/jsptl/src/org/apache/taglibs/jsptl/tag/common/ImportSupport.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ImportSupport.java	2001/10/31 01:21:46	1.5
  +++ ImportSupport.java	2001/11/17 19:12:10	1.6
  @@ -295,7 +295,7 @@
   	        c = pageContext.getServletContext();
   
   		// normalize the URL if we have an HttpServletRequest
  -		if (targetUrl.startsWith("/")) {
  +		if (!targetUrl.startsWith("/")) {
   		    String sp = ((HttpServletRequest) 
   			pageContext.getRequest()).getServletPath();
   		    targetUrl = sp.substring(0, sp.lastIndexOf('/'))
  
  
  

--
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