why don't you pass the file to your applet and let the applet execute it?

----- Original Message -----
From: S.A.Pamungkas <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 18, 2000 8:46 PM
Subject: Re: Could servlet "execute" file /program ?


> Thank you for your suggestion.
>
> I'm sory, maybe my last explanation was not clear.
> This is my "real" condition :
>
> I have GUI made by applet-servlet-jdbc.
> User inputs keyword in GUI to select ( retrieve )
> video file from DB, then click "display" button to
> display that video by RealPlayer.
>
> Because the size of video file is very large, I stored
> ram file in my DB instead of video file.
>
> When user click "display" button, applet sends request
> to servlet including keyword inputed by user.
> Servlet connects and sends SQL command to DB.
> The result of that query is ram file. Servlet receives
> that result as array bytes (using getBytes() method).
> Then servlet makes ram file.
>
> My question is : After made ram file, could servlet
> directly execute that ram file ( to display video )?
>
> Thank you.
>
> -pamungkas-
>
> --- Robert Rainwater <[EMAIL PROTECTED]> wrote:
> > Wednesday, September 13, 2000, 10:37:38 PM, you
> > wrote:
> >
> > > Hi.....
> >
> > > I want servlet to execute a file.
> > > Could servlet execute a file ?
> >
> > > My plan is as follow :
> > > I have ram file ( point to Realplayer rm file ).
> > > Applet sends request to servlet to execute that
> > ram
> > > file. After receive that request, Servlet directly
> > > execute the ram file, and displaying rm file in
> > > Realplayer.
> >
> > You could use Javascript and open a new window,
> > redirect the new
> > window to the ram file, then close the window.
> > Doesn't seem to be
> > anything Java related though.  Maybe I'm wrong.
> >
> >
> > --
> > Regards,
> > Robert
> > mailto:[EMAIL PROTECTED]
> >
> >
> >
> >
> _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at
> > http://mail.yahoo.com
> >
> >
>
___________________________________________________________________________
> > 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
>
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
>
>
___________________________________________________________________________
> 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
>

___________________________________________________________________________
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