Hola Borja,

El applet s� que puede acceder a archivos del disco duro del servidor, -en
realidad, qu� son los GIFs o las p�ginas Html? :)-

Lo que pasa es que solo puede acceder a aquellos situados en el directorio
virtual del servidor en el que se encuentra el applet, o en aquellos
directorios virtuales del servidor que tengan asignados permisos de
navegaci�n.

Yo, empleando objetos URL (m�todo URL.openStream() o algo as�, no lo
recuerdo ahora mismo)
he accedido a ficheros de texto del servidor.


> -----Mensaje original-----
> De: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]]En nombre de Borja Marcos Su�rez
> Enviado el: martes 5 de junio de 2001 11:01
> Para: [EMAIL PROTECTED]
> Asunto: Re: [JAVA3D] vrml97
>
>
> Spanish
> -----------
> Hola Dani,
>
> yo utilizo el vrml loader desde un applet y me funciona. �Has
> dado permisos al applet para acceder a ficheros? Puedes hacerlo
> firmando el applet o cambiando el java.security del JRE.
>
> No solo basta con generar el nombre del fichero como una url,
> sino que debes dar permisos al navegador para que pueda acceder
> al disco duro. Sino imaginate que cualquier applet pudiera
> acceder al disco duro, jeje ser�a un pel�n inseguro para todos.
>
> Un saludo.
>
> -------------------
>
> English
> ---------
> Hi Dani,
> I use vrml loader from an applet and it works fine. did you give
> permissions to the applet for file access? you can do it signing
> the applet or changing the java.security file of JRE.
>
>
> ----- Original Message -----
> From: "Daniel Moscoso" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 05, 2001 11:22 AM
> Subject: Re: [JAVA3D] vrml97
>
>
>
>
> Hi all !!
>
> First, congratulations for the creation of the j3d spanish group !!
>
> My question is about the VRML Loader. Have you tested it from
> applets ? It gives me an AccessControlException. Here's my code:
>
> - - -
>
> Hola a todos !!
>
> Para empezar, felicidades por la creaci�n del j3d Spanish group
> !! Perfecta iniciativa !!
>
> Tengo una pregunta sobre el VRML Loader. Lo habeis probado desde
> una applet ? Me da un AccessControlException aunque simule una
> URL con un fichero. Este es mi c�digo:
>
>
> >VrmlLoader f = new VrmlLoader();
> >Scene s = null;
> >try {
> >     s = f.load(new URL(getCodeBase(), "test.wrl"));
> >}
> >catch (FileNotFoundException e) {
> >     System.err.println(e);
> >     System.exit(1);
> >}
> >catch (ParsingErrorException e) {
> >     System.err.println(e);
> >     System.exit(1);
> >}
> >catch (IncorrectFormatException e) {
> >     System.err.println(e);
> >     System.exit(1);
>
> Thanks in advanced/ Gracias !!
>
> Dani
>
> ----------------------------------------------------
>
> Hi Marcos, I send yoy the file of the vrml97.
>
> Hola marcos, te mando el archivo de vrml97, solo debes
> colocarlo en el directorio en donde estan las demas
> clases de Java3D y listo..
>
> Saludos
>
> Elio
>
> --- Borja_Marcos_Su�rez <[EMAIL PROTECTED]>
> escribi�: > English
> > ---------
> > I cant find the vrml97 loader. Can someone give me
> > the address where I can download it?
> >
> > I have found the CyverVRML97 loader but It doesnt
> > work. In the web they say we only have to do:
> >
> >      VRML97Loader loader = new VRML97Loader();
> >      loader.load(filename);
> >      BranchGroup branchGroup =
> > loader.getBranchGroup();
> >      world.addSceneNode(branchGroup);
> >
> > When I execute this there is not error but anything
> > is loaded on my virtual universe. What is happening?
> >
> > If someone knows a vrml loader better than this
> > please tell me.
> >
> > thanks in advance.
> >
> > -----------------------------------
> > Spanish
> > ---------
> >
> > No consigo encontrar el loader vrml97. Puede alguien
> > darme una direcci�n donde bajarmelo?
> >
> > He encontrado el CyberVTML97 pero parece que no
> > funciona. Seg�n su especificaci�n lo �nico que hay
> > que hacer es:
> >
> >      VRML97Loader loader = new VRML97Loader();
> >      loader.load(filename);
> >      BranchGroup branchGroup =
> > loader.getBranchGroup();
> >      world.addSceneNode(branchGroup);
> >
> > Cuando ejecuto esto no se produce ningun error pero
> > no carga nada en el universo virtual. Me pod�is
> > decir que est� pasando?
> >
> > Si alguien conoce un loader par vrml mejor que este
> > dec�dmelo.
> >
> > Muchas gracias.
> >
> >
> ----------------------------------------------------------
> > Borja Marcos Su�rez
> > mail: [EMAIL PROTECTED]
> > icq: 41472800
> > msn: [EMAIL PROTECTED]
> >
> > Java 3D Spanish Group - http://lapagina.de/java3d
> > Lista de correo [EMAIL PROTECTED]
> >
> ----------------------------------------------------------
> >
> >
> ==================================================================
> =========
> > To unsubscribe, send email to [EMAIL PROTECTED]
> > and include in the body
> > of the message "signoff JAVA3D-INTEREST".  For
> > general help, send email to
> > [EMAIL PROTECTED] and include in the body of the
> > message "help".
>
>
> _________________________________________________________
> Do You Yahoo!?
> Obtenga su direcci�n de correo-e gratis @yahoo.com
> en http://correo.espanol.yahoo.com
> (See attached file: vrml97.jar)
>
>
>
>
>
> --
>
> Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder
> diese E-Mail irrt�mlich erhalten haben, informieren Sie bitte
> sofort den Absender und vernichten Sie diese Mail. Das unerlaubte
> Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
>
> This e-mail may contain confidential and/or privileged
> information. If you are not the intended recipient (or have
> received this e-mail in error) please notify the sender
> immediately and destroy this e-mail. Any unauthorised copying,
> disclosure or distribution of the material in this e-mail is
> strictly forbidden.
>
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to