开发者

Replace Java applet loader image

I have a JSP page like this.

<jsp:plugin type="applet" codebase="." code="ViewerApplet.class" align="center" width="100%" height="600" jreversion="1.6" archive="icepdf-core.jar, icepdf-viewer.jar, icepdf-applet.jar">
    <jsp:params><br>
        <jsp:param  name="java_arguments" value="-Xmx128m" /><br/>
        <jsp:param name="classloader_cache" value="true" /><br/>
        <jsp:param name="url" value="<%=test%>" />
    </jsp:params>
    <j开发者_高级运维sp:fallback>
        <p>Unable to load applet</p>
    </jsp:fallback>
</jsp:plugin>

Before the applet get executed, I get a Java loader gif image. I want to replace that image with my own image. How can I do this?


See Special Attributes of Applets & the (poorly named) image parameter.


I'm not good at applets but a quick research shows that you need to put the code in the init() method of your ViewerApplet class.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