• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Applet not loaded in jsp

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Space pants. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic