Using java and BC4J datatags together; causes problem

Hello
This is a piece of my code, and I am trying to add data,
retrieved from the datasource, to add to a Java Vector. However,
this does not work (at the part where the **** are). Can anybody
tell me what I am doing wrong?
I would appreciate it very much.
Thanks!!
<%int i=0;%>
<%Vector countryid = new Vector();%>
<jbo:CreateViewObject appid="EdgarBusinessComponentsModule"
name="CountryGroupView" rangesize="10" >
SELECT llg.loc_id AS LOCID FROM loc_loc_grp llg
WHERE llg.loc_grp_id IN (
<%for(i=0; i<countryGC.length; i++) { %>
<%if (countryGC.substring(countryGC[i].length()-2,
countryGC[i].length()).equals("GR") == true) { %>
<%=countryGC[i].substring(0, countryGC[i].length()-
2) + ", "%>
<%}%>
<%} %> NULL)
</jbo:CreateViewObject>
<jbo:DataSource id="CountryGroupDataSource"
appid="EdgarBusinessComponentsModule"
viewobject="CountryGroupView" ></jbo:DataSource>
<jbo:RowsetNavigate datasource="CountryGroupDataSource"
action="First" />
<jbo:RowsetIterate datasource="CountryGroupDataSource" >
<jbo:ShowValue datasource="CountryGroupDataSource"
dataitem="LOCID" ></jbo:ShowValue><BR>
<%/******** THIS ROW GIVES ME A HEADACHE: *******/%>
<%countryid.add(new String("%><jbo:ShowValue
datasource='CountryGroupDataSource' dataitem='LOCID'
</jbo:ShowValue><%"));%></jbo:RowsetIterate>

This forum is intended for members to suggest improvements or
changes to OTN services. Please repost your question in the
appropriate Java forum.
Best regards,
OTN Team

Similar Messages

  • I just updated my latest java but the update is causing problems with some externale devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device

    i just updated my latest java but the update is causing problems with some external devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device.
    Is this possible and how do i do that?
    Anyone who responds thanks for that!
    Juko
    I am running
    Hardware Overview:
      Model Name:          Mac Pro
      Model Identifier:          MacPro1,1
      Processor Name:          Dual-Core Intel Xeon
      Processor Speed:          2,66 GHz
      Number of Processors:          2
      Total Number of Cores:          4
      L2 Cache (per Processor):          4 MB
      Memory:          6 GB
      Bus Speed:          1,33 GHz
      Boot ROM Version:          MP11.005D.B00
      SMC Version (system):          1.7f10
      Serial Number (system):          CK7XXXXXXGP
      Hardware UUID:          00000000-0000-1000-8000-0017F20F82F0
    System Software Overview:
      System Version:          Mac OS X 10.7.5 (11G63)
      Kernel Version:          Darwin 11.4.2
      Boot Volume:          Macintosh HD(2)
      Boot Mode:          Normal
      Computer Name:          Mac Pro van Juko de Vries
      User Name:          Juko de Vries (jukodevries)
      Secure Virtual Memory:          Enabled
      64-bit Kernel and Extensions:          No
      Time since boot:          11 days 20:39
    Message was edited by Host

    Java 6 you can't as Apple maintains it, and Java 7 you could if you uninstall it and Oracle provides the earlier version which they likely won't his last update fixed 37 remote exploits.
    Java broken some software here and there, all you'll have to do is wait for a update from the other parties.

  • Has anyone had success using SharePoint and FrameMaker 10 together using CMS?

    Has anyone had success using SharePoint and FrameMaker 10 together using CMS?

    Thanks for reminding to at least update the results thus far.
    Update 4:
    I did get quite a bit of support initially although slowly over a period of a month or so. After Adobe FM support and my SharePoint systems engineer reviewed how FM10 was setup on my computer (which I am the admin for our department’s SP site) and how it interfaces with our SharePoint 2010 Enterprise Edition, there was two conclusions:
    Basically Adobe FM Support said that FM10 did not support claims-based authentication and they can no longer help me. They said it will work with FM11 when it comes out.
    My SP Systems Engineer, said that FM10 is connecting to SP 2010 just fine but that the FM10 has a software glitch that causes FM10 lose control when executing checkout procedure within FM10. I can checkout and edit that same file in SP with no problems.
    About a month later, I upgraded to FM11 and ran into the same problem. I attempted to get Adobe FM Support to help and they said they will look into and get back to me. That was in July and I have not heard anything more from them, and to be honest, my schedule has been extremely busy the last 5 months that I have not had time to pursue it any further.
    Needless to say, I was very disappointed with the SP interface and, overall, the lackluster support I received from Adobe. Having a working SP interface was one of the criteria for purchasing TCS3.5 (and subsequent upgrade) in the first place.
    One thing of note, we migrated from SP 2007 to SP 2010 in February 2011 and, at the time of Adobe support, I still had access to my SP 2007 site. FM10 and FM11 had to no issues working with SP2007. Unfortunately, SP 2007 is not an option for me anymore.
    Also, another observation of FM10/11 not working with SP 2010, it seems that FM10/11 is automatically configured to work with SharePoint Drafts folder locally when connecting to the SharePoint library. This worked just fine with SP 2007 but SP 2010 does not use SharePoint Drafts folder locally the same way (the programming changed, don’t recall where I saw it, probably when searching this issue online)  and I suspect that is one of the main issues why it does not work correctly.
    So at this time, I have not found a working solution to this problem.

  • Error while using REMAP_TABLE and WHERE clause  together in IMPDP

    I am trying to move some records from a very large table to another small table.
    I am facing trouble while using REMAP_TABLE and WHERE clause together in IMPDP.
    Problem is data filter is not getting applied and all records are getting imported.
    here is how I have simulated this. please advice.
    CREATE TABLE TSHARRHB.TMP1
      A  NUMBER,
      B  NUMBER
    begin
    Insert into TSHARRHB.TMP1
       (A, B)
    Values
       (1, 1);
    Insert into TSHARRHB.TMP1
       (A, B)
    Values
       (2, 2);
    COMMIT;
    end;
    expdp system/password TABLES=tsharrhb.TMP1 DIRECTORY=GRDP_EXP_DIR DUMPFILE=TMP1.dmp REUSE_DUMPFILES=YES LOGFILE=EXP.log PARALLEL=8
    impdp system/password DIRECTORY=GRDP_EXP_DIR DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY='TSHARRHB.TMP1:"WHERE TMP1.A = 2"'  REMAP_TABLE=TSHARRHB.TMP1:TMP3 CONTENT=DATA_ONLY
    Import: Release 11.2.0.1.0 - Production on Fri Dec 13 05:13:30 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/********@GRD6.RBSG DIRECTORY=GRDP_EXP_DIR DUMPFILE=TMP1.dmp LOGFILE=SSD_93_TABLES_FULL_EXP.log PARALLEL=8 QUERY=TSHARRHB.TMP1:"WHERE TMP1.A = 2" REMAP_TABLE=TSHARRHB.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "TSHARRHB"."TMP3"                           5.421 KB       2 rows
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at 05:13:33
    here I am expecting only 1 record to get imported but both the records are getting imported. please advice.

    The strange thing compared to your output is that I get an error when I have table prefix in the query block:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE TMP1.A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    ORA-31693: Table data object "SYSADM"."TMP3" failed to load/unload and is being skipped due to error:
    ORA-38500: Unsupported operation: Oracle XML DB not present
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 1 error(s) at Fri Dec 13 10:39:11 2013 elapsed 0 00:00:03
    And if I remove it, it works:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DUMPFILE=TMP1.dmp LOGFILE=imp.log PARALLEL=8 QUERY=SYSADM.TMP1:"WHERE A = 2" REMAP_TABLE=SYSADM.TMP1:TMP3 CONTENT=DATA_ONLY
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "SYSADM"."TMP3"                             5.406 KB       1 out of 2 rows
    Job "SYSTEM"."SYS_IMPORT_FULL_01" successfully completed at Fri Dec 13 10:36:50 2013 elapsed 0 00:00:01
    Nicolas.
    PS: as you can see, I'm on 11.2.0.4, I do not have 11.2.0.1 that you seem to use.

  • Java and MS SQL Server 2000 problem, please help

    please help me. I am using java and MS SQL Server 2000, and I'm trying to access and verify the login. I'm getting the following error message: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index
    Can any please help in this regard.
    String userNumber = (String)userNumField.getValue();
    char[] userPasswordArray = userPasswordField.getPassword();
    String userPassword = new String(userPasswordArray);
         try {
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                java.sql.Connection connection = java.sql.DriverManager.getConnection("jdbc:odbc:Dikolobe_Data");
                java.sql.PreparedStatement statement = connection.prepareStatement(
                        "SELECT USER_NUMBER, USER_PASSWORD, USER_CLASS, USER_STATUS " +
                        "FROM SYS_USER " +
                        "WHERE (USER_NUMBER = ? AND USER_PASSWORD = ?);");
                statement.setString(1, userNumber);
                statement.setString(2, userPassword);
                java.sql.ResultSet result = statement.executeQuery();
                if(result.next()) {
                    String userStatus = result.getString(4);
                    if(userStatus.equals("logged on")) {
                        String loginErrorMessage = "User with number: " + userNumber + " is already logged on.";
                        javax.swing.JOptionPane loginErrorPane = getNarrowOptionPane(72);
                        loginErrorPane.setMessage(loginErrorMessage);
                        loginErrorPane.setMessageType(javax.swing.JOptionPane.ERROR_MESSAGE);
                        javax.swing.JDialog loginErrorDialog = loginErrorPane.createDialog(null, "Login Error");
                        loginErrorDialog.setVisible(true);
                    else {
                        String userClassification = result.getString(3);
                        if(userClassification.equals("Administrator")) {
                            AdminHomePage newAdminHomePage = new AdminHomePage();
                            newAdminHomePage.setVisible(true);
                        else if(userClassification.equals("Educator")) {
                            EduHomePage newEduHomePage = new EduHomePage();
                            newEduHomePage.setVisible(true);
                        statement = connection.prepareStatement(
                                "UPDATE SYS_USER SET USER_STATUS = ? " +
                                "WHERE USER_NUMBER = ?");
                        statement.setString(1, "logged on");
                        statement.setString(2, userNumber);
                        statement.executeUpdate();
                        dispose();
                }

    Doesn't the following link give you enough information?
    http://www.google.com/search?q=invalid+descriptor+index
    Anyway .. This error means that the given ResultSet column index which you're trying to retrieve the value from is out of the range.

  • HOW TO USE LOGICAL AND OR CONDITION TOGETHER

    Please do not post subject in ALL CAPITALS
    Hi All there,
    How to use logical and or condition together
    I wanted to use logical AND OR condition together in where clause of Select Query.
    eg where xyz and or abc
    Regards
    Sagar
    Edited by: Matt on Mar 17, 2009 1:05 PM
    Edited by: Matt on Mar 17, 2009 1:05 PM

    hi,
      You cannot use the logical and  or condition together at the same time in SQL statement. Sachin is correct while using the and and or in the same condition. You can get the data using or condition in SQL statement, and then use the delete statement of internal table using the end condition. please find the following code for the same.
    select *
      from dtab
    where cond1 eq 'A1'
         or cond2 eq 'A2'.
    if sy-subrc eq 0.
      delete itab where cond1 eq 'A1' and 'A2'.
    endif.
    regards,
    Veeresh

  • Sending udp packets using java and receiving it using c

    hi,
    Is it possible to send udp packets using java and receive the same using c??????? if yes.... plz help immediately.

    The biggest issue is data format. The JVM is big endian, with 16-bit characters. The machine running 'C' could be almost anything. A (signed!) byte array is probably the easiest unit of exchange.
    The Java program has its own techniques for storing/retrieving data to/from the byte array - and the C program has its own techniques. ASCII Strings are often the easiest to exchange - just convert the java String objects to byte array and send them.
    apaliwal1 has already given the UDP calls to send/receive the data.

  • PMML Export using Java and ODM 10.2

    I'm attempting to export a model I've built in ODM using Java and the example code in dmexpimpdemo.java. I'm getting an error when trying to set an additional attribute to export the data as PMML.
    exportTask.setFormat(ImportExportFormat.PMML2_1);
    If I call this method (with any ImportExportFormat) I get the exception:
    javax.datamining.JDMUnsupportedFeatureException: Unsupported ExportTask for PMML2_1
    What is the proper way to export a model as PMML using the JAVA APIs?

    PMML Export is not supported by the ODM 10.2. Hence you see unsupported exception.
    ODM 10.2 supports only Oracle native format support for the mining model export and import. For more details about the usage refer to the demo program dmexpimpdemo.java.
    To download sample programs from OTN http://www.oracle.com/technology/products/bi/odm/samples/odm_sample_code_0805.zip
    For decision tree model you can export the model details in PMML format using the DBMS_DATA_MINING.get_model_details_xml. For example, the following query returns the PMML format decision tree model as an Oracle Database XMLType
    select dbms_data_mining.get_model_details_xml('TREE_MODEL').extract('/') AS DT_DETAILS FROM dual
    Regards
    Sunil

  • Want To create Zip file  using java,And Unzip without Java Program

    I want to create a zip text file using java, I know Using ZipOutputStream , we can create a zip file, , But i want to open that zip file without java program. suppose i use ZipOutputStream , then zip file is created But for unZip also difftrent program require. We cant open that zip file without writing diff java program.
    Actually i have one text file of big size want to create zip file using java , and unzip simply without java program.Its Possible??
    Here is one answer But I want to open that file normal way(
    For Exp. using winzip we can create a zip file and also open simply)
    http://forum.java.sun.com/thread.jspa?threadID=5182691&tstart=0

    Thanks for your Reply,
    I m creating a zip file using this program, Zip file Created successfully But when im trying to open .zip file i m getting error like "Canot open a zip file, it does not appear to be valid Archive"
    import java.io.*;
    import java.util.zip.*;
    public class ZipFileCreation
         public static void main (String argv[])
         try {
         FileOutputStream fos = new FileOutputStream ( "c:/a.zip" );
         ZipOutputStream zip = new ZipOutputStream ( fos );
         zip.setLevel( 9 );
         zip.setMethod( ZipOutputStream.DEFLATED );
    //     get the element file we are going to add, using slashes in name.
         String elementName = "c:/kalpesh/GetSigRoleInfo092702828.txt";
         File elementFile = new File ( elementName );
    //     create the entry
         ZipEntry entry = new ZipEntry( elementName );
         entry.setTime( elementFile.lastModified() );
    //     read contents of file we are going to put in the zip
         int fileLength = (int)elementFile.length();
         System.out.println("fileLength = " +fileLength);
         FileInputStream fis = new FileInputStream ( elementFile );
         byte[] wholeFile = new byte [fileLength];
         int bytesRead = fis.read( wholeFile , 0 /* offset */ , fileLength );
    //     checking bytesRead not shown.
         fis.close();
    //     no need to setCRC, or setSize as they are computed automatically.
         zip.putNextEntry( entry );
    //     write the contents into the zip element
         zip.write( wholeFile , 0, fileLength );
         zip.closeEntry(); System.out.println("Completed");
    //     close the entire zip
         catch(Exception e) {
    e.printStackTrace();
    }

  • I have 2 Adobe IDs and I think its causing problems. How do I delete the redundant one?

    I have 2 Adobe IDs and I think its causing problems. How do I delete the redundant one?

    I don't think you can... you will have to have an employee delete/merge for you
    Adobe contact information - http://helpx.adobe.com/contact.html may help
    or
    Change Account https://forums.adobe.com/thread/1465499 may help
    -ID support http://helpx.adobe.com/x-productkb/global/service-c1.html

  • Difference between using Java and Non-Java in Webi.

    Hi ,
    I have one more question requesting for an answer.
    Would like to know what is the Difference between using Java and Non-Java in Webi.
    Thank You in advance.
    Appana Ganesh.

    Hi,
    check the Information in following post, the differences are discussed there:
    http://scn.sap.com/thread/3295306
    best regards,
    Victor

  • Error executing a query using VPD and BC4J

    Hi all,
    Our team is developing an application using an Oracle DB 9.2.0.4 and BC4J 10g (9.0.5.16.0) as persistence layer.
    We also are using the VPD (virtual private database) to have security in the database at row level.
    The problem we are facing is that every some time (days) we get a jdbc error when a query (see below) that uses VPD policies is executed. Once the error occurs I execute it from sqlplus without getting any error .. it only occurs from our java application.
    To temporary solve this problem, we delete and recreate the VPD policies, then the application continue working fine for some time ...
    I'll appreciate any comment / suggestions
    Thank in advance.
    Eduardo.
    ERROR LOG:
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT CalLocation.ID,
    CalLocation.CODE, eo
    CalLocation.NAME,
    CalLocation.ZIP,
    CalLocation.PHONE,
    CalLocation.FAX,
    CalLocation.ADDRESS1,
    CalLocation.ADDRESS2,
    CalLocation.URL,
    CalLocation.OWNER,
    CalLocation.CTY_ID,
    CalLocation.DESCRIPTION,
    ORefCity.CODE CTY_CODE,
    ORefCountry.ID CTR_ID,
    ORefCountry.CODE CTR_CODE,
    ORefRegion.ID REG_ID,
    ORefRegion.CODE REG_CODE
    FROM CAL_LOCATIONS CalLocation,
    OREF_CITIES ORefCity,
    OREF_COUNTRIES ORefCountry,
    OREF_REGIONS ORefRegion
    WHERE ORefCity.ID = CalLocation.CTY_ID
    and ORefCountry.ID = ORefCity.CTR_ID
    and ORefRegion.ID = ORefCountry.REG_ID) QRSLT WHERE ( ( (CTY_ID = 867) ) )
    ## Detail 0 ##
    java.sql.SQLException: Io exception: Broken pipe
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)
         at oracle.jdbc.driver.OracleStatement.open(OracleStatement.java:717)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2605)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:457)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:387)

    The symptoms we have been getting are quite similar to the bug 3662364 .
    I'm going to implement the patch for that bug and see what happend then.
    Thank you very much for your help.
    Regards,
    Eduardo.

  • Error using java and javascript

    I have a jsp page that links to a bean and is working fine (getting data from the database).
    On a html form I have a button with a picture that fires off javascript when clicked:
    <BUTTON TYPE=reset onclick=showinfo('<%=index%>')>
    <IMG SRC="http://localhost:8080/Portal/Images/q2.bmp" ALT="Info">
    </BUTTON>
    The javascript function just opens a new window and displays the text sent in:
    <Script Language=JavaScript>
    function showinfo(arrayindex)
    InfoWin=window.open("","InfoWin","width=345,height=220");
    InfoWin.document.write(arrayindex);
    return false;
    </Script>
    Well in the above example index is a number (pulled from the database using a java bean and javascript converts it into a string then the function displays it correctly. If I replace <%=index%> with regular text it works fine as well(because java isn't used to pull data)! The problem occurs when I retrieve text data from the database and send it to the function. The web page gives errors about a nonterminating string. But I can move the code to somewhere else on the form(as long as I don't send it to java script) and it will print the text to the screen. I can also view the source of the web page and the html shows the text from the data base as if I hard coded the text into the javascript!!!!!!!!!!!!!!!!!
    This must be a bug between java and javascript!
    -can pass numbers(from a database) between the two
    -can't pass text (from a database)between the two
    Any info would help!

    Found the problem myself!
    I am using an odbc connection to msaccess and the spaces in the text was messing things up!
    After taking out the spaces it worked again.

  • Cannot use styleName and fontStyle property together in Label?

    Hi All,
    I am using Label component with the following attributes set,
    see code 1)
    but in my CSS I defined the style myStyle as below see code
    2)
    Here I am trying to use embed a font and use the style in the
    Label.
    I want the other styles to be given seperately like italic
    and bold using "fontStyle" and "fontWeight" properties of a Label.
    see code 3)
    The problem here is that,
    If I introduce any of these "myStyle" is not working. I mean
    that the font which I embeded is not implemented. Its taking its
    own default font. But If I remove fontStyle and fontWeight
    "myStyle" is working properly.
    I hope I had made my problem clear.
    Any help would be appreciated.
    Thanks.

    "COKFlex" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi Amy and Greg, Thanks for your replies.
    >
    > Yes I knew that I can use the fontstyle and fontwidth in
    my CSS. Before I
    > proceed next, let me explain you about my requirements
    and why I am using
    > embedded fonts.
    >
    > My requirement is to have all the font related styles as
    configurable from
    > an
    > Xml file like .
    >
    > <Text>
    > <Forecolor>#FFFFFF</Forecolor>
    > <Backcolor>#000000</Backcolor>
    > <Fontname>TimesNewRoman</Fontname>
    > <Fontsize>30</Fontsize>
    > <Fontstyle>normal</Fontstyle>
    > <Fontweight>normal</Fontweight>
    > </Text>
    >
    > Which I can read at run time and apply the styles.
    >
    > Ok Now I am coming to the need to using embedded fonts.
    If I didnt embed
    > the
    > fonts the text displayed in my application are not
    smooth. But its smooth
    > if I
    > use embedded fonts. {It is possible if we install the
    fonts from the
    > Windows CD
    > [Control Panel->Regional Language and
    Setting->Language Tab->Supplementary
    > Language support] options>} But I observed that few
    system doesnt have
    > that
    > installations. So the fonts which I am trying to use in
    the configuration
    > xml,
    > even though the system has that font, its not appearing
    smoothly in my
    > application.
    >
    > ok, so next I decide how I make the embedded fonts as
    configurable. I gave
    > the
    > fontname as the stylename and give that stylename in the
    configuration xml
    > as I
    > mentioned in my previous post.
    >
    > And I implemented that using styleName="<value read
    from the config xml>"
    > which inturn refers the stylename I used in the CSS for
    the embedded font.
    >
    > As I mentioned earlier, all the styles I want it to be
    configured, I
    > cannot
    > give italic or bold in the CSS style instead it has to
    be read from my
    > config
    > XML.
    >
    > So I decided to use the fontStyle and fontWeight
    properties of the Label.
    > So
    > then the problem comes, if I use stylename and fontstyle
    together,
    > fontStyle is
    > actually overriding the styleName's embedded font and
    applying style as
    > italic
    > but not with the embedded font which ultimately results
    in not giving me a
    > smoother display.
    You can actually change the CSS declaration itself. But I
    think you will
    also need to embed the other forms of the font if you want to
    use them.
    HTH;
    Amy

  • Query resultset to xml using java and XML schema

    Hi,
    I query data using JDBC and I want to store it to an XML file which has a well defined XML schema. I searched a lot in the forum but did not find an answer. Please guide me to create this program.
    I have managed to use JDBC to get result set but I do not know how to export is to XML using XSD and Java.
    Please help.
    Regards,
    Ravi

    I have managed to use JDBC to get result set but I do
    not know how to export is to XML using XSD and Java.Export using XSD? Schemas are for validation.
    Iterate through the result set, and build up the XML stream by creating an entry for each row.
    Another way to do it is to load the ResultSet into a Java object and serialize that to XML using something like XStream.
    %

Maybe you are looking for

  • Suppress Registration Dialog Staroffice 8

    Hi, I've already read the other post but to copy the profil doesn't seems to be an elegant solution. In Staroffice 7 you can suppress the dialog by editing the file common.xcs (in /staroffice7/share/registry/schema/org/openoffice/office) after the ne

  • Transfer rules sourse system assignment change

    Hi, XAD -- Global APO system AAD -- America APO system GBD - Global BW system ABD - America BW syste, I transported, TR,Comm STru, UR from XAD to AAD In XAD TR,Comm Str,UR pointed to GBD, where as now i need TR,Comm Str,UR to point to ABD when i doub

  • New Verizon router-'old' HP Photosmart 209a-m

    We had to get a new Verizon router - it connected automatically with some of our printers, but not my Photosmart B209a - anybody who can shed light on this problem and give help - much appreciated!!!  Can't afford to buy a new printer - computer does

  • I need help burning a cd from keynote

    I need help burning a cd from keynote for a slideshow presentation on a tv

  • Updates with Adobe

    I am using my IPad and being told I cannot upload your flash. Is the another name for flash on the IPad?