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

« back to all changes in this revision

Viewing changes to contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELErrorsTagBeanInfo.java

  • Committer: Bazaar Package Importer
  • Author(s): Arnaud Vandyck
  • Date: 2006-04-24 12:14:23 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060424121423-naev53qigqgks0sa
Tags: 1.2.9-1
New upstream  release Fixes  three security  problems: CVE-2006-1546,
CVE-2006-1547,  CVE-2006-1548  (closes:  #360551),  thanks  to  Moritz
Muehlenhoff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Header: /home/cvs/jakarta-struts/contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELErrorsTagBeanInfo.java,v 1.3 2004/03/14 07:15:01 sraeburn Exp $
3
 
 * $Revision: 1.3 $
4
 
 * $Date: 2004/03/14 07:15:01 $
 
2
 * $Id: ELErrorsTagBeanInfo.java 123585 2004-12-29 00:43:33Z martinc $ 
5
3
 *
6
4
 * Copyright 1999-2004 The Apache Software Foundation.
7
5
 * 
42
40
                                                null, "setBundleExpr"));
43
41
        } catch (IntrospectionException ex) {}
44
42
        try {
 
43
            proplist.add(new PropertyDescriptor("footer", ELErrorsTag.class,
 
44
                                                null, "setFooterExpr"));
 
45
        } catch (IntrospectionException ex) {}
 
46
        try {
 
47
            proplist.add(new PropertyDescriptor("header", ELErrorsTag.class,
 
48
                                                null, "setHeaderExpr"));
 
49
        } catch (IntrospectionException ex) {}
 
50
        try {
45
51
            proplist.add(new PropertyDescriptor("locale", ELErrorsTag.class,
46
52
                                                null, "setLocaleExpr"));
47
53
        } catch (IntrospectionException ex) {}
50
56
                                                null, "setNameExpr"));
51
57
        } catch (IntrospectionException ex) {}
52
58
        try {
 
59
            proplist.add(new PropertyDescriptor("prefix", ELErrorsTag.class,
 
60
                                                null, "setPrefixExpr"));
 
61
        } catch (IntrospectionException ex) {}
 
62
        try {
53
63
            proplist.add(new PropertyDescriptor("property", ELErrorsTag.class,
54
64
                                                null, "setPropertyExpr"));
55
65
        } catch (IntrospectionException ex) {}
 
66
        try {
 
67
            proplist.add(new PropertyDescriptor("suffix", ELErrorsTag.class,
 
68
                                                null, "setSuffixExpr"));
 
69
        } catch (IntrospectionException ex) {}
56
70
        
57
71
        PropertyDescriptor[] result =
58
72
            new PropertyDescriptor[proplist.size()];