the following makes a nice addition to SnoopServlet:
Properties sp = System.getProperties();
out.println("<p><h1>System properties:</h1><pre> ");
sp.list(out);
out.println("</pre>");
John Zerbe - Mellon Bank
IM&R - Middleware Team
Phone: 412-234-1048 E-Mail:[EMAIL PROTECTED]
> -----Original Message-----
> From: Ana.C.Pino [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, September 29, 1999 12:26 PM
> To: [EMAIL PROTECTED]
> Subject: Re: What is the current directory in servlet code?
>
> Create a file in the servlet code and then do a find files in the
> computer.
> It's simple and it works :)
>
> Ana
>
> > -----Original Message-----
> > From: Xizhen Wang [SMTP:[EMAIL PROTECTED]]
> > Sent: Wednesday, September 29, 1999 3:48 AM
> > To: [EMAIL PROTECTED]
> > Subject: What is the current directory in servlet code?
> >
> > hi! all,
> >
> > I want to know What is the current directory in servlet code? It seems
> > that it is not the directory where the servlet files are located. Can
> > anyone help me?
> >
> > Thank you!
> >
> > Xizhen
> >
> >
> __________________________________________________________________________
> > _
> > 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
___________________________________________________________________________
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