Re: Using JAXB with tomcat

2008-11-12 Thread Rafael Cunha de Almeida
On Wed, 12 Nov 2008 09:09:01 +0100 <[EMAIL PROTECTED]> wrote: > I am not sure if this works and it is probably not a nice solution, but maybe > you can do something like > > BoOcorrenciaPolicial bo = (BoOcorrenciaPolicial) > unmarshaller.unmarshal(new File(XML_DIR + id + ".xml"));

RE: Using JAXB with tomcat

2008-11-12 Thread Torsten.Romer
rs@tomcat.apache.org Subject: Using JAXB with tomcat I have been trying to use JAXB with tomcat, but I have been have some problems. I began trying to use the following class loader: this.getClass().getClassLoader() That didn't work. I don't actually understand much about t

Using JAXB with tomcat

2008-11-11 Thread Rafael Cunha de Almeida
I have been trying to use JAXB with tomcat, but I have been have some problems. I began trying to use the following class loader: this.getClass().getClassLoader() That didn't work. I don't actually understand much about those class loader things. So I browsed the Internet for a solution a