aspose file tools*
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
JavaRanch » Java Forums » Java » JSP
Bookmark "Applet not loaded in jsp" Watch "Applet not loaded in jsp" New topic
Author

Applet not loaded in jsp

Binny Tulabandu
Greenhorn

Joined: Jul 05, 2008
Posts: 1
Hi

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 tag.so the condition that i wrote in jsp:plug is not satisfied i think.
pl.help me how to check this.

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



<jsp:plugin
type="applet"
code="com.dcx.mpi.mdos.applet.XmlTableApplet.class"
codebase="/pages"
archive="/mdos/pages/mdos-applet.jar,/mdos/pages/aelfred.jar"
jreversion="1.4"
align="center" width="10" height="10">

<jsp:params>

<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:params>

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

</jsp:plugin>


Thanks&Adavance
binny
Ben Souther
Sheriff

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.

-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applet not loaded in jsp