Let me clarify what it is I'm trying to do. My servlet tells the browser I'm
sending xml content, then it sends <?xml version="1.0"?> then it sends it
<!DOCTYPE <xxxx> SYSTEM "xxxxx.dtd"> this is where the browser barfs, it
can't find the xxxx.dtd file. I've placed the DTD file in the same
directory as the servlet. (?) I don't know where I need to put it. Thanks
----- Original Message -----
From: "Mikhail A.Golovanov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 29, 2000 4:07 PM
Subject: Re: Problem calling DTD file from servlet in JSDK
> Why do you force the servlet engine to serve static files? It can't do
that.
> Use http://localhost/filename> instead. You have the http server still
fully
> functional.
>
> > -----Original Message-----
> > From: A mailing list for discussion about Sun Microsystem's Java
> > Servlet API Technology. [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Marcus S. Fisher
> > Sent: Tuesday, March 28, 2000 8:46 AM
> > To: [EMAIL PROTECTED]
> > Subject: Problem calling DTD file from servlet in JSDK
> >
> >
> > I have installed JSDK on my pc to test my servlets (of course :) )
anyway,
> > The servlet I'm testing is filtering back to the browser XML code,
however
> > when the servlet tells the browser that the DTD file is located on
> > "http://localhost:8080/<filename>" the browser can't access it. Do I
have
> > to send a parameter to servletrunner telling it where external
> > documents are
> > kept or am I missing something in my URL? Thanks for any help
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html