Hello,  I'm wondering if there's a way to put a JSP file in the slide WebDav
system so I can control the web interface to the Dav system.

For example, I want to put a index.jsp file into the /users folder so when
an administrator accesses that folder from a web browser then he will be
presented with an HTML administrative view.  This way I can prevent folder
browsing, use slide ACL's for access control to the JSP and add my logic to
the administration of that folder.

Right now when I attempt to "put" a JSP file into slide I get the output
contained at the end of this message.  It looks like the problem in the
output is related to a configuration of the JspEngine.  Meaning the "put"
fires the hook into the JspEngine and the JspEngine attempts to handle the
request.  This isn't that big of a deal since it's probably a good thing.
In that it prevents a hacker from uploading a volatile JSP into the Dav
system.

So can you tell me how I can implement the functionality I stated above?

On a second note, as you know, right now the slide webdav/manager servlet(s)
just display a directory listing to HTML clients.  How can I override that
behavior?  I've looked at the webdav servlet source and the WebDav directory
listing HTML code is generated from there.  Do I need to write my own webdav
servlet to eliminate the directory browsing?  Is there a better way?

Regards,
Matt

Ctx( /slide ): 404 R( /slide + /courses/Intro To Word/index.jsp + null) JSP
file not found
2001-06-26 10:52:43 - JspEngine --> /courses/Intro To Word/index.jsp
2001-06-26 10:52:43 -       ServletPath: /courses/Intro To Word/index.jsp
2001-06-26 10:52:43 -          PathInfo: null
2001-06-26 10:52:43 -          RealPath: C:\JCafe\slide\courses\Intro To
Word\index.jsp
2001-06-26 10:52:43 -        RequestURI:
/slide/courses/Intro%20To%20Word/index.jsp
2001-06-26 10:52:43 -       QueryString: null
Ctx( /slide ): 404 R( /slide + /courses/Intro To Word/index.jsp + null) JSP
file not found
2001-06-26 10:52:43 -    Request Params:
2001-06-26 10:52:43 - Classpath according to the init parameter is:
2001-06-26 10:52:44 - JspEngine --> /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -       ServletPath: /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -          PathInfo: null
2001-06-26 10:52:44 -          RealPath: C:\JCafe\slide\courses\Intro To
Word\index.jsp
Ctx( /slide ): 404 R( /slide + /courses/Intro To Word/index.jsp + null) JSP
file not found
Ctx( /slide ): 404 R( /slide + /courses/Intro To Word/index.jsp + null) JSP
file not found
26 Jun 2001 22:52:44 - INFO - OPTIONS (time: 10 ms) URI = /courses/Intro To
Word
Ctx( /slide ): 404 R( /slide + /courses/Intro To Word/index.jsp + null) JSP
file not found2001-06-26 10:52:44 -        RequestURI:
/slide/courses/Intro%20To%20Word/index.jsp
2001-06-26 10:52:44 -       QueryString: null
2001-06-26 10:52:44 -    Request Params:
2001-06-26 10:52:44 - Classpath according to the init parameter is:
2001-06-26 10:52:44 - JspEngine --> /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -       ServletPath: /courses/Intro To Word/index.jsp

Ctx( /slide ): 404 R( /slide + /courses/Intro To Word/index.jsp + null) JSP
file not found
Ctx( /slide ): 404 R( /slide + /courses/Intro To Word/index.jsp + null) JSP
file not found
Ctx( /slide ): 404 R( /slide + /courses/Intro To Word/index.jsp + null) JSP
file not found
26 Jun 2001 22:52:44 - INFO - OPTIONS (time: 10 ms) URI = /courses/Intro To
Word2001-06-26 10:52:44 -          PathInfo: null
2001-06-26 10:52:44 -          RealPath: C:\JCafe\slide\courses\Intro To
Word\index.jsp
2001-06-26 10:52:44 -        RequestURI:
/slide/courses/Intro%20To%20Word/index.jsp
2001-06-26 10:52:44 -       QueryString: null
2001-06-26 10:52:44 -    Request Params:
2001-06-26 10:52:44 - Classpath according to the init parameter is:

Ctx( /slide ): 404 R( /slide + /courses/Intro To Word/index.jsp + null) JSP
file not found
2001-06-26 10:52:44 - JspEngine --> /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -       ServletPath: /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -          PathInfo: null
2001-06-26 10:52:44 -          RealPath: C:\JCafe\slide\courses\Intro To
Word\index.jsp
2001-06-26 10:52:44 -        RequestURI:
/slide/courses/Intro%20To%20Word/index.jsp
2001-06-26 10:52:44 -       QueryString: null
2001-06-26 10:52:44 -    Request Params:
2001-06-26 10:52:44 - Classpath according to the init parameter is:
2001-06-26 10:52:44 - JspEngine --> /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -       ServletPath: /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -          PathInfo: null
2001-06-26 10:52:44 -          RealPath: C:\JCafe\slide\courses\Intro To
Word\index.jsp
2001-06-26 10:52:44 -        RequestURI:
/slide/courses/Intro%20To%20Word/index.jsp
2001-06-26 10:52:44 -       QueryString: null
2001-06-26 10:52:44 -    Request Params:
2001-06-26 10:52:44 - Classpath according to the init parameter is:
2001-06-26 10:52:44 - JspEngine --> /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -       ServletPath: /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -          PathInfo: null
2001-06-26 10:52:44 -          RealPath: C:\JCafe\slide\courses\Intro To
Word\index.jsp
2001-06-26 10:52:44 -        RequestURI:
/slide/courses/Intro%20To%20Word/index.jsp
2001-06-26 10:52:44 -       QueryString: null
2001-06-26 10:52:44 -    Request Params:
2001-06-26 10:52:44 - Classpath according to the init parameter is:
2001-06-26 10:52:44 - JspEngine --> /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -       ServletPath: /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -          PathInfo: null
2001-06-26 10:52:44 -          RealPath: C:\JCafe\slide\courses\Intro To
Word\index.jsp
2001-06-26 10:52:44 -        RequestURI:
/slide/courses/Intro%20To%20Word/index.jsp
2001-06-26 10:52:44 -       QueryString: null
2001-06-26 10:52:44 -    Request Params:
2001-06-26 10:52:44 - Classpath according to the init parameter is:
2001-06-26 10:52:44 - JspEngine --> /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -       ServletPath: /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -          PathInfo: null
2001-06-26 10:52:44 -          RealPath: C:\JCafe\slide\courses\Intro To
Word\index.jsp
2001-06-26 10:52:44 -        RequestURI:
/slide/courses/Intro%20To%20Word/index.jsp
2001-06-26 10:52:44 -       QueryString: null
2001-06-26 10:52:44 -    Request Params:
2001-06-26 10:52:44 - Classpath according to the init parameter is:
2001-06-26 10:52:44 - JspEngine --> /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -       ServletPath: /courses/Intro To Word/index.jsp
2001-06-26 10:52:44 -          PathInfo: null
2001-06-26 10:52:44 -          RealPath: C:\JCafe\slide\courses\Intro To
Word\index.jsp
2001-06-26 10:52:44 -        RequestURI:
/slide/courses/Intro%20To%20Word/index.jsp
2001-06-26 10:52:44 -       QueryString: null
2001-06-26 10:52:44 -    Request Params:
2001-06-26 10:52:44 - Classpath according to the init parameter is:




Reply via email to