Search Results

Search found 4 results on 1 pages for 'deepthinker121'.

Page 1/1 | 1 

  • How to change eclipse plugin's default parent-first classloader policy to child-first classloader po

    - by deepthinker121
    Hi All, I want to change the behavior of eclipse's parent-first classloader policy to child-first classloader policy. The scenario would be : Plugin A has class C in dependent external jar. When the classloader of the jar looks for "META-INF" folder - it should find the META-INF folder of the jar and not the one found by its parent classloader - that is the plugin A's META-INF folder. So I want to change the classloader policy to 'child-first' rather than 'parent-first' Is it possible to do this by changing the plugin A's Manifest or plugin.xml?

    Read the article

  • eclise java internal webbrowser progress listener?

    - by deepthinker121
    Hi All, I need to open an internal web browser from a custom eclipse wizard I have created - and so I am using IWebBrowser webBrowser = browser.createBrowser (IWorkbenchBrowserSupport.LOCATION_BAR | IWorkbenchBrowserSupport.AS_EDITOR | IWorkbenchBrowserSupport.NAVIGATION_BAR | IWorkbenchBrowserSupport.STATUS, null,"TestBrowser", "TestBrowser"); URL url = new URL("http://localhost:8080/app"); webBrowser.openURL(url); Now the problem is - the openURL needs time to complete as it tries to load a page for a webapp and as I am not able to get the progress of the 'load page' operation of the URL - my wizard progressmonitor completes before the URL can be completely loaded . Is there any way to get the status of the page load operation - (to check if its complete or it failed) or add a listener to indicate completion of page load? It is okay for me to use some other implementations of internal web browsers - so please suggest some other approach we cannot add a listener to IWebBrowser.. Thanks for ur help !!

    Read the article

  • How to get the file name for <input type="file" in jsp

    - by deepthinker121
    I want to read the file path from html input type="file" (the entry selected in the file dialog by the user) <script> function OpenFileDialog(form) { var a = document.getElementById("inputfile").click(); SampleForm.filePath.value = //set the path here document.SampleForm.submit(); } </script> <form name="SampleForm" action="TestServlet" method="get"> <input type="file" style="display:none;" id="inputfile"/> <a href="javascript:OpenFileDialog(this.form);">Open here</a> <input type="hidden" name="filePath" value=""/> </form> I want the path of the selected file to be read in my Servlet class How do I get the file path? Can I read it from var a? Or is there any way to directly access the file path from the input type="file" from my servlet?

    Read the article

  • In html <a href> tag, how to call servlet before opening file dialog for download (save as)?

    - by deepthinker121
    Hi All, I am developing a web-app where I want to provide a download link to users - so they can download a zip file from my server. Now, my requirement is that I want to execute some processing logic contained in a servlet before displaying the file dialog to the user for 'zip' files. So If I write <a href="abc.zip".......> then it opens a file dialog asking the user to select the location where this file can be saved But if I want a servlet's doGet method to do some preprocessing - say like building the zip file , then how can I first call the servlet and then open the file dialog. Will the following snippet work? <a href="MyHandlerServlet;abc.zip".......> Thanks for your help !!

    Read the article

1