Well, I added @WebServlet to my Hessian servlet implementation, and making a
GET request results in the expected Hessian Requires POST response. But
when my client accesses it properly, the response is empty, and there's no
evidence that my actual implementation is being called.
Is it possible to use @WebServlet on something that inherits from HttpServlet?
That should be possible. I just tested with the following:
package qa;
import java.io.*;
import javax.servlet.annotation.*;
import com.caucho.hessian.server.*;
@WebServlet(webservlet)
public class MyBean extends HessianServlet {
public String hit(InputStream is)
throws IOException
{
StringBuilder sb = new StringBuilder();
int ch;
sb.append([);
while ((ch = is.read()) = 0) {
sb.append((char) ch);
}
sb.append(]);
return sb.toString();
}
}
Have you tried with the finer the logging level?
Alex
--
Rick
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest