Display XML on multiple frames

Hi All, Requesting a little help please! - AS3 I'm trying to load content from an XML Document into a Flash Presentation. My AS is in the top layer. This layer spand the entire document. Layer two is set up with keyframes every 10 frames. Each keyframe has a text box on it. I am trying to load the xml into each of these frames. Here is what I have in the AS Layer. 
var req:URLRequest = new URLRequest("xml/content.xml");
var loader:URLLoader = new URLLoader();
var xmlContent:XML;
function xmlLoaded(event:Event):void
xmlContent = new XML(loader.data);
txt_myTextBox1.text = xmlContent.slideEvent.slideTitle[0]
txt_myTextBox2.text = xmlContent.slideEvent.slideTitle[1]
loader.addEventListener(Event.COMPLETE, xmlLoaded);
loader.load(req);
 The content shows in the first text box on the first frame, When the playhead hits the second keyframe at frame 10 the xml isn't loaded in that text box. The text box instance names reflect what is in the code. When I put both text boxes on frame 1, the content shows..! What do I need to do to get the content to load in each text box? Thanks for any direction.. --
Chip Johns

if txt_myTextBox2 isn't on stage the frame the code is executing, then it hasn't been instanciated yet meaning it doesn't exist.  I'm surprised this isn't throwing a runtime error.  You'd have to put code on the same frame that your new text box is being created to populate it with text.  I haven't done timeline code in years, but you should just be able to add this line of code
txt_myTextBox2.text = xmlContent.slideEvent.slideTitle[1]
to the frame you're adding the text box to the display list.

