[Cosmo-dev] servlet working with caldav requests
Lisa Dusseault
lisa at osafoundation.org
Wed Mar 22 13:26:21 PST 2006
Hi,
To extend Java Servlets to handle new Methods, like MKCALENDAR and
REPORT, you have to go more basic than using "doPut" and "doGet"
methods. We did a custom implementation of the "service" method and
then manually checked to see if the method was MKCALENDAR or REPORT,
then dispatched to one of our own methods to handle the specific method.
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/
Servlet.html#service(javax.servlet.ServletRequest,%
20javax.servlet.ServletResponse)
Lisa
On Mar 22, 2006, at 3:03 PM, jirina wrote:
> Goog day, my name is George and Im student of IT, and I found out,
> that you developed calendar applications supporting CalDAV
> (Chandler, Cosmo..). So I would like to ask, if you could give me
> some advice about implementation, because my disertation work is to
> create simple calendar server based on CalDAV protocol, but I have
> never found how to implement it.
>
> I write it in java (servlet) and my question is how could I start,
> of course I dont ask about how to write it whole, but how create
> simple "hello world" aplication, which could recognize the most
> basic caldav request. Problem is, that I've read lot of about
> caldav protocol, and looked to many apps like Hula, Bedework, UW
> Calendar, or testing Chandler and Cosmo, but I have never found,
> for example how should I work with servlet container to recognize
> some caldav request like MKCALENDAR or REPORT.
>
> So, could you tell me please, how to extend webdavServlet (on
> tomcat) to accept also caldav requests, or if the solution could I
> found in Slide project and caldav4j (or jZanshin if exist:) library
> or some other useful API.
>
> If you know how to start with caldav server, or if you have some
> useful links or somethig else I would be very grateful to you.
>
> Thanks very much, Jiri (George)
>
> _______________________________________________
> cosmo-dev mailing list
> cosmo-dev at lists.osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/cosmo-dev
More information about the cosmo-dev
mailing list