return xwidgets resources from servlet