Problems with using sample code for WebService client

Hi <br /><br />Ive downloaded the sample code from the Adobe <br />website but when i run the client i get an error which i dont understand:<br /><br />client side:<br />ERROR: java.lang.NullPointerException<br />AxisFault<br /> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException<br /> faultSubcode: <br /> faultString: java.lang.NullPointerException<br /> faultActor: <br /> faultNode: <br /> faultDetail: <br />     {http://xml.apache.org/axis/}hostname:GRFNZTS1SRV<br /><br />java.lang.NullPointerException<br />     at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)<br />     at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)<br />     at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:10 87)<br />     at weblogic.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1411)<br />     at weblogic.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:16 13)<br />     at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumen tScanner.java:1174)<br />     at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:399 )<br />     at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1138)<br />     at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)<br />     at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:133)<br />     at javax.xml.parsers.SAXParser.parse(Unknown Source)<br />     at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)<br />     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)<br />     at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)<br />     at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) <br />     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)<br />     at org.apache.axis.client.Call.invokeEngine(Call.java:2784)<br />     at org.apache.axis.client.Call.invoke(Call.java:2767)<br />     at org.apache.axis.client.Call.invoke(Call.java:2443)<br />     at org.apache.axis.client.Call.invoke(Call.java:2366)<br />     at org.apache.axis.client.Call.invoke(Call.java:1812)<br />     at com.adobe.livecycle.samples.pdfgenerator.axis.PdfGenSoapBindingStub.getConfigurationXML(P dfGenSoapBindingStub.java:373)<br />     at com.adobe.livecycle.samples.pdfgenerator.webserviceclient.WebServiceClient.generatePDF(We bServiceClient.java:174)<br />     at com.adobe.livecycle.samples.pdfgenerator.webserviceclient.WebServiceClient.main(WebServic eClient.java:95)<br /><br />and on the server side:<br /><Error> <com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean> <000000> <UserM:GENERIC_ERROR:     [Thread: ExecuteThread: '58' for queue: 'default', hc: 735284715 ]No Auth Providers found > <br /><Sep 17, 2007 8:27:43 PM IDT> <Warning> <com.adobe.idp.common.errors.exception.IDPLoggedException> <000000> <UserM:GENERIC_WARNING:     [Thread: ExecuteThread: '58' for queue: 'default', hc: 735284715 ]| [AuthenticationManagerBean] errorCode:12801 errorCodeHEX:0x3201 message:No Auth Providers found in Config>

i get this exception
C:\Program Files\JMF2.1.1e\bin\video>javac FrameAccess.java
C:\Program Files\JMF2.1.1e\bin\video>java FrameAccess C:\Program Files\JMF2.1.1e
\bin\video\gtrevor.avi
Failed to create a processor from the given url: javax.media.NoProcessorExceptio
n: Cannot find a Processor for: C:\Program
how to solve it

Similar Messages

  • Problem with running sample code from XML Schema Processor for Java

    Hi there,
    I downloaded the XML Schema Processor for Java and tried it out. Unfortunately, it failed at the first step. FYI, I included all xmlparserv2.jar and xmlschema.jar in my classpath.
    I compiled XSDSample.java with a warning: XSDSample.java uses a deprecated API. Recompile with "-deprecation" for details. There was no problem with compiling XSDSetSchema.java.
    When I tried to run report.xml by typing java XSDSample report.xml, I got Parsing report.xml
    NonParserException: null.
    I guess that report.xml from the sample is not valid.
    Could any one give me a hint? Any suggestion would be greatly appreciated.
    ---Denali
    null

    Please post this message at:
    Forums Home » Oracle Technology Network (OTN) » Products » Database » XML DB

  • Problem in creating proxy code for webservices in Myeclipse

    Hi
    I am using MyEclipse 9.1 to create client proxy for Account WSDL v1. I following following steps:
    1. Created a web service project
    2. Copied the WSDL file to WebRoot folder within the MyEclispe
    3. With Right click on the WSDL file, I selected option 'New Web Service Client'
    4. With some options selected, the application started creating proxy client.
    5. During the process, it flashed a message in tool tip format. It is as following
    "WS-I: A problem occured while running the WS-I WSDL conformance check:
    org.eclipse.wst.wsi.internal.analyzer.WSIAnalyzerException: The WS-I
    Test Assertion Document (TAD)document was either not found or could not be
    processed.The WSDLAnalyzer was unable to validate the given WSDL File"
    6. When I proceeded with it, it created all the necessary classes but the proxy class was not created. Hence I could not begin writting my code in it.
    Can someone help me know what went wrong in the entire process?
    Thanks and regards,

    Hi,
       I could not respond to your answer, as I was away from work. I did the same thing as proposed by you.
    I have created the tax code V5 in FTXP. I did not enter any value in any of the rows, as we are using TAXINN.
    then in FV11, I selected gave condition JSRT.
    In column 7th, I entered tax code V5, then gave the value of 12.5% in column 3rd, then I gave in 1st column
    when i press enter or try to save system is giving error message
    The condition record entered already exists
    Now what I did in 1st column I gave from my own just like P1, it is giving message
    Tax ID V5 cannot be checked (there are several/no tax records).
    if i enter, the message disappears and i can save.
    Is it correct?
    say I have different values for the condition JSRT(Service Tax), say 12.5% and 10 %
    How to proceed in this case?
    do I have to make 2 codes say P1 and P2 against V5.
    REGARDS

  • Problem with HttpUploadBean sample code

    Hello,
    I need upload files to a database and download files from database. I have some problems and i'm trying the sample in the help "File Upload and Download JavaBean and Class Descriptions" - "The HttpUploadBean".
    File UploadBean.html:
    <html><body>
    <form action="beanUploadExample.jsp" ENCTYPE="multipart/form-data" method=POST>
    <br> File to upload: <INPUT TYPE="FILE" NAME="File" SIZE="50" MAXLENGTH="120" >
    <br><INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Send"> </form>
    </body></html>
    File beanUploadExample.jsp:
    <%@ page language="java" import="java.util.*, oracle.jsp.webutil.fileaccess.*"
    %>
    <html><body>
    <% String userdir = "fileaccess"; %> // user's part of the upload directory
    <jsp:useBean id="upbean"
    class="oracle.jsp.webutil.fileaccess.HttpUploadBean" >
    <jsp:setProperty name="upbean" property="destination" value="<%= userdir %>"
    />
    </jsp:useBean>
    <%
    upbean.setBaseDir(application, request);
    upbean.upload(request);
    Enumeration fileNames = upbean.getFileNames();
    while (fileNames.hasMoreElements()) { %>
    <br><%= (String)fileNames.nextElement() %>
    <% } %>
    <br>Done!
    </body></html>
    Content of fileaccess.properties file in directory G:\jdeveloper9i\jdev\mywork\AccessFiles\Upload\public_html\WEB-INF
    fileaccess.basedir=G:\jdeveloper9i\jdev\mywork\AccessFiles\Upload\public_html\files
    (the directory files has been created)
    Interner Explorer (version 5.00.3315.1000) show error 500 (Internal Server Error) after to select the file and click in the buttom "Send"
    In Debug mode, to press F8 (Step over) in the line upbean.upload(request); show the error:
    "Unable to find source file for package oracle.jsp.runtime, filename httpJsp.java"
    I'm trying jDeveloper9i version 9.0.2.829
    Any help is welcome
    Thanks

    Hi,
    I will try the HttpUploadBean very soon but haven't test it. Will this article would help : Re: File Upload tag and Bean
    Rgds.

  • Problems with entering verification code for iCloud on both mac and iPhone

    Hello Apple, I am a totally blind mac user and wish to use iCloud keychain. I tried to set it up both on my mac and IOS device so that they can sync all of my account information, but have no luck. Every time I want to set up my iCloud, I have issues because it asks me to verify my identity with apple support. When I click the link to the iCloud support page, there is no way I can contact apple directly or fill out forms to verify my account. I would love to use the iCloud keychain to keep track of my accounts. What should I do in this case?
    Any suggestions are welcomed.
    Thank you very much.    

    If you need to contact iCloud support, you can reach them by clicking Get Started here: http://www.apple.com/support/icloud/contact/.

  • I am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    i am going to buy unlocked iphone 5.. i will be going to india nxt months and will stay there for a while... so my question is will i get warrenty in india.. and will there be any problem with using indian sims..?? thnx for the help..

    The warranty for the iPhone is not and has never been International.
    Warranty and support are ONLY valid in the country of origin.  The only exception is the EU where the entire EU is treated as one country.
    If the device will be used in India, buy it in India.
    An unlocked iPhone will work on any supported GSM carrier world wide.  The LTE portion of a US purchased, unlocked iPhone is unlikely to work outside North America as it does not support the appropriate bands used in other countries.

  • I purchased Adobe Creative Suite C2 and have been using it for years on the same computer no problem with using it. Recently upon opening Photoshop I received a pop up window saying due to Adobe Software security we need you to activate your CS2 software.

    I purchased Adobe Creative Suite C2 and have been using it for years on the same computer without any problems with using it. Recently upon opening Photoshop I received a pop up window saying due to Adobe Software security we need you to activate your CS2 software. I tried, phone activation, web activation, nothing is working. I have the serial number and my Adobe account information. Any suggestions?

    Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3
    Mylenium

  • Need sample code for Using BADI ME_PROCESS_REQ_CUST

    Dear all,
    Initially my requirement is to Validate the Document Type of Purchase Request ion as per material.
    I have created a implementation for BADI : ME_PROCESS_REQ_CUST .
    im new to OOPS-ABAP, so pls send *sample code for how to use these methods PROCESS_ITEM,
    like declarations, assignment of data into internal table  for further validation*.
    Regards,
    NIranjan.G

    Hi,
    get the item data ....
         *DATA : lt_item TYPE MEREQ_ITEM,
                       ls_item liek line of it_item*
             CALL METHOD im_item->GET_DATA
               RECEIVING
                 RE_DATA = lt_item .
    you will get the data in lt_item.. table
    Thanks,
    Shailaja Ainala.

  • Legalities of using sample code

    Hi there
    just downloaded
    http://labs.adobe.com/technologies/textlayout/demos/
    This is so very very awsome - just wanted to check
    "Adobe permits you to use, modify, and distribute this file
              in accordance with the terms of the Adobe license agreement
              accompanying it." - ok - couldednt find any licence accompaning ti and when i looked around I only got to the SDK licences mozilla and adobe.
    This sample code is kinda what I was looking towards for a project im working on - (well perhaps a reduced version of it).
    Its obviously taken some one a stack of time to get this editor right.
    I was wondering if there was any other agremeents apart for the SDK ones which apply to "editing" and using this sample code?
    Just dotting the I's and crossing the T's before diving in.

    Th source code is in the JDK as an example of the use
    of the invocation API. Its pretty trivial stuff, so I
    can't see why you shouldn't use it.
    There's lots of java code in the JDK for that same
    reason: if we weren't supposed to look at it/use it,
    why is it there ?There is a difference between the reasonable, the moral and the legal.
    You specifically can not take a class out of (for example), src.zip, modify it slightly and then use it as you see fit. That is what the license says legally.
    I am rather certain that any lawyer who is familar with software law in the US will tell you that you can't use it.
    The application of the legal penalty is up to Sun though. And a reasonable person might guess that Sun will not follow up on this. But if Sun did have a problem with a company/product for some other reason and that company/product was using code like this then it would provide Sun a further way to challenge the company/product. And the law on usage like this is rather specific - the defendant would have no recourse, regardless of the outcome of any other facet legal difficulties, but to pull the product from the market.
    But then I am not a lawyer. And my layman's knowledge is only relevant in the US.

  • Hi guys please give me sample code for call transaction that handles error

    hi guys, please give me sample code for call transaction that handles error,
    please send me the sample code in which there should be all decleration part and everything, based on the sample code i will develop my code.
    please do help me as it is urgent.
    thanks and regards.
    prasadnn.

    Hi Prasad,
    Check this code.
    Source Code for BDC using Call Transaction
    *Code used to create BDC
    *& Report  ZBDC_EXAMPLE                                                *
    *& Example BDC program, which updates net price of item 00010 of a     *
    *& particular Purchase order(EBELN).                                   *
    REPORT  ZBDC_EXAMPLE  NO STANDARD PAGE HEADING
                          LINE-SIZE 132.
    Data declaration
    TABLES: ekko, ekpo.
    TYPES: BEGIN OF t_ekko,
        ebeln TYPE ekko-ebeln,
        waers TYPE ekko-waers,
        netpr TYPE ekpo-netpr,
        err_msg(73) TYPE c,
    END OF t_ekko.
    DATA: it_ekko  TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko  TYPE t_ekko,
          it_error TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_error TYPE t_ekko,
          it_success TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_success TYPE t_ekko.
    DATA: w_textout            LIKE t100-text.
    DATA: gd_update TYPE i,
          gd_lines TYPE i.
    *Used to store BDC data
    DATA: BEGIN OF bdc_tab OCCURS 0.
            INCLUDE STRUCTURE bdcdata.
    DATA: END OF bdc_tab.
    *Used to stores error information from CALL TRANSACTION Function Module
    DATA: BEGIN OF messtab OCCURS 0.
            INCLUDE STRUCTURE bdcmsgcoll.
    DATA: END OF messtab.
    *Screen declaration
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME
                                        TITLE text-001. "Purchase order Num
    SELECT-OPTIONS: so_ebeln FOR ekko-ebeln OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK block1.
    SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME
                                        TITLE text-002. "New NETPR value
    PARAMETERS:  p_newpr(14)   TYPE c obligatory.  "LIKE ekpo-netpr.
    SELECTION-SCREEN END OF BLOCK block2.
    *START-OF-SELECTION
    START-OF-SELECTION.
    Retrieve data from Purchase order table(EKKO)
      SELECT ekkoebeln ekkowaers ekpo~netpr
        INTO TABLE it_ekko
        FROM ekko AS ekko INNER JOIN ekpo AS ekpo
          ON ekpoebeln EQ ekkoebeln
       WHERE ekko~ebeln IN so_ebeln AND
             ekpo~ebelp EQ '10'.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Check data has been retrieved ready for processing
      DESCRIBE TABLE it_ekko LINES gd_lines.
      IF gd_lines LE 0.
      Display message if no data has been retrieved
        MESSAGE i003(zp) WITH 'No Records Found'(001).
        LEAVE TO SCREEN 0.
      ELSE.
      Update Customer master data (instalment text)
        LOOP AT it_ekko INTO wa_ekko.
          PERFORM bdc_update.
        ENDLOOP.
      Display message confirming number of records updated
        IF gd_update GT 1.
          MESSAGE i003(zp) WITH gd_update 'Records updated'(002).
        ELSE.
          MESSAGE i003(zp) WITH gd_update 'Record updated'(003).
        ENDIF.
    Display Success Report
      Check Success table
        DESCRIBE TABLE it_success LINES gd_lines.
        IF gd_lines GT 0.
        Display result report column headings
          PERFORM display_column_headings.
        Display result report
          PERFORM display_report.
        ENDIF.
    Display Error Report
      Check errors table
        DESCRIBE TABLE it_error LINES gd_lines.
      If errors exist then display errors report
        IF gd_lines GT 0.
        Display errors report
          PERFORM display_error_headings.
          PERFORM display_error_report.
        ENDIF.
      ENDIF.
    *&      Form  DISPLAY_COLUMN_HEADINGS
          Display column headings
    FORM display_column_headings.
      WRITE:2 ' Success Report '(014) COLOR COL_POSITIVE.
      SKIP.
      WRITE:2 'The following records updated successfully:'(013).
      WRITE:/ sy-uline(42).
      FORMAT COLOR COL_HEADING.
      WRITE:/      sy-vline,
              (10) 'Purchase Order'(004), sy-vline,
              (11) 'Old Netpr'(005), sy-vline,
              (11) 'New Netpr'(006), sy-vline.
      WRITE:/ sy-uline(42).
    ENDFORM.                    " DISPLAY_COLUMN_HEADINGS
    *&      Form  BDC_UPDATE
          Populate BDC table and call transaction ME22
    FORM bdc_update.
      PERFORM dynpro USING:
          'X'   'SAPMM06E'        '0105',
          ' '   'BDC_CURSOR'      'RM06E-BSTNR',
          ' '   'RM06E-BSTNR'     wa_ekko-ebeln,
          ' '   'BDC_OKCODE'      '/00',                      "OK code
          'X'   'SAPMM06E'        '0120',
          ' '   'BDC_CURSOR'      'EKPO-NETPR(01)',
          ' '   'EKPO-NETPR(01)'  p_newpr,
          ' '   'BDC_OKCODE'      '=BU'.                      "OK code
    Call transaction to update customer instalment text
      CALL TRANSACTION 'ME22' USING bdc_tab MODE 'N' UPDATE 'S'
             MESSAGES INTO messtab.
    Check if update was succesful
      IF sy-subrc EQ 0.
        ADD 1 TO gd_update.
        APPEND wa_ekko TO it_success.
      ELSE.
      Retrieve error messages displayed during BDC update
        LOOP AT messtab WHERE msgtyp = 'E'.
        Builds actual message based on info returned from Call transaction
          CALL FUNCTION 'MESSAGE_TEXT_BUILD'
               EXPORTING
                    msgid               = messtab-msgid
                    msgnr               = messtab-msgnr
                    msgv1               = messtab-msgv1
                    msgv2               = messtab-msgv2
                    msgv3               = messtab-msgv3
                    msgv4               = messtab-msgv4
               IMPORTING
                    message_text_output = w_textout.
        ENDLOOP.
      Build error table ready for output
        wa_error = wa_ekko.
        wa_error-err_msg = w_textout.
        APPEND wa_error TO it_error.
        CLEAR: wa_error.
      ENDIF.
    Clear bdc date table
      CLEAR: bdc_tab.
      REFRESH: bdc_tab.
    ENDFORM.                    " BDC_UPDATE
          FORM DYNPRO                                                   *
          stores values to bdc table                                    *
    -->  DYNBEGIN                                                      *
    -->  NAME                                                          *
    -->  VALUE                                                         *
    FORM dynpro USING    dynbegin name value.
      IF dynbegin = 'X'.
        CLEAR bdc_tab.
        MOVE:  name TO bdc_tab-program,
               value TO bdc_tab-dynpro,
               'X'  TO bdc_tab-dynbegin.
        APPEND bdc_tab.
      ELSE.
        CLEAR bdc_tab.
        MOVE:  name TO bdc_tab-fnam,
               value TO bdc_tab-fval.
        APPEND bdc_tab.
      ENDIF.
    ENDFORM.                               " DYNPRO
    *&      Form  DISPLAY_REPORT
          Display Report
    FORM display_report.
      FORMAT COLOR COL_NORMAL.
    Loop at data table
      LOOP AT it_success INTO wa_success.
        WRITE:/      sy-vline,
                (10) wa_success-ebeln, sy-vline,
                (11) wa_success-netpr CURRENCY wa_success-waers, sy-vline,
                (11) p_newpr, sy-vline.
        CLEAR: wa_success.
      ENDLOOP.
      WRITE:/ sy-uline(42).
      REFRESH: it_success.
      FORMAT COLOR COL_BACKGROUND.
    ENDFORM.                    " DISPLAY_REPORT
    *&      Form  DISPLAY_ERROR_REPORT
          Display error report data
    FORM display_error_report.
      LOOP AT it_error INTO wa_error.
        WRITE:/      sy-vline,
                (10) wa_error-ebeln, sy-vline,
                (11) wa_error-netpr CURRENCY wa_error-waers, sy-vline,
                (73) wa_error-err_msg, sy-vline.
      ENDLOOP.
      WRITE:/ sy-uline(104).
      REFRESH: it_error.
    ENDFORM.                    " DISPLAY_ERROR_REPORT
    *&      Form  DISPLAY_ERROR_HEADINGS
          Display error report headings
    FORM display_error_headings.
      SKIP.
      WRITE:2 ' Error Report '(007) COLOR COL_NEGATIVE.
      SKIP.
      WRITE:2 'The following records failed during update:'(008).
      WRITE:/ sy-uline(104).
      FORMAT COLOR COL_HEADING.
      WRITE:/      sy-vline,
              (10) 'Purchase Order'(009), sy-vline,
              (11) 'Netpr'(010), sy-vline,
              (73) 'Error Message'(012), sy-vline.
      WRITE:/ sy-uline(104).
      FORMAT COLOR COL_NORMAL.
    ENDFORM.                    " DISPLAY_ERROR_HEADINGS
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Kindly write some sample code for this scenario

    Kindly write some sample code for the below Logic.
    For a set of Deliveries entered on the selection screen get the relevant data from LIKP & LIPS.
    for all the deliveries selected get the sales order data from VBAK & VBAP based on the VGBEL & VGPOS in LIPS.
    The Output internal table should contain only deliveries which are created with reference to a sales order.
    Thanx in Advance.
    Akshitha.

    Hi,
    Select avbeln bposnr bmatnr blfimg bvgbel bvgpos into table ITAB
       from likp as a join lips as b on Avbeln =  bvbeln
       where a~vbeln in s_vbeln..
    if not itab[] is initial.
       select avbeln bposnr b~matnr ... into table itab1 from vbak as a join vbap as b
       on avbeln = bvbeln
       for all entries in itab where avbeln = itab-vgbel and bposnr = itab-vgpos.
    endif.
    loop at itab.
    read table itab1 with key vbeln = itab-vgbel posnr = itab-vgpos.
      if sy-subrc <> 0.
          delete itab index sy-tabix.
       endif.
    endloop.
    Now ITAB will have only deliveries created against Sales orders.
    reward points if useful
    regards,
    Anji

  • Any sample code for an Extractor to read in a flat file?

    Hi SAP gurus,
    Are there any sample code for an extractor to read in a flat file?
    Are there any documentation on custom coding an extractor to dump
    information into an info source?
    Are there any documentation on the pit falls and contraints using Solution
    Manager, the BI tools, particularly on the Info Source?
    Thanks,
    Steve

    Thanks Muppet Mark
    I forgot to mention that I had also tried just fileObject.read() as well and it didn't work either.  It was the same run on sentence result I got with the script I showed above.  Seems odd.  However, the \r instead of \n did the trick.  I had some recollection of another line feed character but couldn't remember what it was, so thanks for that.
    Doug

  • Sample code for connect to database

    Hi
    like to know if there is any sample code for me to follow through to connect to database using ODBC.
    I am currently writing a program in visual c++.
    like to know how to connect database to store image in the database
    using visual c++ code.....
    hope that is not too difficult.

    in JSTL pratical guide for JSP programmers by Sue Spielman
    <sql:setDataSource var="datasource"
    driver="org.gjt.mm.mysql.driver"
    url="jdbc:mysql://localhost/db"
    user="guest"
    password="guest" />
    <sql:query datasource="${datasource}...
    <html>
    <head>
    <title>
    Display Results
    </title>
    </head>
    <body>
    <c:catch var="sqlError">
    <sql:query var="bookList" dataSource="${datasource}">
         SELECT * FROM books WHERE title LIKE 'J%' ORDER BY author
    </sql:query>
    </c:catch>
    <c:if test="${not empty sqlError}" >
    Make sure you have already run the databaseinit.jsp file
    </c:if>
    <h2>Listing all books that start with a 'J', ordered by author</h2>
    <br>
    <table>
    <th>Title</th>
    <th>Author</th>
    <c:forEach var="book" items="${bookList.rows}">
         <tr>
              <td><c:out value="${book.title}" /></td>
              <td><c:out value="${book.author}" /></td>
         </tr>
    </c:forEach>
    </table>
    </table>
    <h2>Show using choose/when/otherwise conditional to display results</h2>
    <table>
    <tr><th>Title</th></tr>
    <c:forEach var="book" varStatus="current" items="${bookList.rows}">
    <tr>
    <c:choose>
         <c:when test="${current.first}" >
              <td><font color="#0000FF"><c:out value="${book.title}"/></font></td>
         </c:when>
         <c:when test="${current.count % 2 == 1 }" >
              <td><font color="#FF0000"><c:out value="${book.title}"/></font></td>
         </c:when>
         <c:otherwise>
              <td><c:out value="${book.title}"/></td>
         </c:otherwise>
    </c:choose>
    </tr>
    </c:forEach>
    </table>
    </body>
    </html>

  • AxWindowsMediaPlayer problem with using subtitle sami.file in winform

    Hello every body
    I have a problem with using sami caption in axWindowsMediaPlayer;
    how can I use it?
    I used
    axWindowsMediaPlayer1.closedCaption.SAMIFileName="FileNameAddress";
    and
    axWindowsMediaPlayer1.ShowPropertyPages();//and select sami file
    but in both ways the subtitle is not shown in my axWindowsMediaPlayer1 control;
    please help me for solving this problem

    Hi ,
    As i know the Synchronized Accessible Media Interchange (SAMI) file must use an .smi or .sami file name extension.
    set the smi-file direclty like following
    AxWindowsMediaPlayer.closedCaption.SAMIFileName = "subtitles.smi";
    Please also refer here
    for more details.
    Follow the steps below for your Windows Media Player to display captions and subtitles.
    http://support.3playmedia.com/entries/21934486-windows-media-files-windows-media-player-settings
    Related thread, please note the Style secttion.
    http://answers.microsoft.com/en-us/windows/forum/windows_7-pictures/wmp-12-doesnt-play-sami-files-closed-captions/96fe98b7-1cdf-41f5-aa9e-a4e55fd07c0a
    In addition, Could you please provide your smi or sami file and full code? It could be better to help us do some test on my side.
    Have a nice day!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem with my exe code

    Hello,
    I have a small problem regarding to my code. I have attached the source code. There isn't any problem with the vi code. But when I convert the vi to exe, and double click the exe file in order to open it , the program is trying to start, I mean it is acting like I clicked the run button. I said it is not a problem, because all the values (test duration, delay duration, high limit, low limit) are zero. Therefore it is attempting to run, but only very small portion of the pressure reading occurs. What do you think about the cause of this problem? Thanks for your help.
    Ahmet
    Attachments:
    front panel1.jpg ‏47 KB
    Oksijen_Atolyesi.vi ‏45 KB

    Hi Ahmet,
    when duration and delay are zero, the your DAQ loop will (probably) run only once, thus giving you only small amount of data...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    Oksijen_Atolyesi.vi ‏35 KB

Maybe you are looking for

  • I need help  with compiling different packages

    I've just downloaded j2sdk1.4.0_03 and when i use import TerminalIO.KeyboardReader; it says : package TerminalIO does not exist; and it also has a problem with KeyboardReader. Please help me!

  • EWA reports for EP 7.0

    Hi All, When i tried to navigate to the page http://hostname:5<no>00/smd using the user id smd_admin i cannot see the tabs diagnostics administration and root cause anaylsis. How can we launch the same from solman_workcenter. SAP_SMWORK* roles have b

  • IBook is not starting up - "still waiting for root device"

    The 600 MHz / 640 MB / 20 GB iBook did not want to wake up and after forced shutdown would not start up. grey screen. With MacOS X CD - "prohibition sign", MacOs 9 - no start at all I had 2 partitions on the HD one with Tiger and other with 9.2.2 - n

  • Application Trip : Dropdownbykey

    Hi all, I m enhancing the application Trip on webdynpro/abap. I want to delete the empty row from the drop down by Key from this UI-element (Destionations , Additional informations ..) My UI element is binded to an attribute with a context that have

  • So, I know all the warnings about opening emails...

    ...but I opened one, I think stupidly. It said I needed to appear in court and had a zip file with the "attached court information." Without thinking I clicked it and it downloaded. Still without giving it thought I opened it, but there was no text f