Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Sir i have created an application similar to notepad...
I want to make it available on a webpage ....
By using HTML i have inserted the .class file and.jar file into it ,but it showing an error on that page



CSS
Java Plug-in 10.4.1.255
Using JRE version 1.7.0_04-b20 Java HotSpot(TM) Client VM
User home directory = C:\Users\acer
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------








plz help me sirrrrr


I have made the same code ,but the same errors are occoring....
@

EDIT:
The html code is like thissss...
HTML
<html>
<title>The Hello, World Applet</title>
<hr>
<applet code=pedit.class name=NameOfApplet archive=pedit.jar
	width=300 height=300>
	Your browser is not Java enabled.
</applet>
<hr>
</html></hr></hr>
Posted
Updated 8-May-12 1:16am
v5

How to Add Java™ Applets to Your Site[^]

follow that tutorial. And tell us more about the errors you get if it is not working.

EDIT:
You are missing the body tags - that might be the problem. Is your jar a Applet?
 
Share this answer
 
Comments
gowthamreddy 8-May-12 10:50am    
no sir its note a applet.... its like notepad application.....
TorstenH. 9-May-12 0:47am    
So it is a regular Java Application. How is this supposed to run on a website??

You can use JSF, Applets or other Java related technologies like Adobe Flex to run in websites, but not a Java Application.
Please rethink your concept. You should have a requirement evaluation phase before you start programming. IN that phase you have not just to detail what you application can do / not do but also to make sure the tools you are using are correct.

How complex is the application? any change to set it up in another way so it can run on a website? do you need it to run on a website? or was that just "an idea"??
no sr its just like a notepad application file ......
Plzz help me sirr
 
Share this answer
 
Comments
gowthamreddy 8-May-12 15:02pm    
sir plzz help
I am getting these kind of runtime exception.
java.lang.reflect.InvocationTargetException...
How to eliminate these exceptions...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900