Trying to Imitate the html POST  method with an applet

I am trying to imitate the POST method with an applet, so that I can eventually send sound from a microphone to a PHP script which will store it in a file on a server. I am starting out by trying to post a simple line of text by making the PHP script think that it is receiving the text within a POST-ed file. The reason I am doing things this way is in part because I am, for the time being, limited to a shared server without any support for servlets or any other server side java.
The code I am trying is based in part on an old thread found elsewhere in this forum, concerning sending data to a PHP file by imitating the POST method:
link:
http://forum.java.sun.com/thread.jspa?threadID=530399&messageID=2603608
someone named "harmmeijer" provided most of the answers on that thread. If that person is still around hope they take a look at this,also I have some questions to clarify what they said on the other thread..
My first attempt at code is below. The applet is in a signed jar file and is trying to pass a text line to the PHP script in the same directory and on the same server that the applet came from. It is doing this by sending header information that is supposed to be identical to what an html form would send if it was uploading a .txt file with the line of text within it. The applet displays one button. When you press it, it sucessfully starts up the postsim method (defined at the end), which is supposed to send the info to the PHP script at the server.
I have two questions:
1) I know that the PHP script is starting up, because it prints out a few messages depending on what happens. However, the script does not recognize any file coming down the line, so it does not save anyting on the server, and prints out a message saying the no file was uploaded.
Any idea what might be going wrong? I'm not getting any error messages from the applet. I've tried a few different variations of the 'header' information contained in the line:
osToServer.writeBytes("--****4353\r\nContent-Disposition: form-data; name=\"testfile\"; filename=\"C:testfile.txt\"\r\nContent-Type: text/plain\r\n");
The commented out line below it shows one variation (which was given in the thread mentioned above).
2) You'll notice that I've commented out the two lines having to do with the input line:
//InputStream isFromServer;
and
//isFromServer = uc.getInputStream();
The reason is that the program crahes whenever I put the latter line in - to the extent that Opera closes down the JVM and then crashes when I tried to exit it.. I must be doing something horribly wrong there! I first tried using isFromServer = new DataInputStream(uc.getInputStream());
becuase it was consistent with the output stream, but that caused the same problem.
Here's the code:
public class AudioUptest1 extends Applet{
//There are a few spurious things defined in this section, having to do with the fact the microphone data is evenuatly going to be sent. haven't yet insterted code to get input from a microphone.
AudioFormat audioFormat;
TargetDataLine targetDataLine;
SourceDataLine sourceDataLine;
DataOutputStream osToServer;
//InputStream isFromServer;
URLConnection uc;
final JButton captureBtn = new JButton("Capture");
final JPanel btnPanel = new JPanel();
public void init(){
System.out.println("Started the applet");
try
URL url = new URL( "http://www.mywebsite.com/handleapplet.php" );
uc = url.openConnection();
//Post multipart data
uc.setDoOutput(true);
uc.setDoInput(true);
uc.setUseCaches(false);
//set request headers
uc.setRequestProperty("Connection", "Keep-Alive");
uc.setRequestProperty("HTTP_REFERER", "http://applet.getcodebase");
uc.setRequestProperty("Content-Type","multipart/form-data; boundary=****4353");
osToServer = new DataOutputStream(uc.getOutputStream());
//isFromServer = uc.getInputStream();
catch(IOException e)
System.out.println ("Error etc. etc.");
return;
//Start of GUI stuff
captureBtn.setEnabled(true);
//Register listeners
captureBtn.addActionListener(
new ActionListener(){
public void actionPerformed(
ActionEvent e){
captureBtn.setEnabled(false);
//Postsim method will send simulated POST to PHP script on server.
postsim();
}//end actionPerformed
}//end ActionListener
);//end addActionListener()
add(captureBtn);
add(btnPanel);
// getContentPane().setLayout(new FlowLayout());
// setDefaultCloseOperation(EXIT_ON_CLOSE);
setSize(250,70);
setVisible(true);
}//end of GUI stuff, constructor.
//These buffers might be made larger.
byte tempOutBuffer[] = new byte[100];
byte tempInBuffer[] = new byte[100];
private void postsim(){
System.out.println("Got to the postsim method");
try{
//******The next four lines are supposed to imitate a POST upload from a form******
osToServer.writeBytes("--****4353\r\nContent-Disposition: form-data; name=\"testfile\"; filename=\"C:testfile.txt\"\r\nContent-Type: text/plain\r\n");
//osToServer.writeBytes("Content-Disposition: form-data; name=\"testfile\"; filename=\"C:testfile.txt\"\r\nContent-Type: text/plain\r\n");
//This is the text that's cupposed to be written into the file.
osToServer.writeBytes("This is a test file");
osToServer.writeBytes("--****4353--\r\n\r\n");
osToServer.flush();
osToServer.close();
catch (Exception e) {
System.out.println(e);
System.out.println("did not sucessfully connect or write to server");
System.exit(0);
}//end catch
}//end method postsim
}//end AudioUp.java

Hi All,
I was trying to write a signed applet that helps the
user of the applet to browse the local hard disk and
select a file from the same. The JFileChooser class
from Swing is what I used in my applet. The problem
is with the policy file. I am not able to trace the
exact way to write a policy file which gives a total
access to read,write,delete,execute on all the drives
of the local hard disk.
I am successful in signing the applets and performing
operations : read,write,delete & execute on a single
file but failing to grant permission for the entire
file.
Any help would be highly appreciated.Which policy file are you using? there might be more than one policy file.
also, u have to specify the alias of the signed certificate in the policy file to grant the necessary priviledges to the signed applet.

Similar Messages

