• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem in jre1.5 with IE Browser

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using jdk1.5 for my application. It has compiled properly & is also running from appletviewer properly. But when I make a jar of it & try to load the applet thr' the browser which uses the jre1.5, it tells me applet notinited.
Can anyone plz help me out & suggest that what should I do to load the applet thr' the browser.

Your help will be appreciated.

Thanx.

Regards,
- Neha
[ November 26, 2004: Message edited by: Neha D ]
 
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
add a correct applet plug-in to your applet tag.

May be the browser is compatible for 1.4 applet.

I hv given the sample code here.check with this.u hv to change where ever it is applicable.


<!--"CONVERTED_APPLET"-->
<!-- CONVERTER VERSION 1.0 -->
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = 500 HEIGHT = 50 codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
<PARAM NAME = CODE VALUE = xyz.class >
<PARAM NAME = ARCHIVE VALUE = "xyz.jar" >

<PARAM NAME="type" VALUE="application/x-java-applet;jpi-version=1.4">
<COMMENT>
<EMBED type="application/x-java-applet;version=1.3" java_CODE = xyz.class java_ARCHIVE = "xyz.jar" WIDTH = 500 HEIGHT = 50 pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html">
<NOEMBED>alt="Your browser understands the <APPLET>
tag but isn't running the applet, for some reason."
Your browser is completely ignoring the <APPLET> tag!</COMMENT>
</NOEMBED>
</EMBED>
</OBJECT>
<!--
<APPLET CODE = xyz.class ARCHIVE = "xyz.jar" WIDTH = 500 HEIGHT = 50 >

</APPLET>
-->
<!--"END_CONVERTED_APPLET"-->
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to the Applet forum...
 
Neha D
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Puthriah,

Thanx for the code. But I have the same code. Now the problem is that I am able to load the applet some times & sometimes it is not allowing me to load it.
When it is loaded it shows me the sign in screen. After I enter my login it shows me all the other screens properly. But for all operations it gives me ***** Failure ****** Invalid Session. Please logoff & logon. And in logs it is showing me as No session present.

The browser is using jre 1.4 as well as jre 1.5 accordingly. It takes this jre version properly but for both these versions initially it says Applet notinited & gives the same exceptions as Applet tag missing CODE parameter.

Can you plz suggest as to why is this happening??

Thanx.

Regards,
- Neha.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic