• Sábado 21 de Septiembre de 2024, 11:44

Autor Tema:  Applet con J2EE en Netbeans  (Leído 1084 veces)

m_mandrake

  • Nuevo Miembro
  • *
  • Mensajes: 1
    • Ver Perfil
Applet con J2EE en Netbeans
« en: Lunes 8 de Noviembre de 2010, 15:11 »
0
Estoy usando el J2EE, Por favor alguien podría explicarme, como puedo abrir un simple applet que dice el clásico "Hola Mundo", el que cree no se habré en el explorador, donde debo de crear el applet y como lo llamo, ya use código HTML, jsp, EJB y nada  :hitcomp: .

No se si pese por alto alguna configuración ya que incluso en el index.jsp puse el codigo:

<applet height="600" width="600" code="test.applet" />

Agradecería mucho si me pasaran un proyecto ejemplo con un "Hola mundo"   :( , pero en NetBeans, estoy utilizando el glassfishv3.

saludos a todos :)

I'm using netbeans for developing.
I'm trying to include a applet in my netbeans proyect but the netbeans IDE compile/save the classes in WAR/WEB-INF/classes and that folder it's not public, so i can't call my applet from my index.jsp.
If i move the class file to the root of the WAR it works but the imports for mi ejbs are broken.(Because they're in /WEB-INF/lib)
I've also tried to create a separate proyect for the applet and packaging all in a EAR package (with a simple ejb too) and it's not working either.

What i need is if anyone can tell me how to call my packaged applet from my index.jsp
I know including applets in html with <applet> tag but i cannot resolve the correct path to my applet, or if i have to modify my proyect.

  :brickwall:  :brickwall:  :brickwall:  :brickwall:  :brickwall:  :brickwall:  :(  :(  :(  :(  :(  :(  :(  :(  :(  :(