We have a functionality that consists of uploading attached files with a java servlet.
The way we are doing it is as follows:
ole_object_upload.object.connecttonewobject("InternetExplorer.Application")
ole_object_upload.object.Navigate(ls_url,0,4,lblobParam,lBlobHeader)
ole_object_upload.object.disconnectobject( )
Being ls_url the URL of the servlet, for example "https://xxxxxxxxxxxxxxxxxx", in the BLOB field we send the attached file.
Using 'ole_browser' object of type 'Microsof Web Browser' and Internet Explorer as web browser works fine. However, we disabled Internet Explorer and set Edge web browser as default browser and with IE Compatibility Mode on it doesn't work for us, but it also doesn't give us any errors that we can see, just the document doesn't get attached.
In the software, we have tried to change the following when connecting, but it doesn't work either:
ole_object_upload.object.connecttonewobject("Edge.Application")
Could you tell us if there is any other way to do it?
Thanks.