473,403 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Problem in using Java applets inside .aspx page

I am working in c#.net (2.0 version).I am calling a ajava applet code inside my .aspx page. the code is below

Expand|Select|Wrap|Line Numbers
  1. <APPLET  code="com.crc.console.ConsoleApplet.class" archive="../nbr/crc-signed.jar"  width = "100%" height = "100%" VIEWASTEXT></XMP>
  2. <param name="CODE" value="com.crc.console.ConsoleApplet.class" />
  3. <param name="ARCHIVE" value="crc-signed.jar" />
  4. <param name="type" value="application/x-java-applet;version=1.5.0" />
  5. <param name="scriptable" value="false" />
  6. <param name="isAutoLogin" value="true" />
  7. <param name="user" value="<%=username%>" />
  8. <param name="pass" value="<%=password%>" />
  9. <% if (left(CUSTNAME, 2) = "S-")
  10.    {%>
  11.       <param name="server" value="XXX.XXX.XXX" />
  12.       <%} %>
  13. <% else
  14.     {%>
  15.       <param name="server" value="XXX.XXX.XXX" />
  16. <% } %>
  17. </APPLET>

the above code works fine with a .asp page and when i used the same in .aspx page it shows the error in FILE attribute of applet saying 'File com.crc.console.ConsoleApplet.class cannot be found'.Can anyone help me here.Thank You
Oct 18 '07 #1
4 3749
RedSon
5,000 Expert 4TB
As a member, you should know that we expect your code to be posted in [code] tags (See How to Ask a Question).

This makes it easier for our Experts to read and understand it. Failing to do so creates extra work for the moderators, thus wasting resources, otherwise available to answer the members' questions.

Please use the tags in future.

MODERATOR.
Oct 18 '07 #2
I have given the code in the above post


As a member, you should know that we expect your code to be posted in [code] tags (See How to Ask a Question).

This makes it easier for our Experts to read and understand it. Failing to do so creates extra work for the moderators, thus wasting resources, otherwise available to answer the members' questions.

Please use the tags in future.

MODERATOR.
Oct 18 '07 #3
RedSon
5,000 Expert 4TB
I have given the code in the above post
Yes I see that, but you did not put your code inside of [code] tags. I added the [code] tags in after the fact.
Oct 18 '07 #4
Thank You. I will surely follow this in future

Yes I see that, but you did not put your code inside of [code] tags. I added the [code] tags in after the fact.
Oct 18 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Rick | last post by:
Hi, I'm having problems with Java applets. I just generated a JApplet (also tried normal Applet) in Netbeans which is delivered with the newest JDK. When I compile it in Netbeans it seems to...
0
by: Rami | last post by:
Hello All, We have a java application including applets, servlets and ejbs. Users can get reports and print them directly from applets. Our print methods uses PrinterJob and Graphics2d, imports...
2
by: dxben | last post by:
I am considering a situation where I have (n) number of form windows, each with an instance of the Microsoft Web Browser Control (IE) on each form. In each web browser control is an HTML page that...
12
by: Wladimir Borsov | last post by:
On one of my web pages there is an java applets which works fine on my computer. However I noticed on some other computer that the run of java applets are disabled. I got an error message...
2
by: erik | last post by:
I'm working on a project which will test users abilities to guess a series of randomly generated pitches. The users need to be able to access the program via the web and the results will either be...
7
by: Mario | last post by:
I've been reading some Sun Java articles where they say Applets cannot import dlls and cannot write to disk. (This does NOT apply to applications, only to Applets.) Supposedly, this is NOT...
30
by: marc | last post by:
>From the book I am using as a reference I understood that applet tag was deprecated, but googling for information, and testing myself, it seems IE does not work properly with this new object tag....
14
by: Rene Grothmann | last post by:
I have managed to communicate between forms and Java applets. A button press sends the content of the text area to an applet, a second button gets some text from the applet and puts it into the...
2
by: JohnLorac | last post by:
Hello, I'm trying to load and write file on local disc drive using signed javascript file. But I have experienced problem running this url: ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.