By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
463,061 Members | 479 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 463,061 IT Pros & Developers. It's quick & easy.

Problem in using Java applets inside .aspx page

P: 14
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
Share this Question
Share on Google+
4 Replies

RedSon
Expert 5K+
P: 5,000
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

P: 14
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
Expert 5K+
P: 5,000
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

P: 14
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

Post your reply

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