Make sure to set the MIME type in the web server.

~mss



 M. Scott Smith




 North America Communications & High Tech

 Arch. & Core Technologies, Technology Architecture

 Kansas City 319/1835 (Octel) 913-319-1835 (Direct)

 [EMAIL PROTECTED]







            Elena Palanca
            <[EMAIL PROTECTED]>                   To:     [EMAIL PROTECTED]
            Sent by: "A mailing list for         cc:
            discussion about Sun                 Subject:     calling a VRML page from 
a servlet
            Microsystem's Java
            Servlet API Technology."
            <[EMAIL PROTECTED]
            M>


            08/27/2001 03:10 AM
            Please respond to "A mailing
            list for discussion about Sun
            Microsystem's Java
            Servlet API Technology."






hi,
I have a servlet that after processing some data must call a wrl file
(written in Virtual Reality Modelling Language)
I did the following:
          String path ="";
          res.setContentType("x-world/x-vrml");
          path="http://"+host+"/Xml/Vrml/"; +  FileName + ".wrl";
          res.sendRedirect(path);

This works fine in the local machine but calling the page from another
computer doesn't work.
I don't have back error message but a black windows with the logo of the
VRML plug-in.

Any ideas????

thanks

Elena

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html



This message is for the designated recipient only and may contain
privileged or confidential information.  If you have received it in error,
please notify the sender immediately and delete the original.  Any other
use of the email by you is prohibited.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to