You should mark it public if you want to use it outside your package. - Andrew
> -----Original Message----- > From: Josh [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 09, 2002 12:38 AM > To: Tomcat Users List > Subject: Re: Missing constructor!?? > > > I thought constructors weren't supposed to be marked public? > Either way I tried and it made no difference. > > -Josh > > "Rimmer, real dumplings, proper dumplings when they're properly > cooked to perfection, proper dumplings, should not bounce." > > ----- Original Message ----- > From: "Ben Walding" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Friday, August 09, 2002 2:34 PM > Subject: Re: Missing constructor!?? > > > > Shouldn't the constructor be declared public? > > > > Josh wrote: > > > > >Hi, > > > I'm getting the following from tomcat: > > > > > >C:\tomcat\work\Standalone\localhost\_\empty$jsp.java:66: No > > >constructor matching FormCheckbox(java.lang.String, > java.lang.String, > java.lang.String) > > >found in class au.com.multemedia.wf.ui.FormCheckbox. > > > checkbox = new > FormCheckbox("testform","check1","Checkbox > > >1"); > > > > > >Which seems to be bogus, as FormCheckbox.java contains this: > > > > > > FormCheckbox(String newformname, String newvarname, String > newdescription) > > >{ > > > > > > this.setFormName(newformname); this.setVarName(newvarname); > > > this.setDescription(newdescription); > > > this.setValue("on"); > > > > > > } > > > > > >And I know that package is being imported, as tomcat has > no problems > > >with the "FormCheckbox checkbox;" line before the one causing the > > >problem... > > > > > >Am I overlooking something in plain sight here? > > > > > >-Josh > > > > > >"Rimmer, real dumplings, proper dumplings when they're properly > > > cooked to perfection, proper dumplings, should not bounce." > > > > > > > > > > > >-- > > >To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > >For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > -- > To unsubscribe, e-mail: > <mailto:tomcat-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>