Oh yeah it was a quick start ...

Thanks loadz



James Carman-3 wrote:
> 
> You don't have to.  It was already in a package.  I opened up the
> class file to see the package declaration and it was declared to be in
> package com.mycompany for some reason (perhaps a quickstart?)
> 
> On Mon, Dec 21, 2009 at 10:08 AM, local_shamil <shaena...@gmail.com>
> wrote:
>>
>> Yeah it worked !!! thanks alot every 1 ...
>>
>> and what might be the reason for this. ? why do v have to insert the
>> applet.class file inside a package ??
>>
>>
>> James Carman-3 wrote:
>>>
>>> You need to make sure your HelloWorld.class file is in
>>> src/main/webapp/com/mycompany
>>>
>>>
>>> On Mon, Dec 21, 2009 at 9:13 AM, local_shamil <shaena...@gmail.com>
>>> wrote:
>>>>
>>>> this was my applet tag in HTML
>>>>
>>>> <applet code="HelloWorld.class" width=150 height=25 />
>>>>
>>>> and i had it as this
>>>>
>>>> <applet code="com.mycompany.HelloWorld" width=150 height=25 />
>>>>
>>>> still i get the NOCLASS FOUND EXCEPTION
>>>>
>>>>
>>>>
>>>>
>>>> James Carman-3 wrote:
>>>>>
>>>>> Try using the correct package:
>>>>>
>>>>> code="com.mycompany.HelloWorld"
>>>>>
>>>>> On Mon, Dec 21, 2009 at 6:13 AM, local_shamil <shaena...@gmail.com>
>>>>> wrote:
>>>>>>
>>>>>> -----------------------
>>>>>> load: class /myproject/src/main/webapp/Class/HelloWorld not found.
>>>>>> java.lang.ClassNotFoundException:
>>>>>> .myproject.src.main.webapp.Class.HelloWorld
>>>>>>        at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown
>>>>>> Source)
>>>>>>        at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>>>        at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>>>        at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown
>>>>>> Source)
>>>>>>        at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown
>>>>>> Source)
>>>>>>        at
>>>>>> sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
>>>>>> Source)
>>>>>>        at java.lang.Thread.run(Unknown Source)
>>>>>> Caused by: java.io.IOException: open HTTP connection
>>>>>> failed:http://localhost:8080/myproject/src/main/webapp/Class/HelloWorld.class
>>>>>>        at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown
>>>>>> Source)
>>>>>>        at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown
>>>>>> Source)
>>>>>>        at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
>>>>>>        at java.security.AccessController.doPrivileged(Native Method)
>>>>>>        ... 7 more
>>>>>> Exception: java.lang.ClassNotFoundException:
>>>>>> .myproject.src.main.webapp.Class.HelloWorld
>>>>>>
>>>>>>
>>>>>>
>>>>>> local_shamil wrote:
>>>>>>>
>>>>>>> should i create a package under WEBAPP called Class and then add the
>>>>>>> applet.class file there .... ???
>>>>>>>
>>>>>>>
>>>>>>> but still i am getting a NOCLASSFOUND exception ...
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://old.nabble.com/applet-in-wicket-..-exception-thrown-...-tp26814020p26872593.html
>>>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/applet-in-wicket-..-exception-thrown-...-tp26814020p26874469.html
>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/applet-in-wicket-..-exception-thrown-...-tp26814020p26875243.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/applet-in-wicket-..-exception-thrown-...-tp26814020p26875304.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to