Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Wrap a webDAV Filter around a servlet  RSS feed

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there.
We have an application that delivers files (e.g. MS-Office) through a servlet. The servlet's post method would allow to take back the file encoded in a html form (in a file input control). However Office only would do WebDAV. So I thought why not wrap our servlet into a filter.
So two questions:
a) can a filter support more methods (webDAV does more e.g. PUT, MKCOL, LOCK etc.) that the underlying servlet?
b) If a is yes. Can I map the filter's methods to the respective servlet method by altering the request (or any other means).
:-? stw
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!