  • HTML Post method.

    HI Experts,
    Here my scenario is Proxy to HTTP.
    My Receiver system need HTML Post method in place of XML file. Normally PI will send the XML but receiver system is expecting HTML POST method.
    For this i have to do in configuration.
    Receiver is expecting below format.
    <html>
    <head>
    <title>Authorize</title>
    </head>
    <body>
    <form action="https://developer.skipjackic.com/scripts/evolvcc.dll?AuthorizeAPI" method="post" >
         SerialNumber<input type="text" name="serialnumber" value="000014661324"><br />
         DeveloperSerialNumber<input type="text" name="developerserialnumber" value="464787130566"><br />
         Sjname<input type="text" name="sjname" value="TSYS Test"><br />
         street address<input type="text" name="streetaddress" value="2230 Park Ave"/><br />
         city<input type="text" name="city" value="Cincinnati"/><br />
         state<input type="text" name="state"  value="OH"/><br />
         zipcode<input type="text" name="zipcode"  value="45206"/><br />
         credit card account number<input type="text" name="accountnumber" value="4445999922225"/><br />
         CVV2<input type="text" name="CVV2" value=""><br>
         expiration month<input type="text" name="month" value="12"/><br />
         expiration year<input type="text" name="year" value="2012"/><br />
         amount<input type="text" name="transactionamount" value="1.00"/><br />
         order number<input type="text" name="ordernumber" value="123"/><br />
         phone<input type="text" name="shiptophone" value="8883688507"/>
      orderstring<input type="text" name="orderstring" value="Test1Test Item 13.001N||210.001N||310.001N||410.001N||510.001N~||" /><br />
         <br />
         <input type="submit" value="submit" />
    </form>
    </body>
    </html>
    Thank you
    Srinivas

    Hi Srinivas,
    I have the same issue with Form submit using Java HTTP adapter.
    It would be great if you can share your java mapping code or advise what should be the outcome of java mapping?
    Should the result of java mapping be some kind of XML payload or some html code ?
    Many Thanks,
    Kind Regards
    Ravi

  • I am trying to change the email address associated with my existing account to free up my university email address for use in obtaining Creative Cloud.

