-
QWebView
Can QWebView be used to load local jsp pages? I have tried and it seems that it can only load local html files, but not jsp pages.
this doesn't work
ui->webView->load(QUrl("qrc:/testhtml/test.jsp"));
this works.
ui->webView->load(QUrl("qrc:/testhtml/test.html"));
-
Re: QWebView
usually a browser cannot interpret jsp files as html files.. but the tomcat or any other servver will convert those jsp codes into relevant html files so that the browser can display.. But I think atleast this code will try to save it as jsp files itself.. if downloading a file can be done using the load method..