• 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Applet not loaded in jsp  RSS feed

 
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 Redhat VI Editor
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!