DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27056>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27056

Jasper taglib <useBean> bug!!





------- Additional Comments From [EMAIL PROTECTED]  2004-07-22 23:03 -------
I have a class with a public no-arg constructor, and I get this error.

With a useBean like this:
<jsp:useBean id="errors" class="...Errors" scope="request"/>

If the class is defined thusly, there is an error:
public class Errors {
    private Set _errors;

    public Errors() {
        _errors = new LinkedHashSet(); //preserve original order
    }
}

However, this version does not produce the error:
public class Errors {
    private Set _errors;

//    public Errors() {
//        _errors = new LinkedHashSet(); //preserve original order
//    }
}


Both have a public no-arg constructor, but only one version works.  What is
weird is that this only happens in Ant - the page compiles fine within Tomcat. 
Is there something I'm not seeing here?  

This is 5.0.25 I'm using.

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

Reply via email to