    I am trying to change the email address associated with my existing account to free up my university email address for use in obtaining Creative Cloud.  Every time I go to the account settings of my existing account (which currently uses my university email, as I set it up years ago and had no idea it'd eventually cause problems), I enter a different email to use for that account but I continuously receive an error message saying "account changes cannot be saved."  It makes me think that it's because the email isn't verified (funny, it actually is verified since it has been the alternate email on the old account for years), but when I click the "send verification email" nothing happens (that is, no email is sent to that other email address).
    Anyway, my university is now requiring that faculty create new accounts using our university email addresses in order to register/use Creative Cloud.  Am I able to delete my old account, or can anyone help me actually change the email address associated with my old account without getting a "changes can't be saved" error?

    This is an open forum, not Adobe support... you need Adobe support to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"
    or
    Make sure that EVERY DETAIL is the same in every place you enter your information
    -right down to how you spell and punctuate the parts of your name and address
    Change/Verify Account https://forums.adobe.com/thread/1465499 may help
    -Credit card https://helpx.adobe.com/utilities/credit-card.html
    -email address https://forums.adobe.com/thread/1446019
    -http://helpx.adobe.com/x-productkb/global/didn-t-receive-expected-email.html

  • EA Could Not Find The .html File Associated With...

    After naming folder names, I now get the "EA could not find the .html file associated with..." message when I open the .edge file. When I open the .an file, I have all elements and the timeline are gone! How can I restore it? Surely, it is just a question of changing a path, or? Please help. Thanks!

    From the File > Open menu, browse to the that same folder (the newly renamed one), and select the .html file.
    Darrell

  • I try to play a video through itunes but everytime it tries it causes the software to crash with windows 7.

    Has anyone had this problem?  I've tried to play a video through itunes but everytime it tries it causes the software to crash with windows 7.  I have the newest updates.

    Try the following user tip:
    iTunes for Windows 10.7.0.21: "iTunes has stopped working" error messages when playing videos, video podcasts, movies and TV shows

  • I'm trying to use the Time Warner modum with this wireles...

    I'm trying to use the Time Warner modum with this wireless router (WRT54G ver 2).  It shows I have to connect it to the modem, then from the modem connect the wireless.  Their modem has just one outlet.  Does anyone have any helpful ideas?
    P.S.  They will rent you a wireless router for $5 a month.

    Thanks!  I tried that way, and now we realize that we must have a CD from them to load-up their IP info etc on the new laptop.  I appreciate your short -- correct answer.  I have gotten some, that are so complex; I can't understand anything they wrote. 

  • HT204266 I have redeemed points on my account but, when I try to buy a song I tunes doesnt use them it tries to access the credit card associated with the account for payment.

    I have redeemed points on my account but, when I try to buy a song I tunes doesnt use them it tries to access the credit card associated with the account for payment. How do I tell this thing to use the points instead. duh

    By 'redeemed points' I assume that you mean that you've redeemed an iTunes gift card onto your account (?). If you do then are you trying to buy songs for yourself or are you trying to gift them - you can only gift items from a credit card, an account's balance can't be used for gifting. If you are buying for yourseflt and you are being asked to enter/verify a credit card number then are you currently in the country where your iTunes account is based ?

  • Generate html post request from form9i applet

    I need to interact with a 3rd party credit card processing server form my form9i application.I need to create a html post request with all the input information encapsulated in it and also receive the http response and parse it and display an alert in the form(approved or rejected).Can I do that?
    any answer is going to help me greatly
    Sathi

    GET method may be the easier way. web.show_document('your_url?v1=123&v2=abc'); as of POST method, I guess you need JSP to do it, but how to do it from applet, I like to know too.
    getting back info, I used perl to read the html POST data on web server, then perl parses it and writes to a file on server, then use text_io or utl_file to read data into webform applet fields.
    The drawback I found that the cursor will not get back to webform applet from html pages. I tried to print every possible Javascript methods to wake up it, but it cannot get it.

  • Using perl with the HTTP POST method to exchange XML with the Auth service

    Has anyone written a perl script to do this yet?
    I've been trying all day and keep getting "Content is not allowed in prolog.
    I've used the example xml from the docs
    <?xml version="1.0" encoding="UTF-8"?>
    <AuthContext version="1.0">
    <Request authIdentifier="0">
    <NewAuthContext orgName="dc=exampleorg,dc=com">
    </NewAuthContext>
    </Request>
    </AuthContext>
    Then I read the python post at http://swforum.sun.com/jive/thread.jspa?forumID=79&threadID=22370
    and the error changed to Premature end of file.
    this is the portion of perl that is getting the error:
    use strict;
    use LWP::UserAgent;
    use HTTP::Request::Common;
    my $browser = LWP::UserAgent->new(agent => 'xml client');
    my $greeting = <<GREETING;
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <RequestSet vers="1.0" svcid="auth" reqid="1">
         <Request>
         <![CDATA[<?xml version="1.0" encoding="UTF-8"?>
         <AuthContext version="1.0">
              <Request authIdentifier="0">
                   <NewAuthContext orgName="dc=belo,dc=com">
                   </NewAuthContext>
              </Request>
         </AuthContext>]]></Request>
    </RequestSet>
    GREETING
    my $response = $browser->request(POST 'http://idpoc1.test.belo.com/amserver/authservice',
                        Content_Type => 'text/xml',
                        Content     => [xmlRequest => $greeting]
    print $response->error_as_HTML unless $response->is_success;

    Your problem seems to lie in the build of the request. Here you use the "sample=$data" which will invalidate the XML itself. I've tested your code changing only the build of the Request and this works fine! Given an XML like this :
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <data>
         <txnInfo sourcePartnerCode="6" txnDate="2005.09.08"/>
         <unitOfWorkInfo sourceTicketID="SourceTicket_1" diaryEntry="Diray_1" Status="Status_OK"/>
    </data>
    The Server Stub should look like this :
    #!/usr/bin/perl
    use XML::Simple;
    use Data::Dumper;
    print qq{Content-type: text/xml\n\n};
    if($ENV{'REQUEST_METHOD'} eq "GET"){
         $my_data = $ENV{'QUERY_STRING'};
         print "jfghdsfjghsdg$my_data";
    } else {
         $data_length = $ENV{'CONTENT_LENGTH'};
         $bytes_read = read(STDIN, $my_data, $data_length);
         print "$bytes_read, $my_data";
         $xml = new XML::Simple (KeyAttr=>[]);
         print "have passed XML::Simple creation\n";
         $data = $xml->XMLin("$my_data");
         print "i want to be here \n";
         $transcode=$data->{txnInfo}->{sourcePartnerCode};
         #print "$data->{txnInfo}->{sourcePartnerCode}";
         print $transcode;
         CASE: {
              ($transcode==6) && do {
                   print "i am here";
                   $lstmoddat=$data->{txnInfo}->{txnDate};
                   $srctktid=$data->{unitOfWorkInfo}->{sourceTicketID};
                   $actvtylogdesc=$data->{unitOfWorkInfo}->{diaryEntry};
                   $status=$data->{unitOfWorkInfo}->{Status};
                   $command='bop_cmd -f update1.frg "upd_stats("""Administrator""","""'.$srctktid.'""","""FIP""","""what is this???""")"';
                   print "$lstmoddat $srctktid $status \n";
                   print "$command";
                   system("$command");
                   print "i am done";
                   last CASE;
    And the client stub should look like this :
    use LWP::UserAgent;
    use HTTP::Request;
    use IO;
    #use XML::Writer;
    my $ua = LWP::UserAgent->new(env_proxy => 1, keep_alive => 1, timeout => 30, );
    open INPUT, "<AcceptIncident.xml";
    my @greeting = <INPUT>; #-- Read file containing XML struct to send
    print "Hello World\n";
    my $data_to_send; #-- And build a string of it
    foreach my $newItem (@greeting) {
         $data_to_send = "$data_to_send$newItem";
    print "Sending \n";
    my $head = HTTP::Headers->new(Content_Type => "text/xml", "ID" => "sample");
    my $req = HTTP::Request->new('POST', 'http://matrix/cgi-bin/test1.pl', $head, "$data_to_send");
    my $response = $ua->request($req);
    print $response->as_string; Also you should make sure you have both HTTP::Request amd XML::Simple installed, orelse this will not work.
    Hope this is of some help to you.

  • Tried to follow the second video tutorial with no success

    Hi,
    I tried to run the second video tutorial (Your Second AFCS Application) on LCCS SDK Navigator with no success.
    VideoChat.mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955"
                   minHeight="600" xmlns:rtc="AfcsNameSpace">
        <!-- Place non-visual elements (e.g., services, value objects) here -->
        <!--<rtc:ConnectSessionContainer id="cSession" autoLogin="true" width="100%"
        height="100%" roomURL="https://connectnow.acrobat.com/smoky6880/room">
        -->
        <!--
        <rtc:ConnectSessionContainer width="100%" height="100%" roomURL="https://connectnow.acrobat.com/smoky6880/room4">
        -->
        <rtc:ConnectSessionContainer id="cSession" autoLogin="false" width="100%" height="100%" roomURL="https://connectnow.acrobat.com/smoky6880/room4" creationComplete="showLogin()">
            <rtc:authenticator>
                <rtc:AdobeHSAuthenticator userName="Guest"/>
            </rtc:authenticator>
            <mx:HBox width="100%" height="95%">
                <mx:VBox width="25%" height="100%">
                    <rtc:WebCamera width="100%" height="100%"/>   
                </mx:VBox>
                <rtc:SimpleChat width="75%" height="100%"/>               
            </mx:HBox>
        </rtc:ConnectSessionContainer>
        <fx:Script>
            <![CDATA[
                import mx.managers.PopUpManager;
                protected function showLogin():void {
                    var login:LoginDialog2 = new LoginDialog2();
                    login.connectSession = cSession;
                    PopUpManager.addPopUp(login, this);
                    PopUpManager.centerPopUp(login);
            ]]>
        </fx:Script>
    </s:Application>
    LoginDialog2.mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Panel xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:s="library://ns.adobe.com/flex/spark"
                 xmlns:mx="library://ns.adobe.com/flex/mx" title="Enter Guest Name" width="274" height="116">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import com.adobe.rtc.session.IConnectSession;
                import mx.managers.PopUpManager;
                [Bindable]
                public var connectSession:IConnectSession;
                protected function login():void {
                    connectSession.authenticator.userName = userNameField.text;
                    connectSession.login();
                    PopUpManager.removePopUp(this);
            ]]>
        </fx:Script>
            <s:TextInput width="234" id="userNameField" enter="login()" x="10" y="10"/>
            <s:Button label="Ok" click="login()" x="173" y="43" width="69"/>
    </s:Panel>
    Basically, I pressed the Debug button and all I am getting is:
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 646,462 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 370,463 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 2,292,131 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 648,239 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 441,686 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 1,429,050 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 323,414 bytes after decompression
    I am not getting any message related to connection.  Any idea of what's wrong?
    Thanks,
    Kevin

    I got the following error:
    Description    Resource    Path    Location    Type
    Parse error: '<fx:Script>' is not allowed to follow '<fx:Declarations>'.    LoginDialog2.mxml    /VideoChat/src    line 9    Flex Problem
    If I did:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Panel xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:s="library://ns.adobe.com/flex/spark"
                 xmlns:mx="library://ns.adobe.com/flex/mx" title="Enter Guest Name" width="274" height="116">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
            <fx:Script>
                <![CDATA[
                    import com.adobe.rtc.session.IConnectSession;
                    import mx.managers.PopUpManager;
                    [Bindable]
                    public var connectSession:IConnectSession;
                    protected function login():void {
                        connectSession.authenticator.userName = userNameField.text;
                        connectSession.login();
                        PopUpManager.removePopUp(this);
                ]]>
            </fx:Script>
        </fx:Declarations>
            <s:TextInput width="234" id="userNameField" enter="login()" x="10" y="10"/>
            <s:Button label="Ok" click="login()" x="173" y="43" width="69"/>
    </s:Panel>
    in LoginDialog2.mxml, putting <fx: Script> inside <fx:Declarations>
    I then tried to change some of the code segments around in VideoChat.mxml but still no success:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955"
                   minHeight="600" xmlns:rtc="AfcsNameSpace">
        <!-- Place non-visual elements (e.g., services, value objects) here -->
        <fx:Script>
            <![CDATA[
                import mx.managers.PopUpManager;
                protected function showLogin():void {
                    var login:LoginDialog2 = new LoginDialog2();
                    login.connectSession = cSession;
                    PopUpManager.addPopUp(login, this);
                    PopUpManager.centerPopUp(login);
            ]]>
        </fx:Script>
        <rtc:ConnectSessionContainer id="cSession" autoLogin="false" width="100%" height="100%" roomURL="https://connectnow.acrobat.com/smoky6880/room4" creationComplete="showLogin()">
            <rtc:authenticator>
                <rtc:AdobeHSAuthenticator userName="Guest"/>
            </rtc:authenticator>
            <mx:HBox width="100%" height="95%">
                <mx:VBox width="25%" height="100%">
                    <rtc:WebCamera width="100%" height="100%"/>   
                </mx:VBox>
                <rtc:SimpleChat width="75%" height="100%"/>               
            </mx:HBox>
        </rtc:ConnectSessionContainer>
    </s:Application>

  • Tried to follow the first video tutorial with no success

    Hi,
    I tried to run the first video tutorial (Your First AFCS Application) on LCCS SDK Navigator with no success.
    The code as described is:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:rtc="AfcsNameSpace">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
            <rtc:ConnectSessionContainer width="100%" height="100%" roomURL="https://connectnow.acrobat.com/smoky6880/room">
                <rtc:authenticator>
                    <rtc:AdobeHSAuthenticator userName="*******" password="*******"/>
                </rtc:authenticator>
                <mx:HBox width="100%" height="100%">
                    <mx:VBox width="25%" height="100%">
                        <rtc:Roster width="100%" height="50%"/>
                        <rtc:WebCamera width="100%" height="50%"/>   
                    </mx:VBox>
                    <rtc:SimpleChat width="75%" height="100%"/>                   
                </mx:HBox>
            </rtc:ConnectSessionContainer>
        </fx:Declarations>
    </mx:Application>
    Basically, I pressed the Debug button and all I am getting is:
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 370,463 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 2,292,131 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 706,253 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 648,239 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 441,686 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 1,429,050 bytes after decompression
    [SWF] C:\Documents and Settings\Kevin Lee\Adobe Flash Builder 4\VideoChat\bin-debug\VideoChat.swf - 323,414 bytes after decompression
    I am not getting any message related to connection.  And yes, the username and password are correct; I just removed them for privacy.  Any ideas?
    Thanks,
    Kevin

    Hi Kevin (and welcome to the forums!),
    Wow, that's a trip... ConnectSessionContainer is a visual component, so I
    guess it needs to be outside your <fx:Declarations> tags. I didn't know that
    putting it in there would cause all hell to break loose (I love how the
    number of bytes keeps changing!); you learn something new every day!
    nigel

  • TS1702 My garage band app has crashed & keeps returning to the main screen when I try to open it... I've tried most of the trouble shooting options with the exception of re-installing the app, because I fear I will lose a number of recent projects I have

    My garage band app has crashed &amp; keeps returning to the main screen when I try to open it... I've tried most of the trouble shooting chart (no updates available, tried restarting app, restarted device) all I have left is to re-install the app... My main fear is that if I do this I will lose a load of recent projects that are saved to the app that I've spent the last few days creating... Help...

    I have tried all those things I even updated the software to the new iOS system and it still did fix my problem.
    What happened is that my garage band looks like it will open then it shuts down.
    I have lot of important things on my garage band and I'm afraid that if I uninstall it deleting it then reinstalling it all my work on it will be gone and I can't have that happen.
    Everyday I am hoping that when i go to open the app that is will work but it doesn't it gets ready to turn on then it shuts off , the app doesn't even open all the way and turns off.
    I really hope I don't have to erase it.
    It'll say it's ,lading my songs then it shuts down .
    If I waited for the App Store to come up with an update for garage band should I wait till then to update my app so it doesn't get damaged . I don't want to erase it and all my data get erased . I figured if I wait for an update then my garage band will reset itself but won't delete my data. I'm not sure if that will help. Is there anything you or anyone else might know that can help me with this matter ?
    Thank you
    Simachyahi

  • HTML POST method in a dynamic page

    Greetings Portalists,
    I have a basic question here. I need to pass the values of an html form (constructed within a dynamic page) to a procedure to process the users' inputs. The form is highly dynamic in terms of numbers of parameters, but we're talking about upwards of 200 text fields that require passing. Now, I realise that this in itself isn't a problem, and I've set this up without too much difficulty using method="POST" - but the called procedure in the form's action=... attribute seems to need to be publicly-executable for this scenario to work. For a production environment, I don't want to keep the PUBLIC grant on the procedure, but whenever I revoke it, the Portal throws me back a 404 Not Found when I submit the form.
    So my question is this -- how can I tighten the security around executing the procedure? Are there any best practices for this sort of situation (which I can't imagine are all that rare)?
    I've searched through many various web toolkit and Portal documents looking for an answer to this but to no avail, so any suggestions really would be highly appreciated.
    Many thanks.
    *.s.*

    Granting execute to public make a procedure accessible to portal_public (the schema) which contains the mappings to all the authenticated light-weight users. You can keep the public or portal_public grant for execution on the procedure and yet have a good control on who would be able to see your form. That would be based on your pl/sql logic.
    For instance, if you wish to keep it for only authenticated users (users who are in registered with your portal) or with any certain group of users, you can always apply a block containing code for checking their group memberships. If a user belongs to your desired group, you can let the desired logic expose to them, otherwise not.
    Please check the portal pl/sql api's that come with portal version you are using, for help.
    AMN

  • My IPad screen is dark and will not turn on. I have charged the battery and nothing. I have tried to reset the device as well with no luck. Any suggestions?

    My IPad screen is dark and will not turn on. I have charged the battery and no luck. I have tried to restart it multiple times with no luck. During the restart, the screen will flicker like it is trying to restart but the silver apple never shows. Any suggestions?

    Please tell me that it has NEVER been jailbroke.  If it has never been jailbroke, here are some standard repair procedures:
    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow the on-screen directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore (or it doesn't help), go into Recovery Mode per the instructions here.  You WILL lose all of your data (game scores, etc,) but, for the most part, you can redownload apps and music without being charged again.  Also, read this.

  • I'm trying to use the MediaSmart Music along with Rhpsody. No joy.

    I'm trying to use RHsopdy from within MediaSmart Music. I can see my Rhapsody account from within MediaSmart Music and all, but when I try to play selections, it just clicks but no play. My music library plays great in MediaSmart. Stand alone Rhpsody plays fine. Bit no playing of Rhapsody from within MediaSmart Music.
    I have uninstalled and reinstalled MediaSmart Music. I have downloaded the most recent stuff from HP.
         HELP!!!!!!!

    Not all apps are enabled for AirPlay, this is up to the developer to do

Maybe you are looking for

  • External Hard Drive won't partition

    I just bought a new Seagate 2TB external drive (GoFlex Desk). I tried to partition it into two volumes (1@ 200G, 1@remaining Gs) using Disk Utility and I repeatedly get an error (underlying task reported failure on exit). The best I'm able to do is g

  • Bug: export query to text/clipboard

    since version 1.1patch1, every time i export a query result in format text to clipboard, the only text copied is the stream reference (!), like: java.io.OutputStream@12345. if i export in format text/file, it's all ok instead. saverio m.

  • I have enough usage but I can't update my apps

    I have the gigabytes and everything but I can't update my apps but I have ios7

  • Smart list assign issue

    hi all, How to give the smartlist datasource or data values using csv file or txt file and assign it to the entity dimension or any of the standard dimension the source csv file for smart list NEWBIE,Entity one,Uk 25,US marks,India Stud,India is this

  • Keyboard freezes in msg app

    Hi When typing an sms msg sometimes the keyboard 'freezes' for a couple of seconds. If I keep typing there is no indication of anything happening but after about 10 seconds all the letters I pressed suddenly appear on screen. I tried a back-up and re