Adam Rusbridge wrote: ><jsp:useBean id="theBean" class="gov.loc.standards.premis.PremisDocument"/> > >However, this seems to declare the interface rather than the class, and >if I understand correctly, there is no xmlbean constructor of that name >taking no arguments. Is this correct? I think that tomcat maybe requires >the class and constructor to be present. > > > It is not tomcat, it is the jsp spec which requires classes to respect the Bean features which is not the case for XMLBean (neither interface or implementation if I remember correctly) .....
You probably need to extend the implementation with the required constructor calling the right create method of the factory (which is a class of the interface) or maybe is there a way to modify the servlet to call a Factory ( I doubt but it may be interesting ....) Alternatively you can develop a dedicated tag library for that purpose (maybe it does already exist) it is propbably the cleaner way to do it jc --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

