[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: servlets trouble RemoteDatabase
On Wed, 08 Mar 2000, you wrote:
> Hi ,
>
> i am trying to incorporate the XML sample into a servlet.
> i have the folowing problem i can create a RemoteDatabase varialbe
> but i can't initialise it (eq db = new RemoteDatabase()).
> i am running ozone 0.3.2
> het is a sample of the code:
>
> import org.w3c.dom.*;
> import org.ozoneDB.*;
> import org.ozoneDB.xml.util.*;
>
> public class XMLServer
> extends HttpServlet
> {
> RemoteDatabase database ;
> public void init(ServletConfig config)
> throws ServletException
> {
> database = new RemoteDatabase();
> }
> }
>
> the strange thing is that in the ozone source 0.4-dev4
> the Construtor does nothing.
> if i remove the new RemoteDatabase(); but leave
> RemoteDatabase database the servlet wil work
>
> could someone help?
The RemoteDatabase does nothing - in version 0.3.2 and 0.4. What does this
mean, you can't initialize the variable? What happens exactly?
Falko
--
______________________________________________________________________
Falko Braeutigam mailto:falko@softwarebuero.de
softwarebuero m&b (SMB) http://www.softwarebuero.de