uriString = baseUrl + image.getUrl();
} else if(widget instanceof Video) {
Video video = (Video) widget;
uriString = baseUrl + video.getUrl();
} else if(widget instanceof Webview) {
Webview webview = (Webview) widget;
uriString = baseUrl + webview.getUrl();
} else {
if(widget==null) {
throw new ServletException("Widget '" + widgetId + "' could not be found!");
} else {
throw new ServletException("Widget type '" + widget.getClass().getName() + "' is not supported!");