How to write file to server side?

hello,
Could anyone pls help me...
I just want to see an example how can I write to a file that is placed at the server(save place as the applet).
p.s. I have been successfully read a file from there...
Suppose I have signed the applet (self-signed), anymore security problem I need to pay attention to?
Thanks a lot!!

hi mandy, from the applet u can send the file to be written into the server to a servlet running in server and the servlet can in turn write the file into the servlet. by applet - servlet communication, u can easily read and write files to the server.

Similar Messages

  • How to write file at server end?

    Hi,
    I use a af:inputFile component to receive uploaded files. And want to write files to the directory of server. However, when execute java.io.File.createNewFile(), it throw exception. How to resolve it?
    import org.apache.myfaces.trinidad.model.UploadedFile;
    import javax.faces.event.ValueChangeEvent;
    import java.io.InputStream;
    import java.io.File;
    public class UploadFileHandler {
        public void doUpload(ValueChangeEvent event) throws IOException {
            File file = new File("C:\temp.txt");
            *file.createNewFile();* //Error happen here.
    }

    Hi Cheney,
    It is good practice to use System.getProperty("file.separator") instead of hardcoding "/" or "\" .
    Though your issue is resolved by using "//", you might want to consider changing to the above.
    -Arun

  • How to write file to server using applet?

    Please help!!!!!!!!!!
    Why didn't this work?
    URLConnection ucon = url.openConnection();
                   ucon.connect();
                   ObjectOutputStream outStream = new ObjectOutputStream(new BufferedOutputStream(ucon.getOutputStream()));
                   outStream.writeObject(linkHolder);
                   outStream.close();
    .............As my applet run, the message printed out with my catch is: "java.net.UnknownSerivceException: Protocal doesn't support this output."
    However, the reading from server is fine:
    ObjectInputStream inStream = new ObjectInputStream(new BufferedInputStream(url.openStream()));
             links = (LinkHolder)inStream.readObject();
             inStream.close();
    ....I really appreciate for your help.
    JTom

    This file resides on server not local machine. I'm just testing on my local PC for now.
    By the way, applet doesn't allow any kind of communication to client machine or others, but only to the server it resides in; according to the specs.
    To get a url connection you need a server. You send
    the output to the server(some servlet or similar
    program running on server).
    But for file you don't need a server. You can open a
    file on your local machine if just have file
    permissions. There is no server involved here.

  • How to make html file on server side from the data entered in text area

    Hi!
    I want to know how to make .html file on server side. Like if i enter the data in text area ( or like we normaly see when we write mail that editor) and we can use html tages in it and when user submit form all the data in that field will be saved on server side as an html formate. Is it possible to do so??? or any ruff idea how to design it???

    Erm ...
    Whats the problem with that?!
    Ok, here the code ...
    String myparameter = request.getParameter("paramname");
    String htmltemplate = "<html>\n"
                         +"<head><title>demo</title></head>\n";
                         +"<body>@parametertag@</body>\n";
                         +"<html>";
    String htmlpage = htmltemplate.replaceAll("@parametertag@",myparameter);
    File yourHTMLfile = new File("wheredoyouwannagotoday.html");
    FileOutputStream fos = new FileOutputStream(yourHTMLfile);
    fos.write(htmlpage.getBytes());
    fos.close();You're done.
    Happy Coding! :-) &copy;

  • Copy a .swf file from server side to client using signed applet

    Hello All,
    I already have my applet signed and its working pretty well. However I want to know how can I import a .swf file into clients machine. The .swf file initially is on server side, my applet checks whether this .swf file exists already on client machine. If not it copies it to his machine.
    I know how to chk if the file already exits on client machine but I am not sure how to copy this .swf file to his machine if its missing.
    May be I need to set some input buffers from server side and then copy them to his machine.
    Can some one throw some light on this issue ??

    Hello to all Java Code Masters out thr,
    I am trying to copy a .swf file from server side to client side, however I am unsuccessful in writing the correct data. By correct data I mean that , the data does gets saved on the client side in the .swf file, and the size of the .swf file on client side is as expected, but some how I don't know why the data is not the same as expected.
    I tried opening up both the swf file, one which is on server side and the other which is on client side. And both looked different in the notepad.
    When I opens up the client side .swf file on browser it shows nothing while the .swf file on server side worked fine.
    Here is a snap shot of the two .swf files when opened in notepad:
    clientside.swf
    &#22339;&#2131;&#51395;&#40056;&#48612;&#28681;&#56220;&#6234;&#31352;&#65363;&#27474;&#26039;&#46793;&#52076;&#11698;&#45679;&#32228;&#9617;&#45643;&#52076;&#54002;&#56237;&#62930;&#57181;&#27635;&#46965;&#48804;&#30062;&#60407;&#31086;&#2937;&#37359;&#28873;&#49741;&#8252;&#10112;&#503;&#8501;&#16164;&#43397;&#16140;&#10313;&#8264;&#537;&#13737;&#16956;&#43411;&#586;&#4917;&#43544;&#22918;&#4216;&#49632;&#40179;&#64495;&#64206;&#44335;&#61334;&#19077;&#57113;&#61099;&#53246;&#52863;&#52855;&#52985;&#32246;&#63967;&#27542;&#13055;&#32611;&#52219;&#26476;&#56728;&#25064;&#57340;&#63580;&#65317;&#56023;&#32706;&#57446;&#19865;&#24183;&#40928;&#65057;&#61684;&#25313;&#64294;&#45864;&#44950;&#25919;&#7115;&#8035;&#44004;&#31973;&#18921;&#32575;&#18967;&#25451;&#63915;&#44668;&#30262;&#32651;&#11230;&#60116;&#21241;&#51902;&#30302;&#2462;&#38913;&#38887;&#2904;&#47227;&#11350;&#25775;&#35978;&#25879;&#38313;&#61967;&#15065;&#8627;&#33840;&#11456;&#12040;&#52418;&#33633;&#6640;&#63050;&#65270;&#39008;&#42184;&#40462;&#49876;&#16324;&#15399;&#60051;&#62263;&#26562;&#19076;&#47084;&#16512;&#51385;&#58710;&#13280;&#42314;&#13071;&#55199;&#17948;&#14772;&#61464;&#8985;&#9032;&#16254;&#42612;&#16367;&#47121;&#16212;&#60451;serverside.swf
    CWS�� x���     p��ZxzS�Rk�e��l��-o��}�%K�l�������]��ku���nu��nyy���pM�< �'�5!$����I
    (H �
    5<B
    ��J5��Yx��������/����J������w����}���
    k�2c��lg���a��\�%��serverside.swf is what I expect to be saved, but clientside.swf is what i get.
    Below is a code snippet which I am trying :
      public void writeswftoclient(String swfcontent) {
        String userHome = System.getProperty("user.home" );
        String ImoracleDirectory = userHome + "\\MyFolder";
        File fdirectory = new File(ImoracleDirectory);
        if(!fdirectory.isDirectory()) {
          fdirectory.mkdir();
        String playlist = ImoracleDirectory + "\\clientside.swf";
        File fplaylist = new File(playlist);
        try {
          Writer output = null;
          output = new BufferedWriter(new FileWriter(fplaylist,true));
          *System.out.println(swfcontent);*
          *output.write(swfcontent);*
          output.close();
        catch (Exception e) {
          System.out.println("Cannot create or write to the playlist");
      }In above code I am trying to write the string swfcontent, which contains the data shown above in serverside.swf, to clientside.swf.
    Interesting thing is that I am doing System.out.println(swfcontent); just before writing the data to clientside.swf using output.write(swfcontent);. And System.out.println does print the write data on the java console. However I dont know out of what reason the data doesnt get written correctly on the client's computer.
    Kindly help me in this plzzzzzzzzzz.

  • How to get file from server while click on link

    Hi,
    i created on link and i gave one server path to select file from server but while clickinng on link it no displaying any thing.
    following is the Destination url that i gave for the item.
    /u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/
    please tell me how to get file from server while click on link.

    Ok I got your requirement now.
    If you are getting file names from view attribute then you should not be adding destination URI property for the link.
    Instead you can use OADataBoundValueViewObject API.
    Try below code in your controller processRequest method:
    I am assuming that you are using classic table.
    Also in below example it considers OAMessageStyleText and you can replace it with link item if you want.
    OATableBean tableBean =
    (OATableBean)webBean.findChildRecursive("<table item id>");
    OAMessageStyledTextBean m= (OAMessageStyledTextBean)tableBean.findChildRecursive("<message styled text in table item id>");
    OADataBoundValueViewObject tip1 = new OADataBoundValueViewObject(m, "/u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/"+"<vo attr name which stores file name for each row>");
    m.setAttributeValue(oracle.cabo.ui.UIConstants.DESTINATION_ATTR, tip1);
    Regards,
    Sandeep M.

  • How do I tell FMS to only serve a section of a file using server-side ActionScript?

    We have a bunch of mp3 files on our server and we'd like to serve only particular sections of particular files to users.  For example, hello.mp3 might be four minutes long, but when user 1 tries to play it, he should only be able to play the section from 0:30 to 1:00, whereas user 2 should be able to play the whole thing.
    I'm coming from a background using Wowza Media Server, where this is fairly easy to achieve: http://fmsguru.com/showtutorial.cfm?tutorialID=78.
    Wowza doesn't require any change to the player (it doesn't call any special methods), so I'm looking for the same here.
    I've been fiddling around with the main.asc file and the "Server-Side ActionScript" API to try and achieve something similar.  In particular I've found the Stream.play method, which seems relevant.  But I can't figure out how to attach a handler to a "play" event; all the examples I've seen only attach to Application.onConnect, which doesn't seem to include a connection to a particular file, which I need in order to determine the section that can be played.
    So I'd like to do something along the lines of this (this is completely made up and doesn't follow any of the APIs; it's just an illustration of what I'm trying to achieve):
    application.onConnect = function(client) {
       client.onPlay = function(stream) { // Client.onPlay doesn't exist; what should I do here?
           var section = getStreamSection(client, stream);
           stream.play(section.start, section.end);
    var getStreamSection = function(client, stream) {
       return { start: 30, end: 60 }; // Return value is based on the user's credentials and the file they're trying to stream

    You can find the documentation for Plug-ins here:
    http://help.adobe.com/en_US/flashmediaserver/plugin_apiref/index.html
    http://help.adobe.com/en_US/flashmediaserver/devguide/WS5b3ccc516d4fbf351e63e3d11a0d662434 -7ff6PluginAPI.html
    Basically you need to concentrate on E_PLAY event and two fields F_STREAM_LENGTH & F_STREAM_POSITION. I am pasting below some code which you need to paste in your sample Auth Plug-in which you can find in : <installdir>/samples/plug-ins. You would have paste below code in case E_PLAY section in MyFmsAuthorizeEvent::authorize() function and compile it. You would basically get AuthModule.dll which you need to place in modules/auth and restart FMS.
    // Set the Stream to be played back only for 10 seconds starting from 10 th second
                                  // Stream will play from 10th Second to 20th Second
                                     float fValue;
                                  char buf[1024];
                                  if (getFloatField(m_pAev, IFmsAuthEvent::F_STREAM_LENGTH, fValue))
                                            float fLength = fValue; // in seconds
                                            sprintf(buf,"Original Stream length value passed from player %f\n",fLength);
                    m_pFmsAuthServerContext->log(buf, IFmsServerContext::kInformation, false);
                                            fLength=10.0;
                                            sprintf(buf,"Modifying Stream length value passed from player %f\n",fLength);
                    m_pFmsAuthServerContext->log(buf, IFmsServerContext::kInformation, false);
                                            setFloatField(m_pAev,IFmsAuthEvent::F_STREAM_LENGTH,fLength);
                                  if (getFloatField(m_pAev, IFmsAuthEvent::F_STREAM_POSITION, fValue))
                                            float iPosition = fValue; // in seconds
                                            sprintf(buf,"Original Stream Position value passed from player %f\n",iPosition);
                    m_pFmsAuthServerContext->log(buf, IFmsServerContext::kInformation, false);
                                            iPosition=10.0;
                                            sprintf(buf,"Modifying Stream length value passed from player %f\n",iPosition);
                    m_pFmsAuthServerContext->log(buf, IFmsServerContext::kInformation, false);
                                            setFloatField(m_pAev,IFmsAuthEvent::F_STREAM_POSITION,iPosition);

  • Write to text file without server side

    Hi,
    I need to write data into a text file for saving data from my
    flash movie, but I didn't have the possibility to use a
    server-side.
    Because my flash movies are stored on a CD and it must be
    compatible with Windows and MacOS.
    Is it possible to write data into a text file?
    If no, can I use a third party software? Which one?
    Regards
    YamNet

    A SharedObject might work for you. Otherwise, you'll need a
    'wrapper' app.
    Adobe's own Director works very well for this, and AIR would
    work as well.
    There are also a good number of 3rd party apps, such as Zinc
    and others.
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • How to upload and download a file in server side program

    Give me a sample code for the file upload and download using Server side program.

    You should try one of these forums for an answer to your question:
    http://swforum.sun.com/jive/forum.jspa?forumID=116
    http://community.java.net/netbeans
    http://linux.java.net

  • How to upload file on server

    Hi every1,
    I have the following problem:
    I need to store information in files on server, how can I upload a file to a server into a specified directory??
    Tnx in advance,
    Mort

    //the server side
    ServerSocket acceptSocket = new ServerSocket(port);
    while(true) {
    Socket s = acceptSocket.accept();
    Connect(s);
    } // waits for client socket
    void Connect(Socket s) {
    in = new ObjectInputStream(s.getInputStream());
    } // you can create a file object on the client side and send it through an object stream. You should probably make sure that file objects are synchronized. They most likely are. I've never tried this, but there's no reason why it wouldn't work. Make sure to start the output stream before the input stream or you'll get a hang up.
    //the client side
    s = new Socket(InetAddress ip,int port);
    out = new ObjectOutputStream(s.getOutputStream());
    out.writeObject(File file); //write the file object to the output stream

  • How  applet write file in local system by URL instead of FileOutputStream()

    hi,
    how can applet write a file in local system through URL instead of FileOupStream()
    plz.....plz.....plz......
    URL url = new URL(" file://c:/temp.txt");
    in this url how applet can write
    plz....

    URL uses http to cummunicate, this means you can send and receive data using the http
    protocol.
    The OS doesn't do anything with this, you need a http server to interpret these messages
    and take appropriate action (with server side script or CGI).
    So if the client has a http server installed and has server side script thad does
    something with your http request (that's what a url does) than it is possible.
    Since both having a http server , server side script and or CGI have nothing to do with
    signed applets I will not answer your question here.
    But the mail reason I won't answer it is because it makes no sence to use a URL to write
    to the local file system.

  • Automatically save file in server side...

    how can i save a file(text or excel) automatically without anyuser intervention?
    lets say a query is done and the result of that query is goin to save into a file(textfile or excel file) how im i going to save it in the server side? maybe a there is a foldername /extract file/.
    Hope somebody can help me... Thanks in advanced!

    hello again.. this is a part of my codes that writes text files into the server
    public void ReadWrite(ActionForm form){
        AdminAccountBean adminForm = (AdminAccountBean)form;
        String directory1="";
        String directory2="";
        File f = new File("DBConn.txt");
        File f1 = new File("DBConn1.txt");
        String dconnectString = "jdbc:oracle:thin:@"+adminForm.getDserv()+":"+adminForm.getDport()+":"+adminForm.getDbname();
        String dconnectString1 = "jdbc:oracle:thin:@"+adminForm.getDserv1()+":"+adminForm.getDport1()+":"+adminForm.getDbname1();
        try{
        boolean success = (new File(adminForm.getDirectory())).delete();
        if (!success) {
            System.err.println("Error on deleting previous file");
        }catch(Exception e){
          e.printStackTrace();
        directory1 = f.getAbsolutePath().toString();
        directory2 = f1.getAbsolutePath().toString();
        try{
        boolean success = (new File(f.getAbsolutePath().toString())).delete();
        if (!success) {
            System.err.println("Error on deleting previous file");
        }catch(Exception e){
          e.printStackTrace();
        try{
        boolean success = (new File(f1.getAbsolutePath().toString())).delete();
        if (!success) {
            System.err.println("Error on deleting previous file");
        }catch(Exception e){
          e.printStackTrace();
       Convert co = new Convert();
       /*try {
            BufferedWriter adminto = new BufferedWriter(new FileWriter(directory));
            adminto.write(co.Encoder("encoded"));
            adminto.write("\n");
            adminto.write(co.Encoder(uname));
            adminto.write("\n");
            adminto.write(co.Encoder(pword));
            adminto.close();
        } catch (IOException e) {
        e.printStackTrace();
        try{
        boolean success = (new File(directory1)).delete();
        if (!success) {
            System.err.println("Error on deleting previous file");
        }catch(Exception e){
          e.printStackTrace();
        try {
            DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
            Connection conn = DriverManager.getConnection(dconnectString,adminForm.getDuname(),adminForm.getDpword());
            conn.setAutoCommit (false);
            String sqldelete ="DELETE FROM GIIS_WEB_ADMIN";
            PreparedStatement stmt = conn.prepareStatement(sqldelete);
            stmt.executeUpdate();
            String sql ="INSERT INTO GIIS_WEB_ADMIN VALUES('"+adminForm.getUname()+"','"+co.Encoder(adminForm.getPword())+"','A','encoded')";
            PreparedStatement  pstmt = conn.prepareStatement(sql);
            pstmt.executeUpdate();
            conn.commit();
            conn.close();
            Decode de = new Decode();
            String encoded2 = co.Encoder(dconnectString1);
            BufferedWriter adminto1 = new BufferedWriter(new FileWriter(directory1));
            adminto1.write(co.Encoder(dconnectString));
            adminto1.write("\n");
            adminto1.write(co.Encoder(adminForm.getDuname()));
            adminto1.write("\n");
            adminto1.write(co.Encoder(adminForm.getDpword()));
            adminto1.write("\n");
            adminto1.write(co.Encoder(adminForm.getDsid()));
            adminto1.write("\n");
            adminto1.close();
            BufferedWriter adminto2 = new BufferedWriter(new FileWriter(directory2));
            adminto2.write(co.Encoder(dconnectString1));
            adminto2.write("\n");
            adminto2.write(co.Encoder(adminForm.getDuname1()));
            adminto2.write("\n");
            adminto2.write(co.Encoder(adminForm.getDpword1()));
            adminto2.write("\n");
            adminto2.write(co.Encoder(adminForm.getDsid1()));
            adminto2.write("\n");
            adminto2.close();
        } catch (Exception e) {
        e.printStackTrace();
      }

  • How to view file on server.

    Hello
    I am developing a small client server application.Clients post comments about the application and these are stored in a file on the server.Its a standalone app.My question is if a client wants to view the file on server,how can i do that??
    Any help/suggestions will be appreciated.
    thanks
    Sree.

    I tried doing that but i get an exception
    java.net.SocketException: Software caused connection abort: socket write error .
    by google i found that this was due to a bug but has been fixed on JRE 1.5(i'm using JRE 1.6) but i still get this.
    here is my code:package com;
    import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.FileInputStream;
    import java.io.FileWriter;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.net.MalformedURLException;
    import java.net.ServerSocket;
    import java.net.Socket;
    public class TestServer_New
         public static void main(String args[])
              ServerSocket server = null;
              boolean listening = true;
              final String filename = "comments";
              try {
                   server = new ServerSocket(4321);
              catch (MalformedURLException e1) {
                   e1.printStackTrace();
              catch (IOException e) {
                   System.out.println("Error on port: 4321 " + ", " + e);
                   System.exit(1);
              System.out.println("Server setup and waiting for client connection ...");
              try
                   while( listening ) {
                        final Socket client_socket = server.accept();
                        System.out.println("Client connection accepted. Moving to local port ...");
                        new Thread( new Runnable() {
                             public void run() {
                                  write_to_comments(client_socket, filename);
                             }}).start();
                   server.close();
              catch (IOException e)
                   System.out.println("Did not accept connection: " + e);
                   System.exit(1);
         static synchronized void  write_to_comments(Socket client_socket , String filename) {
              try {
                   BufferedReader streamIn = new BufferedReader(new InputStreamReader(client_socket.getInputStream()));
                   BufferedReader file_reader = new BufferedReader(new InputStreamReader(new FileInputStream(filename)));
                   BufferedWriter server_file_writer = new BufferedWriter(new FileWriter(filename,true));
                   BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(client_socket.getOutputStream()));
                   String line ;
    //               while((line = streamIn.readLine()) != null){
    //                    if(!line.equals("view comments")){
    //                         server_file_writer.write(line);
    //                         server_file_writer.newLine();
    //                         System.out.println("write to comments request from client "+line);
    //                    else{
                             while ((line = file_reader.readLine()) != null){
                                  writer.write(line);
                                  writer.newLine();
                                  System.out.println("view comments request from client "+line);
                   writer.newLine();
                   writer.close();
    //               send_data_to_client(client_socket,filename);
    //               streamIn.close();
    //               client_socket.close();
              catch(IOException exception){
                   exception.printStackTrace();
                   System.out.println("IO Error in streams " + exception);
    }here is the client code
         void send_comments_to_server(){
              DataOutputStream output_stream;
              String host = "C001192097";     //server host name
              try {
                   Socket client = new Socket(host, 4321);
                   output_stream = new DataOutputStream(client.getOutputStream());
                   BufferedReader stream_input = new BufferedReader(new InputStreamReader(client.getInputStream()));
                   BufferedWriter writer = new BufferedWriter(new FileWriter("commentsfromserver",false));
                   XStream xstream = new XStream_Data_Analyser();
                   String comment_report = get_title_text_field().getText();
                   Comments comment = new Comments();
                   User_Data user_data = new User_Data();
                   String user_info = "User Name: "+user_data.user_name+" "+"Host Name: "+user_data.host_name+" "+"Domain Name: "+ user_data.domain_name;
                   comment.user_info = user_info;
                   comment.summary = comment_report;
                   comment.comments = get_comments_text_area().getText();
                   String report = xstream.toXML(comment);
                   String line;
                   if (view_comments == true){
                        output_stream.writeBytes("view comments");
                        view_comments = false;
    //               else{
    //                    output_stream.writeBytes(report+"\n");
                   while((line = stream_input.readLine()) != null){
                             writer.write(line);
                             writer.newLine();
                             System.out.println("data received from server "+line);
    //               output_stream.close();
    //               stream_input.close();
    //               client.close();
              }catch (UnknownHostException exception){
                   System.err.println(host + ": unknown host.");
              catch (IOException exception){
                   System.err.println("I/O error with " + host);
                   exception.printStackTrace();
         }and this is the exception msg i get:
    java.net.SocketException: Software caused connection abort: socket write error
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(Unknown Source)
         at java.net.SocketOutputStream.write(Unknown Source)
         at java.io.DataOutputStream.writeBytes(Unknown Source)
         at data_analyser.Improvements_Dialog.send_comments_to_server(Improvements_Dialog.java:131)
         at data_analyser.Improvements_Dialog$2.actionPerformed(Improvements_Dialog.java:170)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    thanks for your help
    sree
    Edited by: sreecs on Sep 17, 2008 5:13 PM

  • How to start streaming from server side after applet initialized on client

    Hi,
    I am using JSP for on demand streaming server.
    I have included an applet in jsp page which start new player on client side after on streamreceive event.
    But my problem is how to give call to server that applet on client side has been initialized and now streaming can go on.
    Is there any method / way to call class file which will start streaming?

    Oracle is designed to support connection from client to server. The client originates the connection.
    If you want the server to initiate the connection, you need to make the server pretend it is a client. Oracle even does this internally, when they want to use 'External Procedures'
    You may also use Oracle's Message Queue mechanism, called 'Advanced Queueing' to use a 'publish subscribe' model instead of a connection model. That is discussed in the Advanced Queue manual in the documentation at http://docs.oracle.com
    Finally, you can explore the possibility of using RMI from the database, as discussed in the Java related documentation at the same location.

  • How to write files to phweb share drive(phweb is nonsap system)

    Hi all,
             Is there any way to write files directly to phweb share drive(phweb is Nonsap system).
    Thanks,
    Balalji

    Hi Rob,
               Yaa I got .But how to use that function modules and when to use.I heard that first we have to write to presenation server and then we can use one of those function modules.Is it right?
    Thanks,
    Balaji

Maybe you are looking for

  • Where do i get Java 10 instead of Java 10.5

    For some reason I need this Java 10.5 to open not valid signature programs like an update from Microsoft OS X SP1 for Mac. However I cannot find Java 5.

  • While running FBL5N (Business area wise) customer code and customer names a

    Hi Gurus, While running FBL5N (Business area wise) customer code and customer names are not appearing.

  • Trial Version message appearing

    I have photoshop CS 6. Everytime I start the computer and I start photoshop the trial message saying how many days are left to buy it comes up. I do not have a trial version and even though I put my serial number, the message comes up. They, at photo

  • How to make files written to the workbench server visible

    Hi All, I am using dotnet proxyclass to access livecycle server . I am using 'WriteResource' method of liveCycle to write files to the Workbench server.The files are successfully written to the server and I am able to see the files through 'ListMembe

  • Qualified Update - Timestamp field

    Hi All, I'm having a qualified lookup FIELD1 and a timestamp field STAMP1 checking for changes in FIELD1, both in main table. When I'm creating/deleting or updating qualified links in MDM Data Manager STAMP1 behaves as expected and displays the time