This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have an applet loaded by a servlet from my main web server. This applet has to load an image from my another web server. I know that applet loaded by one web server cannot access resources from other web servers. And I cannot put signed applet signed by a certificating authority. What way can I load the image ? Thanks in advance.
You can use a server application, like a servlet, on your main web server to act as a proxy. Your applet contacts the main web server, the main web server downloads the image and returns it with the applet's request. Your applet never leaves the sandbox so its happy. The server is an application so it can do whatever it wants.