File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Applet not loaded in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Applet not loaded in jsp" Watch "Applet not loaded in jsp" New topic

Applet not loaded in jsp

Binny Tulabandu

Joined: Jul 05, 2008
Posts: 1

The below code is present in my jsp for loading applet.
In my jsp there is a link and when we click on the link applet should be loaded along with the data.

But i am getting empty applet with out any data inside.
Below is my code.

Actually when i debug, the control is going out of jsp:plug in the condition that i wrote in jsp:plug is not satisfied i think. me how to check this.

Is it browser problem can also be the reason for applet not loading?

align="center" width="10" height="10">


<jsp:param name="MAYSCRIPT" value="TRUE"/>

<jsp:param name="base-server-url" value="<%=baseURL%>" />

<jsp:param name="save-server-url" value="<%=saveURL%>" />

<jsp:param name="get-url" value="<%=baseURL%>" />


<jsp:fallback><p align="center">Unable to start Java Plug-in.</p></jsp:fallback>


Ben Souther

Joined: Dec 11, 2004
Posts: 13410

In the archive attribute of your jsp:plugin tag, are you adding the contextPath?

Our JSP FAQ contains two articles that explain the ins and outs of building links that are relative to the contextPath of a web application.
Give them a read and see if it helps.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Applet not loaded in jsp
jQuery in Action, 3rd edition