Hi, Does anyone know if it is possible to deploy the xmlbeans jar file as part of a JSP web application using Tomcat? I receive the following exception from tomcat:
org.apache.jasper.JasperException: /premis.jsp(1,1) The value for the useBean class attribute gov.loc.standards.premis.PremisDocument is invalid. JSP requires that I specify the package followed by the public class that I wish to use. So, assuming the package was com.test and the class was TestBean.class I would include the following: <jsp:useBean id="theBean" class="com.test.TestBean"/> With my xmlbean, I have identified the package, gov.loc.standards.premis, and what I believe is the root element, PremisDocument. <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. I'm new to tomcat, so not sure if deploying the xmlbean would be possible anyway, especially considering the dependencies on the org.apache.xmlbeans class, but would appreciate any ideas to solve this. Alternatively, if anyone's aware that this isn't possible could someone point that out so I can move on! Thanks very much, Adam -- Adam Rusbridge DCC Development HATII, University of Glasgow, Scotland Tel: +44 (0)141 330 8591 Email: [EMAIL PROTECTED] Web: www.dcc.ac.uk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

