Writing Server side

Is there anyway to have a client edit a file on the server side. By this i mean both take a file on the server side and write to it. So really i'm looking to read as well.
What i'm looking for is a user opens a web page. This page contains a Java Applet. This applet provides a front end gui, that is used to manipulate a file on the Server side. The side that has the applet.
If anyone could just point me in the right direction that would be more then enough. Thanks.

So i'm looking into servlets, and they seem to be
more along the lines of PhP. I need to retain the
use of the GUI implemented in the applet but I
suppose a work around would be to get the file using
the servlet and pipe it into the applet through a
param.
I'm not sure however how i would get the information
from the applet then put it to the file.
unless someone has a better idea.You can't pipe it directly but you can send an abstract representation of the file to the servlet and the servlet can perform the file changes.

Similar Messages

  • Need Help Writing Server side to submit form via API

    Hey
    I need help writing a serverside application to submit
    information via API to a separate server.
    I have a client that uses constant contact for email
    campaigns. We want to add to her website a form taht submits the
    information needed to subscribe to her email list, to constant
    contact via API.
    FORM.asp :: (i got this one under control)
    name
    email
    and submits to serverside.asp
    SERVERSIDE.ASP
    In serverside.asp i need to have
    the API URL
    (https://api.constantcontact.com/0.1/API_AddSiteVisitor.jsp)
    username (of the constant contact account)
    password (of the constant contact account)
    name (submited from form.asp)
    email (submitted from form.asp)
    redirect URL (confirm.asp)
    Can anyone help get me going in the right direction?
    i have tried several things i found on the net and just cant
    get anyone to work correctly.
    One main issue i keep having is that if i get it to submit to
    the API url correctly - i get a success code, it doesnt redirect to
    the page i am trying to redirect to.
    ASP or ASP.NET code would be find.
    THANKS
    sam

    > This does require server side programming.
    > if you dont know what that is, then you dont know the
    answer to my question. I
    > know what i need to do - i just dont know HOW to do it.
    If you are submitting a form to a script on a remote server,
    and letting
    that script load content to the browser, YOU have no control
    over what it
    loads UNLESS there is some command you can send it that it
    will understand.
    No amount of ASP on your server is going to change what the
    remote script
    does.
    http://www.constantcontact.com/services/api/index.jsp
    they only allow their customers to see the instructions for
    the API so i
    can't search to see IF there is a redirect you can send with
    the form info.
    But posts on their support board say that there is.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Having trouble writing server side code

    I have installed FMS 3.5 (by download from Adobe's site)
    I am trying to develop a simple chat application. It's quite strange that why the following error is producing
    main.asc: line 4: SyntaxError: missing ; before statement: var __CONFIG__.isConfigLoaded = false;
    The first few lines look like this
    ==========================================
    load( "components.asc" );
    var __CONFIG__ = new Object();
    var __CONFIG__.isConfigLoaded = false;
    ==========================================
    if I remove the "var" (AS1 style?) then it does not report any error. Can somebody please help me?
    Kind Regards
    Rakesh

    You're attempting to write AS3 on FMS and it doesn't have any Flash Style AS interpreter for script.  It's plain Javascript as provided by the Mozilla Spidermonkey engine.  I recommend checking out the docs - particularly the Server Side Actionscript Guide.  That should help.
    A

  • Create image from byte[]array on server side

    Hello everyone..
    I'm developing an application which will take snapshots from a mobile device, and send it to my pc via bluetooth. I have my own midlet which uses the phone camera to take the snapshot, i want to transfer that snapshot to my pc.
    The snapshot is taken is stored in an array byte.
    The image can be created on the phone itself with no problem using : image.createImage(byte[])
    my problem is that when i send the array byte via bluetooth, and receive it on the server, i cannot create the image using the :image.createImage() code
    The connection is good since i have tested by writing the content of the array in a text file.
    Piece of midlet code:
                try{
                     stream = (StreamConnection)Connector.open(url);
                     OutputStream ggt = stream.openOutputStream();
                     ggt.write(str);
                     ggt.close();
                }catch(Exception e){
                     err1  = e.getMessage();
                }where str is my array byte containing the snapshot
    And on my server side:
    Thread th = new Thread(){
                   public void run(){
                        try{
                             while(true){
                                  byte[] b = new byte[in.read()];
                                  int x=0;
                                  System.out.println("reading");
                                  r = in.read(b,0,b.length);
                                  if (r!=0){
                                       System.out.println(r);     
                                       img = Image.createImage(b, 0, r);
                                                            //other codes
                                       i get this error message:
    Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: javax.microedition.lcdui.ImmutableImage.decodeImage([BII)V
         at javax.microedition.lcdui.ImmutableImage.decodeImage(Native Method)
         at javax.microedition.lcdui.ImmutableImage.<init>(Image.java:906)
         at javax.microedition.lcdui.Image.createImage(Image.java:367)
         at picserv2$1.run(picserv2.java:70)
    Please anyone can help me here? is this the way to create the image on the server side? thx a lot

    here is exactly how i did it :
    while(true){
                                  byte[] b = new byte[in.read()];
                                  System.out.println("reading");
                                  r = in.read(b, 0, b.length);
                                  if (r!=0){
                                       Toolkit toolkit = Toolkit.getDefaultToolkit();
                                       Image img = toolkit.createImage(b, 0, b.length);
                                       JLabel label = new JLabel(new ImageIcon(img) );
                                       BufferedImage bImage = new BufferedImage(img.getWidth(label),img.getHeight(label),BufferedImage.TYPE_INT_RGB);
                                       bImage.createGraphics().drawImage(img, 0,0,null);
                                       File xd = new File("D:/file.jpg");
                                       ImageIO.write(bImage, "jpg", xd);
                                       System.out.println("image sent");
                             }Edited by: jin_a on Mar 22, 2008 9:58 AM

  • "Server-side includes" equivalent in DW CC

    I am a long-time HTML coder, having been hand-writing HTML since the days of Mosaic.  However, I am a complete newbie with DreamWeaver CC.  I have gone through the entire "Bayside Beat" tutorial.
    I am used to using "server-side includes" to include common sections of code on all of my pages.  For example, I include this at the top of every body:
    <!--#include virtual="/inc/banner.inc" --><!--#include virtual="/inc/mainmenu.inc" --><!--#include virtual="/inc/sidebar.inc" -->
    and this at the end:
    <!--#include virtual="/inc/footer.inc" -->
    Following along with the "Bayside Beat" tutorial, I see how to copy those sections from one page to another.  However, what happens if I need to make a change in one of those sections?
    For example, if I were to add a 6th page, I would need to edit the menu, and then manually propogate that change to every page.  Or, next year, when I want to change the copyright to "2014", I again need to manually edit every page.
    Is there any way to say "this section is to be identical on every page that includes it, and automatically propogate any changes to all of those pages"?

    I can't remember when Adobe loused this up.  Probably in DW CS6.
    My workaround is to create my own SSI code in my Custom Snippets folder.  I have one for .shtml/.asp pages and another for .php pages.  One click inserts the code. 
    <!--#include virtual="includes/my-include-file.html" -->
    <?php require_once('includes/my-include-file.php'); ?>
    Once inserted, click on the include statement in code view and you'll see a small properties box where you can browse to the actual file or Edit the include file.  It takes a lot longer to explain than it does to do it.   Bottom line, it's quick and you don't need any 3rd party extensions.
    Nancy O.

  • Getting following exception on TCP ssl at server side

    Hi,
    I am trying to setup an ssl client and ssl server.
    But on ssl client side, My need_wrap going into loop(Buffer overflow)
    On my server side, i am getting following error.
    Please help me...I am not getting much discussion/articles to solve this problem.
    javax.net.ssl.SSLProtocolException: Handshake message sequence violation, state = 1, type = 1
    javax.net.ssl.SSLProtocolException: Handshake message sequence violation, state = 1, type = 1
      at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1371)
      at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:513)
      at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:790)
      at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:758)
      at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
      at com.ipay.ssl.SSLServerNio.doHandshake(SSLServerNio.java:55)
      at com.ipay.ssl.SSLServerNio.main(SSLServerNio.java:215)
    Caused by: javax.net.ssl.SSLProtocolException: Handshake message sequence violation, state = 1, type = 1
      at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:156)
      at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
      at sun.security.ssl.Handshaker$1.run(Handshaker.java:808)
      at sun.security.ssl.Handshaker$1.run(Handshaker.java:806)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1299)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)
    My server handshake code look like this.
    void doHandshake(SocketChannel socketChannel, SSLEngine engine,
             ByteBuffer myNetSendData, ByteBuffer myNetRecieveData) throws Exception {
         // Create byte buffers to use for holding application data
      ByteBuffer myAppDataSend = ByteBuffer.allocate(engine.getSession().getApplicationBufferSize());
      ByteBuffer myAppDataRecieve = ByteBuffer.allocate(engine.getSession().getApplicationBufferSize());
      System.out.println(engine.getPeerPort());
         // Begin handshake
         engine.beginHandshake();
         SSLEngineResult.HandshakeStatus hs = engine.getHandshakeStatus();
         // Process handshaking message
         while (hs != SSLEngineResult.HandshakeStatus.FINISHED &&
             hs != SSLEngineResult.HandshakeStatus.NOT_HANDSHAKING) {
          switch (hs) {
             case NEED_UNWRAP:
              System.out.println("Reached NEED UNWRAP");
                 // Receive handshaking data from peer
                 if (socketChannel.read(myNetRecieveData) < 0) {
                     // Handle closed channel
                  System.out.println("not able toRead data from channel to buffer at client");
                 myNetRecieveData.flip();
                 // Process incoming handshaking data
                 SSLEngineResult res = engine.unwrap(myNetRecieveData, myAppDataRecieve);
               //  myNetRecieveData.compact();
                 // Getting handshake status
                 hs = res.getHandshakeStatus();
                 System.out.println("Debugging in NEED_UNWRAP-->"+hs);
                 // Check status
                 switch (res.getStatus()) {
                 case OK :
                     // Handle OK status
                  System.out.println("OK");
                     break;
                 case BUFFER_OVERFLOW:
                  System.out.println("BUFFER OVERFLOW");
                  break;
                 case BUFFER_UNDERFLOW:
                  System.out.println("BUFFER UNDERFLOW");
                  /* if (socketChannel.read(myNetRecieveData) < 0) {
                     // Handle closed channel
                  System.out.println("not able toRead data from channel to buffer at client");
                  hs=HandshakeStatus.NEED_UNWRAP;
                  System.out.println("Read data on underflow condition");
                  break;
                 case CLOSED:
                  System.out.println("CLOSED");
                  break;
                 // Handle other status: BUFFER_UNDERFLOW, BUFFER_OVERFLOW, CLOSED
                 break;
             case NEED_WRAP :
              System.out.println("Reached NEED WRAP");
                 // Empty the local network packet buffer.
                 // Generate handshaking data
              //myAppDataSend.flip();
                 res = engine.wrap(myAppDataSend, myNetSendData);
                 // Getting handshake status
                 hs = res.getHandshakeStatus();
                 System.out.println("Debugging in NEED_WRAP-->"+hs);
                 // Check status
                 switch (res.getStatus()) {
                 case OK :
                  System.out.println("OK");
                     myNetSendData.flip();
                     // Send the handshaking data to peer
                     while (myNetSendData.hasRemaining()) {
                         if (socketChannel.write(myNetSendData) < 0) {
                             // closing socket channel
                     break;
                 case BUFFER_OVERFLOW:
                  System.out.println("BUFFER OVERFLOW");
                  //Writing network send buffer
                  myNetSendData.flip();
                     while (myNetSendData.hasRemaining()) {
                  if(socketChannel.write(myNetSendData) < 0)
                  System.out.println("Some thing wrong happened");
                  System.out.println("written data");
                  hs=HandshakeStatus.NEED_WRAP;
                  break;
                 case BUFFER_UNDERFLOW:
                  System.out.println("BUFFER UNDERFLOW");
                  break;
                 case CLOSED:
                  System.out.println("CLOSED");
                  break;
                 // Handle other status:  BUFFER_OVERFLOW, BUFFER_UNDERFLOW, CLOSED
                  break;
             case NEED_TASK :
              System.out.println("NEED TASK");
              System.out.println("Debugging in NEED_TASK-->"+hs);
              Runnable task;
              while((task=engine.getDelegatedTask()) != null)
              System.out.println("Inside while loop");
              ExecutorService executorService = Executors.newFixedThreadPool(1);
              executorService.execute(task);
                 // Handle blocking tasks
              hs=engine.getHandshakeStatus();
              System.out.println("Printing"+engine.getHandshakeStatus());
              break;
             case FINISHED:
              System.out.println("Debugging in FINISHED-->"+hs);
              System.out.println("handshake done");
              hs=HandshakeStatus.FINISHED;
                    break;
             // Handle other status:  // FINISHED or NOT_HANDSHAKING
         // Processes after handshaking
    brs,
    varghese

    Hi Zia,
    The error is...
    Caused by: java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible: stream classdesc serialVersionUID = 4038061360325736360, local class serialVersionUID = -494763524358427112
    ...which means you have two different versions of org.eclipse.persistence.indirection.IndirectList, one on the server and one in the client (JDeveloper). As these classes have different serialVersionUID values then Java throws an exception when deserializing as they are probably not compatible.
    I don't know much about the Eclipse stuff but from looking at your post I can only assume one version of the class is in D:\Coherence\toplink\jlib\eclipselink.jar on the Coherence server side and the other is in JDevloper in D:\OracleSOA\Middleware\modules\org.eclipse.persistence_1.1.0.0_2-1.jar as these are the only jar file containing "eclipse" that I can see on the classpaths.
    JK

  • Vacation messages / server side mail rules

    With WebMail depreciated in OS X Server, is there a recommended (incorporated) way for users to configure vacation messages and other server side rules?

    The seive rules are referenced by the imap server on OS X and it is responsible for the mail sort. The old webmail (SquirrelMail) and the newer webmail on Lion (Roundcube) were only writing the rules that the sieve engine of the server were reading.  In other words, the webmail doesn't handle the sorting of the incoming messages, its built in filter settings write the rules that the server uses to sort them.
    In Roundcube, that is the managesieve plugin. By default, the rules get saved in /Library/Server/Mail/Data/rules/[user UniqueID]/dovecot.sieve with the new Roundcube and older rules are default.sieve. Dovecot seems to look for one or the other and uses it.
    So, and I still have to read (and if anyone can answer!) since I've not looked at this since 10.8 server has first come out:  They moved the mailstor moved in ML, but does Dovecot still have sieve rules ENABLED or does that require a .conf change?
    To answer your configuration question:
    if you're comfortable with editing a text file, Roundrube is VERY simple to configure in my opinion. Everything is well commented in the settings files. Almost all of the settings are having it connect to your IMAP and SMTP server, same as an email client's settings.  And that's it, you don't need to compile anything to use it.
    You will need to setup MySQL or ProtegeSQL with it, but they have scripts that setup the tables for you, again, pretty simple.  PERSONALLY, I chose to install MySQL (they have a Mac .pkg install and a System Preference Pane for it).  I did not want to use the ProtegeSQL Apple supplies with OS X because we've all learned this lesson: who knows when they'll abandon THAT and leave us all scrambling for a solution again.
    This way, my SQL install is indepenent, ready for the next OS upgrade without wondering if Apple will take it away, or even transportable to another platform.

  • Making a RPC Call with Complex Server-Side

    Hey, I'm currently trying to write a distributed program using a simple web service call. I've tried to set up Axis RPC by following a tutorial and got it working, but the problem is I end up calling a JWS file on the server and at that point I'm not sure how I can tap into the rest of my server code to do complex server-side work.
    Basically I want the ability to call other Java classes I write, but for some reason I can't figure out how to make them show up as valid classes to the JWS file. Throwing the files in the same directory under Tomcat doesn't do anything, and I haven't managed to do it with a JAR files either. Are there any tricks to getting JSW files to refer to regular Java classes, or am I using the wrong technologies altogether?
    Thanks in advance,
    Graeme

    I didn't personally develop the back end, but basically think a lot of classes including inheritance and all that, there are database calls (I think JDBC and Hibernate), and overall just a fair bit of code.
    If I make other Java classes part of the same project, the jws file can't seem to find them. If I put a CallServer.jws and OtherClass.java in the same directory, writing OtherClass object = new OtherClass(); gives a compile error. But maybe I'm misinterpreting what you mean by "make them part of your web service project".

  • Server-side or past-query resultset processing

    Hi everyone :)
    I have a question about efficiency. Basically, the application that I am writing retrieves resultsets from a data source. It is possible for an end-user to request that formatting be applied to certain columns in the resultset (eg: 1234 becomes $1234.00). As I see it, I have two options;
    1. Apply the formatting in the SQL statement, thereby causing the formatting to occur on the server-side. The problem that I see with this is that formatting commands are different for every DBMS, and some don't even have them.
    2. Retrieve the resultset in 'raw' form and apply java.text.Format subclasses to the resultset after it has been returned from the database (using update*(...) methods). This would 'standardise' the formatting, but is this efficient? My resultsets could be very large, so I am concerned about processing time.
    Any opinions/suggestions would be greatly appreciated.
    Thank you for your time. :)
    Ben Deany

    Well, not necessarily, no... my application may be on a client machine, sending requests to a remote data source. But point taken, it is a case of deciding which will be faster - so your question neatly sums up the problem.
    And when I said that I was thinking about using the "update*" methods I was referring to the ResultSet methods. I realise that this is not a great solution; firstly because of potential overheads navigating the resultset, and secondly because it's dangerous - there is a chance the the database could get written back to...
    So given that, the best solution might be to convert the ResultSet to a list of collection (or something similar) and then apply formatting to the values. (?)
    That does require two loops (once over the ResultSet to convert it to a List, and a second one to apply formatting).
    Ben

  • Quick Guide to Server-side FMS?

    Are there any really simple examples of writing a hello world app on FMS that's accessed from Flex?  Something as basic as a Flex app poking a custom FMS app and getting a response from server-side ActionScript would be great.  I've looked all through the documentation and this seems to be lacking.
    Cheers

    Please have a look at Tutorials on FMSguru : http://fmsguru.com/tutorials.cfm - they are very helpful

  • Manifest.webapp can't run on server side

    I have made one demo of firefox os webapp. manifest.webapp is working fine in localhost but it's not working on server side.
    if i add below link, it's working
    http://dev.artoonsolutions.com/dharmesh_ajani/oldcity/app/www/index.html
    but with below way it's not working
    http://dev.artoonsolutions.com/dharmesh_ajani/oldcity/app/www/manifest.webapp
    Please check it and let me know if anything i missing.
    Thanks

    Hi,
    Sorry for the late reply, I don't know the answer to your question (or if you still have the problem), but app developer questions and links to documentation are here:
    http://stackoverflow.com/questions/tagged/firefox-os
    Maybe a dev there can help you out? Thanks for writing apps for Firefox OS!
    Regards,
    Michelle Luna

  • Hope this is the place to ask about programing in server side

    HI,
    I'm new in server side.
    I have programed in the client side with swing 7 months.
    I'll start a new job in these topic (I will learn @ job), but I want to start to learn myselp.
    Al I know is it will be with J2EE & serverside.
    I don't used J2EE so from wher should I need to start?
    Servlets?
    JSP?
    J2EE?
    Please I need your helpppp
    Thanking you in anticipation,
    Yael
    Message was edited by:
    yael800

    Maybe I have to start from writing command line application tcp
    listenning to socket?
    Is it server side topic?
    http://www.javaworld.com/javaworld/jw-12-1996/jw-12-sockets.html?page=2
    Or RMI?
    http://java.sun.com/docs/books/tutorial/rmi/index.html
    Am I have to download someting else from what I'm using?
    jdk-1_5_0_08-windows-i586-p
    I'm so comfused I don't know from where to start
    Message was edited by:
    yael800
    Message was edited by:
    yael800

  • 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.

  • HI,Why every five minutes, the server - side NetStream.publish failure

    RTMP spread to the FMS, and then create netGroup and NetStream objects on the server side, then the NetStream.publish (), the beginning of everything is normal, but after five minutes, very strange happens to be five minutes, the client node receives less thanstream had, and I monitor the status of this server-side NetStream no change is to publish the start, why the five minutes it will automatically stop publishing flow RTMP stream has been no problem in the transmission

    i assume, from your post, that you are using FMS and are publishing a multicast stream.
    if you are using the "Flash Media Development Server", prior to release 4.5, multicast streams time out after about 10 minutes.  as of release 4.5, multicast streams time out after about 30 minutes.  to see this and other limits of the Development Server, see:
       http://www.adobe.com/products/flashmediaserver/helpmechoose.html
    if that is not the problem, then if you are writing your own server-side scripts, perhaps you are not anchoring a NetStream, Stream, or NetConnection object properly and it is being destroyed by the garbage collector.
    if you need more help with Flash Media Server, you should direct your questions to the Flash Media Server forums. the Codename Cirrus service is not based on FMS.

  • Network communication server-side (http, SSL)

    Hey all,
    I'm wondering if it's possible at all to make http or even
    arbitrary network requests from the server-side on FMS. Based on
    the documentation (which states that server-side ActionScript is
    just JavaScript 1.5 with a few extra classes), there's no way to do
    this, but I find that to be unbelievable. A $4,500 application that
    doesn't give me the power to make an HTTP request to my web server?
    There must be a way.
    Also, I'd like to make HTTPS requests if possible. If that
    means using an SSL socket and writing my own HTTP requests, or
    using some HTTPS-capable socket or request object, that's fine.
    Anybody know of a way to do this?
    Also, does the same-origin (same-domain) security policy
    still apply on the server side?

    You can use flash remoting to call a web server or an
    alternative is a webservice. There are APIs for both built into the
    FMS server. Or as well a socket call.
    As for HTTPS.. that I'm not sure, I've never had the need but
    I *think* it is supported? Someone else know???

Maybe you are looking for

  • Delta enabled generic data source not updating delta

    HI,    Created one Delta enabled generic datasource with the help of ztable .Fill the content of table by manual entries.    While executin init,records are extracted from R/3 system. After made a change in table entries , it is not captured in RSA3.

  • 3 years on..... A complete re-scan?

    Hi All, I invested in ITunes Match approx 3 years back and have to say i am fairly pleased with the service to date. I have a quick query regarding files that were not matched at that moment in time and were subsequently uploaded because they were no

  • Can you add commerce to an iWeb site?

    I would like to creat a website in iweb but I need to add ecommerce.  Can you do this with iweb?

  • How to boot from USB flash drive - Portege R500

    Hi, I have a Portege R500 running Windows XP, brought about 2 years ago, and recently contracted a worm virus that has infected some of the start up files as the minute I log in it logs out again, even in safe mode! Quickest way I can think of sortin

  • Want to create a Report from scratch!!!

    Hi, I tried to create a report using the document provided by oracle but in vain. Could anyone give a guideline on how to carry on with this task. Or a link to where I can find an interesting user guide. Thanks in Advance.