Troubles of transfering parameter between jsp and flash

I have a problem in programming. I can't actualize the
parameter's transfer from a jsp file to my flash. It could run
normally when I first design this program some weeks ago. But now,
it can't work! I don't know why.
My flash player's edition is 7. The flash code is :
var id;
var flash;
_root.onLoad = function() {
loadVariables("
http://localhost/exonline/flashtest/jspfile/flash.jsp","_root","POST");
_root.onData = function(result) {
_root.reply_clientData = id + flash;
The jsp code is:
out.println("&id=this is flashid from
session&&flash=flashfilename &");
I have completed the security settings following the
instruction on the web that always allow and adding the flash file
into trust fields, but it still don't work. Who can help me? Thank
you very much!

Is there anybody can help me?

Similar Messages

  • Sending parameter between JSP and CGI

    How to send parameters from CGI to JSP ? And how to receive returned value from JSP to CGI?

    When you mention "rest of params" as a parameter, would the request not include all of the parameters within that bean????
    You might be calling ur bean from the JSP right, for
    eg assume your bean name is "myBean".
    From JSP you pass the request object ie,
    myBean.executeTransaction(request,<rest of the
    params you need>)Your bean should be like
    import javax.servlet.*;
    //methods
    public String executeTransaction(HttpServletRequest
    request, <rest of the paramss){
    //do you check here
    //if request.getParameter("actionPerformed")==null(?)

  • Communication between jsp and abstractportalcomponent

    Hello All
    Communication between jsp and abstractPortalComponent.
    jsp contains one input text field and one submit button.
    when the user clicks on submit button it will call the component and that input value will
    display in same jsp page.
    how this communication will happen?
    Rgrds
    Sri

    Hi Srikanth,
    In the JAVA File, 
    OnSubmit Event,
    String inputvalue ;
    InputField myInputField = (InputField) getComponentByName("Input_Field_ID");
    if (myInputField != null) {
                   inputvalue = myInputField.getValueAsDataType().toString();
    request.putValue("textvalue", inputvalue);
    request is IPORTALCOMPONENTREQUEST Object.
    In JSP File,   to retreive the value,
    <%
    String  textstring = (String) ComponentRequest.getValue("textvalue");
    %>
    In PORTALAPP.XML File,
    <component name="component name">
          <component-config>
            <property name="ClassName" value="classname"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
    Using the code above, You can pass and read values between abstract portal component and Jsp Page.
    Instead of this, I suggest you to use JSPDYNPAGE Component for Data Exchange.
    Check the [Link|http://help.sap.com/saphelp_nw2004s/helpdata/de/ce/e0a341354ca309e10000000a155106/frameset.htm].
    Hope this helps you.
    Regards,
    Eben Joyson

  • What's the difference between jsp and jsf?

    who can tell me what's the difference between jsp and jsf?
    I'm puzzled when I found some of the technology in jsp is so similar to the ones in jsp( javaserver page)

    Hi,
    Find the difference between JSP and JSF
    1. A developer has more control with JSP, but (should) get easier development with JSF
    2. Event handling is done differently in JSP (HTTP) and JSF (Java)
    3. The UI is designed differently (or should be at least) with JSP (markup) and JSF (components).
    4. The end product should also be defined differently - JSP page versus a JSF application.
    Is this the only thing that is need to make a decision for either or? Probably not. There are other pieces that need to be taken in account when deciding which technology to use - tools support, enough components, type of application etc.... At this point there are not enough JSF components (although there are some interesting projects underway - Ajaxfaces, Myfaces, ADF Faces, and WebChart 3d) and enterprise tools support is still limited to a few tools vendor. Looking at our ADF Faces components they are currently available as early access (not production) and demands for these components are stacking up, literally, outside my office doorstep. Although I would love to make them production - now! - it is not a viable solution since we are still checking features and fixing critical bugs.
    All this combined - not enough enterprise level components in production, lacking tools support etc... - leave customers in a vacuum where the decision is either to continue with JSP, since it is mature and has a wide developer base, or move forward with JSF not sure if the support, or the developers will be there. This is particularly sensitive to customers that need to get started now and be production by summer.
    If you are in this vacuum here are some key points promoting JSF:
    1. Fundamental unit is the Component
    2. Built in event and state management
    3. Component sets can be provided by any vendor
    4. Closer to ASP.Net or Swing development
    5. Choice of UI technology
    6. Scale up (rich clients)
    7. Scale down (mobile devices)
    8. Built into J2EE containers in J2EE 5.0 (tentative)

  • [svn:osmf:] 13042: Fix for FM-287, reinstating the main sample ( that uses serial and parallel composition), and making another pass at  getting all the changed trait methods mapped correctly back- and forth between JS and Flash .

    Revision: 13042
    Revision: 13042
    Author:   [email protected]
    Date:     2009-12-17 03:45:27 -0800 (Thu, 17 Dec 2009)
    Log Message:
    Fix for FM-287, reinstating the main sample (that uses serial and parallel composition), and making another pass at  getting all the changed trait methods mapped correctly back- and forth between JS and Flash.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-287
    Modified Paths:
        osmf/trunk/apps/samples/framework/HTMLGatewaySample/HTMLGatewaySample.as
        osmf/trunk/apps/samples/framework/HTMLGatewaySample/html-template/index.template.html
        osmf/trunk/framework/MediaFramework/org/osmf/external/HTMLElement.as
        osmf/trunk/framework/MediaFramework/org/osmf/gateways/HTMLGateway.as

    Perre wrote:I'm used to being able to pick one or a couple of songs and then adding it a specified playlist. Is this impossible in sonata?
    It's clearly not impossible, just different than you expect. Create your playlist as you want it to appear in the Current tab (meaning don't dump every single song from your library in there, just the ones you want) and then save the playlist.
    Perre wrote:And if I try to play the m3u file created (the one with every song listed) through freevo I get a message that the directory is empty. What am I doing wrong??
    Look at save_absolute_paths_in_playlists in your mpd.conf.

  • Dynamic link between Photoshop and Flash Catalyst does not exist

    Hi,
    I'm a french developer and I have a question.
    I didnt find any Dynamci link between Photoshop and Flash Catalyst.
    Let me explain :
    I have a photoshop file (.psd) and I import it into Flash Catalyst.
    But I have some modification to do on my design file (psd) but the design does not update himself in Flash Catalyst .
    Do you plane to add the possibility ?
    Thanks a lot !
    Clement
    http://www.dator.fr

    Given that you named the class TextDynamicLayout, it implies you are trying to handle wordwrapping text.  That requires handing down the VBox's explicitWidth to the Text controls before they get measured.  Wordwrapping text can be any size so it needs to have its width fixed in order to determine its height.
    The List classes do not support percentages on the renderers.  All renderers are effectively given a size based on the List's size (or DG Column size).  You can see how explicitWidth is handled in the default renderer by looking at the source for ListItemRenderer.as.
    Note that VBox or any container makes for heavy and slow rendering.  That's why the default Flex renderers extend UIComponent and have custom measure() and updateDisplayList() methods.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • How to deliver variable between jsp and EL ?

    this is the code of my *.jsp
    <%
    int g_nAge=12;
    %>
    ${g_nAge}
    I suppose that "12" is showed in my web-page,but actually I see nothing.
    This is an example in my jsp book showing the delivering variable between JSP and EL !
    how can it do that ?

    EL cannot pick up scripting variables. It picks up attributes from scope only.
    Similarly it doesnt set any scripting variables too.
    <%
                  int g_nAge=12;
                  pageContext.setAttribute ("g_nAge", new Integer(g_nAge));
    %>
    ${g_nAge}cheers,
    ram.

  • Difference between JSP and ASP

    Whatz the diff between JSP and ASP

    Hello msdnexpert,
    Active Server Pages (ASP) allows you to build rich, data driven, dynamic complex applications. ASPs are written in Perl, VBScript, C/C++. They run on machines running Microsoft Windows. With ASP, an HTML page on a web server can contain snippets of embedded code. This code is read and executed by the web server before it sends the page to the client (usually a browser such as Netscape Navigator or Microsoft's Internet Explorer.) For more information on ASP see:
    http://www.microsoft.com/workshop/server/default.asp
    or
    http://www.activeserverpages.com
    Java Server Pages (JSP) also allows you to build rich, data driven, dynamic complex applications. JSPs are written in Java. They run on any Java enabled machine, including Solarlis, Windows, Linux, and Mac OS. JSPs also makes available all of Java's industrial strength security for free. JSPs uses a syntax similar to ASP except that the scripting language is Java. Unlike ASP, JSP is an open standard implemented dozen of venders across all platforms. JSPs are closely tied to servlets because a JSP page is transformed into a servlet as part of its execution. For more information on JSP see:
    http://java.sun.com/products/jsp
    A servlet is a generic server extension -- a Java class that can be loaded dynamically to extend the functionality of a server. Servelets are commonly used with web servers, where they can take the place of CGI scripts. A servlet is similar to a proprietary server extension, except that it runs inside a Java Virtual Machine on the server side, so it is safe and portable. Servlets operate solely within the domain of the server: Unlike Applets, they do not require support for Java in the web browser.
    Unlike CGI, which must use multiple process to handle separate programs and/or separate requests, servlets can all be handled by separate threads within the same process or by threads within multiple processes spread across a number of back end servers. This means that servlets are also efficient and scalable. Because servlets run with bi-directional communication to the web server, they can interact very closely with the server to do things that are not possible with CGI. Another advantage of servlets is that they are portable: Both across operating systems and across web servers.
    Resources used in researching this response:
    Java Servlet Programing 2nd Ed by Jason Hunter with William Crawford.
    http://press.oreilly.com/jservlet2.html
    http://oreilly.com/catalog/jservlet2/
    -Merwyn,
    Developer Technical Support,
    http://www.sun.com/developers/support.

  • Difference between JSP and JSF

    What is the difference between JSP and JSF?
    Is it necessary to learn JSP before starting with JSF?

    JSP is a view technology providing a template to write plain HTML/CSS/JS in. JSP supports Java based taglibs to generate output and/or control the page flow dynamically. A well known example is JSTL. JSP also supports access to backend data with help of EL (Expression Language).
    JSF is a component based MVC framework which provides taglibs for use in JSP, the JSF core tags in <f:xxx> and the JSF HTML tags in <h:xxx>. Those tags generate HTML output and are tied to JSF component tree in the server memory so that the FacesServlet can work on them to gather request parameters, validate/convert them, update the model values (javabean properties), invoke some actions (javabean action methods) and render the response.
    You can use JSF on top of either JSP or Facelets. Facelets is another view technology. JSP is ancient and has its shortcomings when JSF comes into picture. Facelets is designed with JSF in mind and much more well-suited for it and provides great templating/composition capabilities to reuse specific groups of components without the need to wrap them in another custom component (so that you don't duplicate the same code over and over, e.g. label+input+message.

  • Passing values between jsp and php

    hi there, is it possible to pass values between jsp and
    php? i really need to find out the way if there is
    any. thanks in advance
    -azali-

    Yes, there are a few ways to do this.
    1) Think about using Cookies.
    2) Maybe use a Redirect passing the values in the Query string.
    3) Retain the data in a repository in the back end.
    4) Using Hidden fields within your pages.
    I am sure you can use these Idea's for a base to develop other methods on how to pass values back and forth from JSP -> PHP and vice versa.
    -Richard Burton

  • Connection Between JSP and PostgreSQL

    Hello all,
    Pls provide me some code about database connection between JSP and PostgreSQL.
    i need reference of PostgreSQL and JSP also.
    Thanking u,
    Ripon

    go to PostgreSQL website and download the JDBC or other connection and use it.
    Setup the connection from your controlpanel > ODBC data source if its win98 OS.

  • Difference between fl and flash libraries?

    (new to cs3 - java expert...)
    I'm trying to write some action script to set the default
    focus of a text component when the applications run...
    It seems there is a fl.managers.FocusManager that
    could/should do it... but for some reason, I cannot import that
    package into my AS. I can import an arbitrary
    flash.<something>.somthing.
    Question - In the AS editor, there is a menu (plus sign (+)
    icon) with all(?) the available packages/classes, languange
    constructs, etc. Should I be able to use them all? Is there a
    difference between "fl" and "flash" - assuming "fl" is for Flash
    just like the product logo "fl"?
    thanks a bunch.

    Craig,
    > Is there a difference between "fl" and "flash" -
    assuming "fl"
    > is for Flash just like the product logo "fl"?
    The fl packages are top level classes based on ECMAScript,
    while the
    flash packages are specifically Flash Player APIs.
    > for some reason, I cannot import
    [fl.managers.FocusManager]
    > into my AS
    Are you writing timeline-based code, or a class file? Have
    you tried
    the sample code shown in the FocusManager entry of the
    ActionScript 3.0
    Language Reference?
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Difference between FP7 and Flash Lite

    can anybody tell me what the difference is between FP7 and
    Flash Lite? I only want to view content not create it. Can Flash
    Lite play embedded media players? (i had FP7 installed on my iPAQ
    but i cannot view any of the embedded media players on the BBC News
    website. Do i need Flash Lite instead of FP7, or as well as??)
    thaks

    Hi,
    At a time in the past we provided FP7 for PPC devices and
    some consumer electronics like the Wii because this was easier to
    integrate than Flash.. or met the customers requirements better.
    For the past year we have been transitioning OEM customers to
    Flash Lite and this is our goal ongoing.
    We have launched a new product called Flash Lite
    Distributable Player to address the needs of the Windows Mobile
    developer community. To be clear PPC is not supported for web
    browsing unless your web browser ships with Flash Lite support.
    regards,
    Mark Doherty
    Developer Relations
    Adobe Mobile and Devices
    www.flashmobileblog.com

  • Whats the difference between *.jsp and *.jspx

    Hi
    When I create a new jsf page the first step prompts me for the "type". I am wondering what is the difference between JSP Page and JSP Document? Which should I be using? Are there any white papers or documents that explain the advantages of each?
    Also, someone suggested that I use Facelets, has anyone else used these from inside jdeveloper? Any thoughts / tips would be appreciated.
    Thanks
    troy

    JSPX uses an XML doument for you page code - it is the way we recommend you build your page. Makes for cleaner code and easier customization.
    JSP uses HTML with embedded JSF tags in it.

  • What's the difference between *.JSP and *.DO?

    Hi. I'm new to JSP programming and noticed that form actions call something like pageName.do -- what's the difference between the .JSP and .DO? When do you call one vs. the other? Thanks.

    A request including the jsp extension usually refers to a single JSP file on disk that will be loaded and rendered directly.
    A request including the do extension usually refers to a call into a special servlet that will redirect the request to another "controller" class which will in turn do some processing, and then load one or more JSP files to render the response.
    The commonest form of the latter is the usage in the Struts framework. The do extension is not mandatory, it just presents a convenient way to distinguish calls that should be handled by Struts from requests for JSPs and other content that are mostly handled by the container (e.g. Tomcat) directly.

Maybe you are looking for