~ubuntu-branches/ubuntu/natty/libstruts1.2-java/natty

« back to all changes in this revision

Viewing changes to src/share/org/apache/struts/taglib/html/RewriteTag.java

  • Committer: Bazaar Package Importer
  • Author(s): Debian Java Maintainers, Onkar Shinde, Emmanuel Bourg
  • Date: 2010-04-07 14:21:41 UTC
  • Revision ID: james.westby@ubuntu.com-20100407142141-d21u466e7gn9cdb2
Tags: 1.2.9-4
[ Onkar Shinde ]
* Build/runtime dependency libservlet2.3-java -> libservlet2.5-java.
* Build dependency java-gcj-compat-dev -> default-jdk.
* Remove runtime dependencies since the package is build with lowest target
  JVM version (1.3)
* Convert patches to quilt format. Convert package to 3.0 format.
* lintian errors/warnings fixed
  - Section devel -> java.
  - Standards version 3.7.2 -> 3.8.4.
  - Remove Debian revisions from build/runtime dependencies.
  - Add ${misc:Depends} to runtime dependencies.
  - Update compat version to 5.
  - Move homepage url to Homepage field.
  - Write copyright in DEP-5 format. Remove complete text of Apache-2.0
    license.

[ Emmanuel Bourg ]
* Update of the URLs
* Rename Jakarta Commons to Apache Commons

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
import javax.servlet.jsp.JspException;
25
25
 
26
26
import org.apache.struts.taglib.TagUtils;
 
27
import org.apache.struts.util.ResponseUtils;
27
28
 
28
29
/**
29
30
 * Generate a URL-encoded URI as a string.
72
73
                (messages.getMessage("rewrite.url", e.toString()));
73
74
        }
74
75
 
75
 
        TagUtils.getInstance().write(pageContext, url);
 
76
        TagUtils.getInstance().write(pageContext,
 
77
                ResponseUtils.filterIfQuote(url));
76
78
 
77
79
        return (SKIP_BODY);
78
80