Jayadiva wrote:
> ...static xsl document in the same directory where the servlet
> is there when i am trying to execute that servlet it is
> giving error like this Access is denied.
> out.println("<?xml:stylesheet type=\"text/xsl\"
> href=\"file:///c:/servlets/test.xsl\"?>");
Access *should* be denied to this file. It's a security violation to
allow a web client access to your drives as if it were a local machine.
Try putting the .xsl file in the root directory of your web server
(/htdocs, or whatever), and access it with a relative URL the way you
would with any html doc...
--
Within C++ is a smaller, cleaner language
struggling to get out.
It's called Java.
Thomas Moore
[EMAIL PROTECTED] Home Account
Software.Engineer [EMAIL PROTECTED]
phone://732.462.1880:268 NJ Patterns Group Home Page
employer://Celwave, RF http://members.home.net/twmoore/cjpg
___________________________________________________________________________
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