Thank you very much. I think the cgi module is lower effecient. I found fcgi(http://www.dsource.org/projects/fastcgi4d) andmango(http://www.dsource.org/projects/mango) which support servlet. But they don't support D2, anyone else can merge them to D2?
Why don't you port them yourself?