Similar Messages

  • How to use TextFormat on multiple frames

    I must be missing something, but how on earth do I make it so
    that I can set TextFormats for the whole movie and not just the
    frame the actionscript is on.
    My movie is basically a video with cuepoints that trigger
    different keyframes that display text appropriate to what the
    person featured in the video is talking about. In other words it's
    like a powerpoint presentation that's run by an FLV file. Almost
    all of the blocks of text I'll be displaying are bulleted lists and
    since, for some odd reason, bulleted lists aren't available using
    the standard Flash GUI text formating tools I need to apply them
    via ActionScript. All the ActionScript is in its own keyframe at
    the beginning of the movie timeline. I've setup my text formating
    code like this:
    var bulletlist:TextFormat = new TextFormat();
    bulletlist.bullet = true;
    bulletlist_field.setTextFormat(bulletlist);
    While I have successfully applied this to a box of text on
    the first frame of the movie, I haven't be able to apply it to text
    on any other keyframe. So from what I can tell, I have to reference
    the above TextFormat actionscript for every frame I need to use it
    on, and since I can't have duplicate TextFormat values, that means
    I'd have to create a new instance with a new name for each frame.
    This seems rather inefficient and frankly ridiculous consider that
    the other ActionScript that I wrote seems to apply to the whole
    movie. And what's the point of using ActionScript to format text if
    you have to redo it for every *******' keyframe? Is there some
    function that I'm missing somewhere to allow me to use one set of
    TextFormat code on multiple frames or is this simply a dysfunction
    of Flash and/or ActionScript 3.
    Any help would be appreciated.

    Craig Grummitt - Why so it is. Thanks for pointing that out.
    But my point still remains: You can change the defaultTextFormat
    property before you assign the text property or you can use
    setTextFormat() after you have assigned the text property. That one
    is a property and the other is a method just makes it more likely
    that somebody will over look one or the other!
    fallenturtle - part of the issue is that really great
    typographic stuff is tough and most people can't even use the
    simple tools that we have. For use with CS4 and Flash 10 publishing
    they are coming out with a far more complex Text Layout Framework.
    As best I can tell it is insanely complex and I'm guessing most
    people will never use it....but who knows.
    Additionally you are trying to do one of the more difficult
    things: mix timeline with code. That always gets tricky. If you
    were just using code you could create one textformat instance and
    apply it to all your code-created text fields. But since each
    timeline created clip is a new one you will need to apply the
    formatting by hand.
    Or you could just have one timeline created text field that
    went across all your frames and then change its properties with
    code everytime you needed to change it.

  • How to display XML file in java swing

    hi all
    now i do my M.Sc., project on data maining.this time i have one problem,thats i can't display XML file in swing frame.so any one know this plz give me that idea or code.
    Thanks to all.
    RSK

    One way of doing that is to use JDOM...
    u create an xml tree, and then output using XMLOutputter class...it will be displayed in text...im not sure if thats what u want...however, if u do want to represent it visually then u may need to draw a tree...u may use the Graphics2D for that...there are alot of ways to do such thing, and the 2 possibilities arent the best...depends on what u want...elaborate more pls.

  • Same JVM for multiple Frames in a web application

    Hi guys,
    I have a web application that loads an applet during login. Once the login is completed, the web application will display the available functions accessible with a menu on the left frame and the main display page on the right frame. Whenever any form action is perfomed on the right frame, the jvm with the login session seems to exit (java console closes) and the applet will be loaded to prompt the user to login again. The JRE installed on the Windows client is 1.6.0_14 from SUN.
    I'm guessing that the different frames are using different JVMs?
    Is there a way to use the same jvm for a web application with multiple frames? I want to prevent the case where the user will have to login again.
    Thanks for any advice!
    - Zen -

    I have sort of the same problem
    [Identical applets in the same JVM, next generation plugin issue|http://forums.sun.com/thread.jspa?threadID=5396118]
    I have submitted a Request for enhancement to SUN to allow forced grouping of applets in the same JVM.
    Sort of the opposite of the "separate_jvm" Applet tag parameter.
    It seems there is currently no way to do this.
    [New Plugin command line args|https://jdk6.dev.java.net/plugin2/jnlp/#COMMAND_LINE_ARGS]
    When per-applet JVM command-line arguments are specified, it is likely that the new Java Plug-In will need to launch another JVM instance in order to satisfy them. In other words, it is unlikely that a preexisting JVM instance will have been started with the correct set of command-line arguments to satisfy the current applet's request. The rules for exactly when a new JVM instance is launched to start a given applet are deliberately left unspecified, as this functionality is brand new in the 6u10 release and may need to change in subsequent releases. Here is a rough set of guidelines for the sharing and creation of new JVM instances:
    * If the command-line arguments used to start a preexisting JVM instance are a superset of the requested arguments, the preexisting JVM instance will be used.
    * If a JVM instance is launched for the "default" set of command-line arguments (i.e., those specified in the Java Control Panel, with no per-applet arguments specified), then this JVM instance will never be used to launch any applet that has even one per-applet command-line argument.
    * -Xmx is handled specially: if a preexisting JVM instance was started with for example -Xmx256m, and a new applet requests -Xmx128m, then new applet will very likely be run in the preexisting JVM instance. In other words, -Xmx specifications are matched with a greater-than-or-equal test.
    There is no way to "name" a JVM instance used to launch a particular applet and "force" subsequent applets into that JVM instance.
    See the section on the separate_jvm parameter to isolate a particular applet in its own JVM instance, separate from all other applets.

  • Render Multiple Frames Headache

    I hope I could get some guidance on optimum usage of Render Mutiple Frames as I have been hitting a wall with little-to-no success so far. I have read all the Adobe suggestions (thanks Todd Kopriva) and I still get failed renders when trying to render multiple frames. I am the guinea pig for the hardware setup for the department. Currently, the hardware is a Lenovo ThinkStation C20X, dual Xeon 6-core 2.4 GHz processors (24 available to AE with hyper-threading), 96 Gb RAM (yes, ninety-six gigs), Win 7 Pro 64-bit, nVidia QUADRO 2000D, AE CS5.5. Our department currently works in an unusual AE project file that is used for display advertising on an unusually-shaped gigantic digital screen in Times Square. Currently, the working comp is 2517 x 4478 which is then nested into two comps for output of TGA sequences that are: TOP = 440 x 3694 and, BOTTOM = 2517 x 554. Most of the working comp space is deadspace as the layout of the signs is comparable to a large upside-down capital letter 'T'. We are currently in transition as the signs are hitting their life cycle and we are refreshing them with a finer pitch-count - in essence, we are doubling the resolution. The new working comp is 5034 x 8956 that is nested into our output comps which are: TOP = 852 x 7386 and BOTTOM = 5034 x 1098. For the most part we do not use "crazy" effects, etc. I have tried rendering multiple frames and have yet to get TOP & BOTTOM to both render without either one or both of them failing using various trial-and-error settings in the preferences; I have limited the # of cores (have yet to try to exceed 8 simultaneous CPUs). I edited the preferences file to allow me to select more RAM per CPU (currently, my pull-down has 4, 5, 6 & 8 Gb RAM per CPU available for me to choose from). Maybe I am going under the false assumption that filling the machine with 96 RAM would allow me to effectively use more CPUs in rendering TGA sequences. I thought that was the whole point. I usually get errors like the following:
    Output To: C:\Sonic RenderTest\Top\TOP_[####].tga
       There is an error in background rendering so switching to foreground rendering after 41 frames completed out of total 900 frames. (26  ::  142)
    After Effects warning: A frame failed to render while using Render Multiple Frames Simultaneously. Allocating more memory to the background processes in Memory & Multiprocessing Preferences may fix this problem. (26  ::  142)
    Didn't think this was possible with 96Gb RAM and 8GB RAM per CPU allocated. Any guidance here is greatly appreciated as I am on the hook with the rest of the department and with my boss as I convinced him that 96 GB RAM would make our lives easier.

    Thanks for the reply Dave. From the projects cited above, one had a QuickTime with Animation codec and the other had H.264. I think we are getting close to honing-in on the issues we are having as it seems that anything with a .MOV as a source file seems to throw AE MP rending for a loop. Currently using AE 5.5. Conversely, MP plays very nicely with projects that do not include a QuickTime file as a source; I have been doing extensive testing using the following settings; 16GB/CPU - 4 CPUs used, 12GB/CPU - 6 CPUs used, 10GB/CPU - 8 CPUs used, 8GB/CPU - 10 CPUs used and 6GB/CPU - 12 CPUs used.
    I guess I still have a few questions remaining in trying to troubleshoot the issue at hand:
    - By any chance are there any MP improvements in CS 6 that may alleviate the issue we are experiencing?
    - I am wondering if I am hitting a bottleneck getting the info (.MOVs) into RAM - to be more specific regarding my setup, in addition to my previous post - My machine currently has two 250GB SAS drives @ 10K RPM that are RAID 0. Disk cache is set to the default settings. We are considering additional drives - thinking one for OS & Applications, 1 for source files and one for output of the image sequences. Any insight to drives, where to set the cache, types of drives (SSD drives fall out of budget for the machine I have - already priced and axed. I think we are considering two more 10K SAS drives as an option)?
    - This one is a longshot, but I thought I saw a crazy post somewhere in my research of this issue saying to get rid of QuickTime. I was always under the assumption that QuickTime was a vital prerequisite for AE. Any truth/validity in getting rid of QuickTIme?

  • Display Data from multiple models in one table

    Hi Experts,
    Is it possible to display data from multiple models in one table smltnsly.
    I have created a table dynamically.Now I would like to display data from multiple models... If this possible,can anyone give me a lead as to how to do it..
    Regards
    SU

    Hi
    Your Model Nodes be
    Model1
    ---Output_Model1
    Attrib1
    Attrib2
    Model2
    ---Output_model2
    Attrib1
    Attrib2
    and the value node is
    ValueNode
    ---Attrib1
    ---Attrib2
    Now the coding.
    int size;
    IPrivate<ViewName>.IOutput_mode1Node  node1 = wdContext.nodeOuptut_Model1();
    IPrivate<ViewName>.IValueNodeElement elem;
    size = node1.size();
    for(int i=0; i<size; i++)
       elem = wdContext.createValueNodeElement();
       elem.setAttrib1( node1.getOutput_Model1ElementAt(i).getAttrib1() );
       elem.setAttrib2( node1.getOutput_Model1ElementAt(i).getAttrib2();
       wdContext.nodeValueNode().addElement( elem );
    similar code for Model Node 2
    Regards
    Abhimanyu L

  • Display data from multiple document Libraries in List View Webpart

    Hi All,
    I want to display data from multiple document libraries into one list view webpart(custom i have created)
    I went through the following link http://blogs.msdn.com/b/ramg/archive/2009/04/22/implementing-a-simple-cross-site-collection-list-view-webpart.aspx
    but it tells to display only from one document library.
    My motive behind displaying data in the list view webpart is to achieve the functionality of Check In ,Check Out and other OOB features.
    With Regards,
    Jaskaran Singh

    Hi,
    As there is no such OOTB feature, a workaround is to create a visual web part to gather items from libraries and implement functionalities like Check in, Check out files
    in different libraries.
    The links below will provide more details:
    Create Visual Web Parts in SharePoint
    2010
    A demo about displaying list items in visual web part:
    http://www.dotnetcodesg.com/Article/UploadFile/2/217/Web%20Part%20in%20SharePoint%20To%20Show%20All%20List%20and%20List%20Items.aspx
    About the Check In and Check Out:
    How to Check In a document programmatically
    SPFile.CheckIn method
    and SPFile.CheckOut method
    Best regards
    Patrick Liang
    TechNet Community Support

  • I'm trying to print multiple frames from a website onto separate pages.

    Firefox has this option on OSX (each frame on separate page), but safari seems to lack such an option.
    I need to print multiple frames (invoices from zencart) each on separate pages. When I try to print with Safari it will either try and print the selected frame, or it will print all the frames as it's laid out on the page (all printed on one page). Am I missing this option somewhere? Is there an extension I can try (already tried print plus to no avail)?
    Thanks for all the help!

    Wasn't aware of that, I'm trying to disable Full Screen completely in all Apps on my Lion.

  • Displaying XML Document in new browser window

    Hi,
    I have a hyperlink on my page. When I click on it, it will open a new IE window and display xml document.
    The new window is displaying some of the xml and at the end displaying the following:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    End element was missing the character '>'. Error processing resource 'http://localhost:28080/benchmark/faces/displayXMLDocu...
    However, I cut and paste the xml String where I write it to the HTTPServletResponse to XMLSPY and it displays correctly.
    Please let me know.
    Rgrds

    Here are the steps:
    1. I created page1 that has a hyperlink.
    2. Hyperlink property are set to display page2 in a new window. (popup).
    3. page2.prerender() method, I set the response to the following:
    public void prerender() {
    javax.faces.context.ExternalContext ec = this.getExternalContext();
    HttpServletResponse response = (HttpServletResponse)ec.getResponse();
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.setHeader("Cache-Control","must-revalidate");
    response.setHeader("Cache-Control","max-age=0");
    response.setHeader("Pragma","no-cache");
    response.setHeader("Expires","0");
    response.setContentType("text/xml");
    response.setBufferSize(5000);
    String xmlString = getRequestBean1().getBookingPnrDetailsXML();
    try{
    xmlString="<?xml version=\"1.0\" encoding=\"UTF-8\"?><root><test1>this is a test</test1><victor>Hello Victor</victor></root>";
    PrintWriter out = new PrintWriter(response.getOutputStream());
    log(xmlString);
    out.print(xmlString);
    }catch(IOException io){
    System.out.println("" + io.getMessage());
    io.printStackTrace();
    4.page2.jsp code is the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/xml;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view/>
    <ui:page binding="#{displayXMLDocument.page1}" id="page1"/>
    <ui:html binding="#{displayXMLDocument.html1}" id="html1"/>
    <ui:head binding="#{displayXMLDocument.head1}" id="head1"/>
    <ui:link binding="#{displayXMLDocument.link1}" id="link1"/>
    <ui:body binding="#{displayXMLDocument.body1}" id="body1"/>
    <ui:form binding="#{displayXMLDocument.form1}" id="form1"/>
    </jsp:root>
    please let me know.
    Rgrds.

  • How can we get the reference of XML element on frame as soon as frame is created in Document?

    Hi,
    When ever we copy any text/table cells from any frame, and paste it directly on page, A new Frame is created and the pasted text is placed inside that frame.
    Now to capture this frame creation, We have two possible solutions:
    1) Attach Observer on Document 'kDocBoss' on IID_IHIERARCHY_DOCUMENT and it will notify on frame creation in update function.
    2) Notification event on new story creation.
    Now, I need to perform some changes in the newly created table, for example:
    a)  Need to delete XML tags from newly created frame
    b)  Need to perform action on table cells if any in the created frame.
    But the problem is, when the event comes, I can access basic properties of frame like it's name, type etc, but it does not give me the
    XML element on frame or tables in frame until the event is com pleat.
    I know it's quite a specif requirement, but I guess many of you might have faced these kind of challenges, while processing the event.
    Does any one has any idea how I can get the reference of XML element on frame as soon as it is created?

    Hi Kapoor,
    please give also others a chance, and excuse that I get up late on vacation ;-)
    Anyway, I'd keep the story creation responder to recognize the copy, then combine it with an observer on the backing xml story to catch the associated XML element which is created there. Something like below:
    UIDRef xmlStoryRef = Utils<IXMLUtils>()->GetBackingStore(doc);
    InterfacePtr<ISubject> subject ( xmlStoryRef,IID_ISUBJECT );
    subject->AttachObserver(observer,IID_IIDXMLELEMENT,observer->GetAttachIID());

  • How do I display data from Multiple Queries in a spreadsheet?

    I am running Oracle forms 10g as a kicker to export a report (rdf 10.1.2.0.2) to PDF or Excel Spreadsheet - User's choice.
    Doesn't matter if I have desformat = SPREADSHEET, DELIMITEDDATA, or DELIMITED; I still get only the first query displayed when I run in spreadsheet format.
    How do I display data from Multiple Queries in a spreadsheet? Is this possible?
    Thanks in advance!

    Hi adam,
    did you search the forum? You will find a lot of threads handling the problem of Excel file access.
    In short: you need to use ActiveX (the RGT also uses ActiveX under the hood)!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Trouble with editing multiple frames

    Hi guys,
    I'm new to CS4 - learnt my flash many years ago on Flash 5. So anyway I'm trying to get used to the new Motion Tween function and having a few problems.
    I've created a simple animation where an object fades in, stays put for a moment and then fades out (one motion tween with 4 keyframes). I now want to resize the movie clip across all of these keyframes cos I got it wrong to start with.
    So I click 'Edit Multiple Frames' (everything disappears but that's for another question), drag the onion thingy across the timeline and select the frames on the layer I want to edit. I then click on the free transform tool and drag the invisible movie clip (you can see the outline!) to make it larger.
    Result? Well it seems to scale the first frame, but the others are all left at the original scale. Hence animation now shows object fading in whilst getting smaller etc. etc.
    There must be an easy way to do this. I've tried the motion editor but you have to do it keyframe by keyframe. Any suggestions?
    Thanks
    Ben

    Modifying an entire animation with motion tweens is not as easy as it used to be.
    Here's the best answer you are probably going to get.
    from : http://flashthusiast.com/2009/10/06/scaling-and-moving-new-motion-tweens-in-flash-cs4/
    Scaling an entire animation that does have Scale X or Scale Y animated.
    If you have previously scaled anything in the tween, doing this is applied to the first keyframe and the tween would animate to the earlier scaling (the auto-keyframing feature can be a detriment in this situation, especially when it comes to scaling due to the percentages being reset - for this reason Motion Presets also won’t help). In this situation, I recommend scaling using the Motion editor:
    1. Go to the Scale X and Y properties in the Motion Editor.
    2. Press the Alt key while dragging the curve in each graph up and down. This scales the entire scale animation at the same time (same as edit multiple keyframes).
    3. If you need to proportionally scale the motion path for the tween as well, select the path on the Stage and use Free Transform or enter a new value in the Transform panel.
    I have had success with the above method, but from what I can tell you can only do one property at a time on one object at a time. So it is an awful amount of work.
    As for step 2: while dragging the whole curve it seems the property value is very reluctant to snap to whole integers and I often see values like 200.35%.
    Same thing applies for dragging property keyframes up and down in the motion editor. Is there a way to get nice clean numbers? I I want to scale something by 50% I don't want 49.83% I find myself often keying in these values by hand.
    For me even though scale X and scale Y are "linked / locked / contstrained" It seems I get mixed results with this feature. Changing scaleX doesn't always change scaleY

  • IE + SVG = "Cannot display XML page" ?

    Dear friends,
       I am from Taiwan.  I have a question about SVG display on IE. 
       I have a very simply SVG file as the following code.  I installed Ferdora R12 with apache web server (192.168.0.8) inside my company.
    I installed Tomcat 6.0 on my PC(192.168.0.100, window 7 with IE8.0).  I put this SVG file on Fedora, and I can see the vector graphs through
    Chrome and Firefox, but not IE(already installed SVG viewer, with the error message as following).  I put this SVG file on my PC, I can see the vector graphs by IE, Chrome and Firefox through Tomcat or opening file directly. I even put this SVG file on the web server of my company, and vector graphs can be displayed well through all of IE, Chrome and Firefox.
      The problem seems only happen in the situation "Fedora R12 + IE".  Do you have any idea of this problem?  I really need your help.
      Thank you.
    ======= Code =============
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.//EN"
    "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
    <svg id="svg00" version="1.1" xmlns="http://www.w3.org/2000/svg" >
    <svg id="svg01" x="0" y="0" width="654.1" height="654.1" version="1.1" xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink">
        <a xlink:href="http://www.w3.org//Graphics//SVG//Overview.htm8">
            <rect x="10" y="10" width="100" height="30" rx="10" ry="10"
                  style="fill:lightgrey"/>
            <text x="30" y="30" font-size="12">Click here</text>
        </a>
        <a xlink:href="http://www.ibm.com//developerworks/">
            <circle cx="100" cy="100" r="50" style="fill:grey"/>
            <text x="80" y="100" font-size="12">Or here</text>
        </a>
        <a xlink:href="http://www.ibm.com/" target="new">
            <polygon
                  points="60 160,165 172,180 60,290 290,272 280,172 285,250 255"
                  style="fill:dimgrey"/>
            <text x="160" y="200" font-size="12">Or even here</text>
        </a>
    </svg>
    </svg>
    ==========================
    The error message is in Chinese, but I translate it as possible as I can.
    ====== Error message ==========
    Cannot display XML page
    Cannot use style table (or form) to view XML input. Please correct this problem and reload this page, or try again later.
    Unidentified error with processing resourse
    There is something wrong with 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'
    =============================

    Hi,
    The string is not correctly formed ( a quote and a concatenation ) :
    Your url :
    v_url:=nvl(v_rep_port,'http://'||v_rep_HOST ||':'||v_rep_port||')||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_rep_svr;
    The Correction :
    v_url:=nvl(v_rep_port,'http://'||v_rep_HOST ||':'||v_rep_port)||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_rep_svr;
    Hope it helps
    Mohamed Dadi

  • How to display XML file that XI sent to my j2ee appl?

    Hi,
    In my scenario File->XI->J2EE appl.
    I got XML page cannot be displayed.
    XML document must have a top level element. Error processing resource 'http://localhost:7001/Invoke/DisplayRes'.
    I deployed my .ear file on BEA Weblogic application server9.0
    I found no error when i tested in SXI_MONI and RWB->Message monitor as well.
    This is my servlet code:
    public class DisplayRes extends HttpServlet {
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
         doPost(request,response);
         public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
         BufferedReader brin =new BufferedReader(new InputStreamReader(request.getInputStream()));
         String inputLine;
         StringBuffer sBuf = new StringBuffer();
         PrintWriter out = response.getWriter();
         response.setContentType("text/xml");
         while ((inputLine = brin.readLine()) != null)
             sBuf.append(inputLine);       
             //out.setContentType("text/xml");
             //out.println(sBuf.toString());
             out.write(sBuf.toString());
              brin.close();
             out.flush();
    What went wrong.All helpful answers are highly rewarded.
    Thanks

    Hi
    Can anyone tell me how XI sends messages to applications like J2EE. In REceiver comm channel, I think we specify about the target system like J2EE appl.
    Aadapter Type: HTTP
                   Receiver
    Transport Protocol:  HTTP1.0
    Message Protocol:    XI payload in HTTP body
    Adapter Engine:      Integration Server
    Addressing Type:     URL address
    Target host:         localhost
    Service Number:      7001(Port number of Weblogic appl server--where my J2EE appl is deployed).
    Path     :  /Invoke/DisplayRes/
    Authentication Type:Use Logon Data for SAP System
    Content Type: text/xml
    Username:   xiappluser
    password:   xx
    XML code:   UTF-8
    I suppose XI sends msgs to http://localhost:7001/Invoke/DisplayRes/........
    in this example if am correct?
    Then I have given all tyhe necessary setting but my servlet is not able to display XML msg in browser?
    This is my servlet code:
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
         PrintWriter out = response.getWriter();
         BufferedReader brin =new BufferedReader(new InputStreamReader(request.getInputStream()));
         String inputLine;
         StringBuffer sBuf = new StringBuffer();
            response.setContentType("text/xml");
         while ((inputLine = brin.readLine()) != null)
             sBuf.append(inputLine);
             out.println("hi");            
                out.println(sBuf.toString());
             brin.close();
             out.flush();
    What went wrong?
    Help me, all helpful answers are highly rewarded.
    Thanks

  • Error with Render Multiple Frames

    I have this problem before and the only solution I had was to reinstall the WHOLE system and it was fixed that way (but manually install Adobe CC).
    The problem is the next:
    After Effects doesn't render anything if I have "Render Multiple Frames Simultaneously" enabled. If click "Render" and it keep there forever and it never render, sometimes it automatically stop with an error:
    "After Effects Error: Rendering error while writing to file. An output module failed. The file may be damaged or corrupted (-1610153464)"
    This error shows up if I manually stop the rendering process.
    If I disable "Render Multiple Frames Simultaneously" it render without any trouble, but that is not the point, I was able to render using that feature without any trouble before and I doubt I should have any trouble with my current specs.
    When I close AE, multiple "aeselflink" keep running about 15% each one.
    What I'm aware off:
    - I have the latest After Effects version from the Creative Cloud.
    - I have quicktime installed, since It comes in the core of OSX.
    - I have fixed my permissions.
    - I have deleted ALL the Adobe folders from "Preferences" Library folder.
    - I have reinstalled After Effects 2 times.
    - Adobe Media Encoder renders without any trouble
    - I have tried to render .mov, tiff sequences, mpeg, flv, all with the same results.
    Using OSX 10.8.3 with 32GB RAM and i7 processor (4 cores with 8 cores running with hyper threading).
    Thanks in adnvace.
    Here is a video:

    Stock answer no. 1: You have installed a CoDec (or Quicktime Component) that is not safe for MP rendering and messing up things. Could be an audio device driver, something liek a screen recording software or speech-to-text tool, could be Skype or similar even. check that and remove the relevant QT extensions/ diable them.
    Mylenium

Maybe you are looking for