No fields in Ext Str

Extract Structure for Datasource 0CO_REPLINE_0102_HIER  no fields at all ...what does it imply?

hi Jr,
that's normal, hierarhies datasource has no fields display in RSA6,
and extract structure ROHIEROS has the same field
hope this helps.

Similar Messages

  • Marketing attribute in the text field, interactive script

    Hello Gurus,
    We are facing a problem in the interactive script, of the sap crm 7.0.
    We know the possibility of set some of the customer data into the
    script by filling bdc field inthe test field and then adding this text
    field to a script question.
    We did it in the customer data "***" by filling the bdc field with "ext
    field marketing attribute interactive script" and this data is showed
    in the script, but we can not show marketing attribute data in the
    script by using text field and bdc field.
    There is a possiblility of showing the marketing attribute in the text
    field or it is imposible due the structure of bol in crm.
    Thanks  in advance.

    Hello ,
    To display or change the marketing attributes of a business partner in the script follow these steps:
    1.  Run the Interactive Script Editor.
    2.  Create a new Question and in the Answer Area drag and drop the "Marketing Attribute" dynamic answer.
    3.  Select the "Marketing attribute will display here when executing the script" object and go to tab "Dynamic Content Parameters".
    4.  Select the attribute set and the attribute name.
    5.  Save the question.
    6.  Drag and drop the question to your script.
    7.  Change the template of the question node to either "Person Marketing Attributes" or "Organization Marketing Attributes" depending on what type of business partner is expected to be confirmed at run time in the IC_AGENT role.
    8  Save the script.
    9.  Run IC_AGENT or similar IC role.
    10. Confirm an organization ( if you used "Organization Marketing Attributes" ).
    11. Run the script.
    When you reached the question maintained above, the marketing attributes will render for that business partner, if they exists or will be created if they don't exists . To be created a button that will do a navigation is required. It means that the question will have to be linked to a next question or to itself by this button (to itself is required only if it is the last or the only question in the script). To suggest to the user that he or she has to click on the button, to save, is probably better to name the button "Save".
    Octavian

  • Field is there in extract structure but not in RSA6

    Hi all,
    second time i am asking the same question.
    in tcode rsa6, when double click on extract structure i am able to see two fields for size. i have cross checked in tcode lbwe they are on left side only.But still i am not able to see those fields in rsa6.
    i have replicated the datasource in bw.Under transfer rule i can those fields in comm. str., but i dont have info object to update the fields.
    Please help me out....
    regards,
    Viren.

    sorry if u have already given this info in last thread..
    whats the BW version..and whats the datasource?
    Vishvesh

  • Field name in database table

    Hi,
    Can we give the filed names start with '/' character, (like /name)? I saw like these field names in standard table MARA. How we create those fields in Z tables?
    Thanks.

    That are fields in Include structure.
    Yes u can create field with / in ur ztable.
    first create a structure by selection data type radio button in se11.
    in that structure create fields with /.
    NOTE: field must have 2 /.
    i.e ur field must be /str/struct1.
    activate it.
    now in ur database table goto edit menu select
    include->insert
    Give ur structure name .
    Message was edited by:
            Kalpanashri Rajendran

  • Com.sap.inst.split.str.StrExtSplitTask processEmptyPackages

    Hi,
    we are getting this error while starting export.
    INFO: 2009-02-10 07:22:19
    Package 'SAPUSER1' will be stored in 'SAPUSER1.EXT/STR' files.
    INFO: 2009-02-10 07:22:19
    File '/oracle/MSG/sapdata2/coredmp/ABAP/DATA/SAP0000.EXT' was renamed to 'SAP0000.EXT.old'.
    ERROR: 2009-02-10 07:22:19 com.sap.inst.split.str.StrExtSplitTask processEmptyPackages
    java.io.IOException: A system call received a parameter that is not valid.
         at sun.nio.ch.FileChannelImpl.map0(Native Method)
         at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:737)
         at sun.nio.ch.FileChannelImpl.transferFromFileChannel(FileChannelImpl.java:542)
         at sun.nio.ch.FileChannelImpl.transferFrom(FileChannelImpl.java:605)
         at com.sap.inst.lib.io.FileUtils.copyFile(FileUtils.java:447)
         at com.sap.inst.split.str.StrExtSplitTask.processEmptyPackages(StrExtSplitTask.java:459)
         at com.sap.inst.split.str.StrExtSplitTask.doRun(StrExtSplitTask.java:142)
         at com.sap.inst.split.str.StrSplitTask.run(StrSplitTask.java:194)
         at com.sap.inst.split.PackageSplitter.startAppJob(PackageSplitter.java:348)
         at com.sap.inst.lib.app.CommandLineApp.doMain(CommandLineApp.java:111)
         at com.sap.inst.split.PackageSplitter.main(PackageSplitter.java:390)

    Note 1333874 works! We are doing a Unicode migration. During the export we used a "CIO" mounted filesystem as target for the "export files" which lead to the following error in the file:
    ../sapinst_instdir/NW04S/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/str_splitter.log
    ERROR: 2010-11-18 12:37:15 com.sap.inst.split.str.StrExtSplitTask processEmptyPackages
    Exception during processing of 'SAPVIEW' package.
    java.io.IOException: A system call received a parameter that is not valid.
            at sun.nio.ch.FileChannelImpl.map0(Native Method)
            at sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:737)
    Changed to none CIO mounted filesystems... Problem solved!
    Edited by: M. Kuijper on Nov 18, 2010 10:21 PM

  • Data source issue

    i have to enhance multiple fields from r/3 to bw.
    i have added the r/3 fields in rsa6, extract structure, but i cannot see
    the enhanced fields in the ds.
    extract strucuture has got the added fields, if fields are added in ext str, then
    it should automattically be seen in datasource which is not happening.
    plz guide
    Regards
    Sanju

    Hi sanju,
    I believe u have added fields through rsa6 and after data soruce generation u r not able to see these Z fields in data source.
    If this is the situation... then look into table roosfield.
    u may have to use following code after suitable modification for u.
    Some times this updation does not take place automatically in that case this is the work around but not std. solution. for std. solution u may have to raise oss and get some note no. form SAP.
    The required code..
    REPORT  Z_DS_FLD_UPD.
    TABLES: roosfield.
      ZZCLUBT
    *update roosfield set selection = space
    *where oltpsource = '0CUSTOMER_ATTR'
    *and objvers = 'A'
    *and field = 'ZZCLUBT'.
    U will have to use tcode se38 to write this code and run this code.
    Regards,
    Mahendra .
    If the answer is helpful please assign points.

  • Declaring an internal table in smartform

    hi,
       can anyone tell how to declare   internal table in smartform.
       the internal table contains fields from 2 or more data dictionary tables(eg.kna1 
       and adrc). after this from the print program(internal table containing data in print
       program) internal table should be passed to the smartform.
    thanks.

    hi laxya,
    if u want to pass the data from internal table in print program to Smartform.. there is only way.. that is using form interface..
    1. goto se11, create a structure same as the itab in the print program.ex. <b>z_itab</b>
    2. create line type... se11>select radio button-DATA type><b>z_it_itab</b> >press create>then select>TABLE Type> then entrer some text--> in the line type Field in giveth Str name u have created in STEP 1. activate it.
    3. got SMARTFORMS-> form inteface>tables tabe--> give some name ex <b>IT_tab type z_it_itab</b>.
    then acivate it.. then in the driver progam pass this table data.
    Exapmpel
    CALL FUNCTION fp_v_fm_name
        EXPORTING
          archive_index      = toa_dara
          archive_parameters = arc_params
          control_parameters = fp_st_control_parameters
          user_settings      = space
          output_options     = fp_st_output_options
          wa_vbdkr           = fp_st_vbdkr
        IMPORTING
          job_output_info    = l_it_ssfcrescl
          job_output_options = l_it_ssfcresop
        TABLES
    <b>      IT_tab  = z_it_itab (or table in driver program)</b>
      EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Another way is cteate a type in Globaldifination-->types tab..
    ex:
    types: begin of ty_itab,
       matnr type matnr,
       meins type meins
       vrkme  type vrkme,
    end of ty_itab,
    ty_it_itab type standard table of ty_itab.
    then GLOBAL DIFINATION>GLOBAL DATA TAB>IT)ITAB TYPE TY_IT_ITAB.
    BUT In this u can't pass the data from the print Program.. if u want to populate data in to this table... u have to write the Select query in the GLOBAL DIFINATIONS-->INITILIZATIONS TAB.
    Please Close this thread.. when u r problem is solved
    Reward if Helpful
    Regards
    Naresh Reddy K
    Message was edited by:
            Naresh Reddy

  • Delivery document change after PGI ?

    Hi All,
    Is any way can I change the value of the field of "Ext.delivery" in delivery document(Header-->Administration) after PGI and billing process. And the most important thing I have to mention: it was closed in previous period. Somebody can help on this issue would be appreciated.
    Thanks.
    mlai

    Hi,
    You can use the user exit MV45AFZ1 sub routine FORM USEREXIT_SAVE_DOCUMENT.
    Here write a small piece of code.
    if LIKP-LIFEX eq '' .
    Message'External Delivery Number is not Maintained' type 'E' .
    endif .
    I hope this will help you to validate before save the document.
    Regards,
    Murali

  • How do I add an extension to a phone number in Contacts 7.1?

    Now that the perfectly servicable Address Book has been replaced by overly complicated Contacts 7.1 in OS 10.8.3, I cannot add an extention to a telephone number. A phone number with an extention ends up looking like "4155551234ext3710484". Creating a new field named "ext" doesn't help, as any number entered into this field that is longer than 3 digits is autoformated to a phone number. Some of my contacts now have 6 digit extensions!
    Contacts Help is no help whatsoever. Very frustrating.

    From what I read, using a comma to separate the main number from the extension should work.  It inserts a pause, with each additional comma increasing the length of the pause.  So:
    4155551234,,3710484
    might be long enough for the automated system to pick up and reach the point where it'll accept the extension number.  If not, add more commas.
    Commas will also sync to your iPhone if you have one, and work as intended.

  • Good receipt without PO

    Dear experts!
    Now, I'm getting some Issue about Good Receipt in MM module.
    - The first, I created a material master with transaction code MM01.
    - Second, I want to Good Receipt without PO for the Material with quantity is 40 and price is 12.000 per one.
    I think I will create new movement type.
    How do I have to do?
    Help me, please!
    Best regards Huy!

    Hi Huy,
    You can use 501 movment type and make the field EXBWR- Ext. Amount in LC optional/editable in OMJJ. By doing so you will be able to enter the price and the Vendor and create a GR without PO. In this case it would hit the GR/IR account.
    If you desire not to hit this account then you can either use 202 or you can create a Custom movment type similar to it and make the GL account field Optional. Then you can enter the GL account while doing the Goods Receipt.
    Regards,
    Kathir

  • UDF to capture the source file name or the source folder for mapping

    Hi All,
    i have 2 files -  File1 from File2 from 2 different folders- single comm channel FTP (FCC). i have to pass a constant A and B respectively to a field in target structure.
    my options are -
    either create a new field in source str populating different constants and  then map to the target str
    or a udf to get the source file name or the source folder so that i can map the constant using the value mapping/FixValue mapping.
    please suggest. thanks.
    rajib

    Hi,
    please use the UDF to determine the file name. Then based on file name either pass A or B to your target field.
    The code is as given below. Just tweak the code to pass either A or B as per your requirement.
    public String G_GetFileName(Container container) throws StreamTransformationException{
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName; 
    Regards,
    Deepak.

  • Java Text Editor

    I have created an applet editor that will enable a user to break a text file down into a series of smaller html files. This does serve a purpose that is not really important at the moment and I don't want to bore you all.
    The problem I am having is that upon clicking the open button and the 2 save buttons, the applet opens file chooser where you can select a file. The problem is that once the file is open, the applet, for some reason starts the openfile() method again. The same happens when using the the 2 saveFile() methods. Can anyone help?
    package tagger;
    import java.awt.*;
    import java.applet.*;
    import javax.swing.JComboBox;
    import javax.swing.JPanel;
    import javax.swing.JButton;
    import javax.swing.text.Document;
    import javax.swing.JTextArea;
    import javax.swing.JTextField;
    import javax.swing.JScrollPane;
    import javax.swing.SwingConstants;
    import javax.swing.JLabel;
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.net.*;
    import java.net.URL;
    import java.io.IOException;
    import java.io.DataInputStream;
    import javax.swing.filechooser.FileFilter;
    * <p>Title: Cheshire Parish Register Database Note Tagging System</p>
    * <p>Description: An online Text Editor and Note Creation Tool for use with
    * CPRDB</p>
    * <p>Copyright: </p>
    * <p>Company: The University Of Liverpool</p>
    * @author Mike Melling
    * @version 1.0
    public class NoteTagger extends Applet {
        public String fileName = null;
        boolean isStandalone = false;
        BorderLayout borderLayout1 = new BorderLayout();
        JPanel jPanel1 = new JPanel();
        BorderLayout borderLayout2 = new BorderLayout();
        JPanel jPanel2 = new JPanel();
        JPanel jPanel3 = new JPanel();
        JPanel jPanel4 = new JPanel();
        JPanel jPanel5 = new JPanel();
        JPanel jPanel6 = new JPanel();
        BorderLayout borderLayout3 = new BorderLayout();
        BorderLayout borderLayout4 = new BorderLayout();
        BorderLayout borderLayout6 = new BorderLayout();
        BorderLayout borderLayout7 = new BorderLayout();
        JScrollPane jScrollPane1 = new JScrollPane();
        JTextArea jTextArea1 = new JTextArea();
        JScrollPane jScrollPane2 = new JScrollPane();
        JTextArea jTextArea4 = new JTextArea();
        BorderLayout borderLayout8 = new BorderLayout();
        JPanel jPanel7 = new JPanel();
        JPanel jPanel8 = new JPanel();
        JPanel jPanel9 = new JPanel();
        JPanel jPanel10 = new JPanel();
        JPanel jPanel11 = new JPanel();
        JPanel jPanel13 = new JPanel();
        JPanel jPanel14 = new JPanel();
        BorderLayout borderLayout9 = new BorderLayout();
        JPanel jPanel15 = new JPanel();
        JPanel jPanel16 = new JPanel();
        JPanel jPanel17 = new JPanel();
        JPanel jPanel18 = new JPanel();
        JPanel jPanel19 = new JPanel();
        BorderLayout borderLayout10 = new BorderLayout();
        JButton jButton2 = new JButton();
        JButton jButton1 = new JButton();
        JPanel jPanel22 = new JPanel();
        BorderLayout borderLayout12 = new BorderLayout();
        JScrollPane jScrollPane5 = new JScrollPane();
        JTextArea jTextArea3 = new JTextArea();
        JLabel jLabel1 = new JLabel();
        BorderLayout borderLayout13 = new BorderLayout();
        BorderLayout borderLayout14 = new BorderLayout();
        FlowLayout flowLayout1 = new FlowLayout();
        BorderLayout borderLayout15 = new BorderLayout();
        JPanel jPanel27 = new JPanel();
        Document document1 = jTextArea1.getDocument();
        Document document2 = jTextArea3.getDocument();
        JFileChooser jFileChooser1 = new JFileChooser();
        String currFileName = null; // Full path and filename. null means new/untitled.
        JPanel jPanel20 = new JPanel();
        java.awt.BorderLayout borderLayout16 = new BorderLayout();
        JPanel jPanel24 = new JPanel();
        JTextField jTextField1 = new JTextField();
        JPanel jPanel25 = new JPanel();
        java.awt.BorderLayout borderLayout18 = new BorderLayout();
        JTextField jTextField2 = new JTextField();
        JPanel jPanel26 = new JPanel();
        JPanel jPanel12 = new JPanel();
        JPanel jPanel21 = new JPanel();
        JPanel jPanel23 = new JPanel();
        JPanel jPanel28 = new JPanel();
        java.awt.BorderLayout borderLayout5 = new BorderLayout();
        JButton jButton6 = new JButton();
        JButton jButton7 = new JButton();
        JFileChooser jFileChooser2 = new JFileChooser();
        String currFileName2 = null; //Full path and filename. null means new/untitled
        JButton jButton3 = new JButton();
        public String getParameter(String key, String def) {
            return isStandalone ? System.getProperty(key, def) :
                    (getParameter(key) != null ? getParameter(key) : def);
        //Construct the applet
        public NoteTagger() {
            try {
                jbInit();
            } catch (Exception ex) {
                ex.printStackTrace();
        //Initialize the applet
        public void init() {
            try {
                jbInit();
            } catch (Exception e) {
                e.printStackTrace();
        //Component initialization
        private void jbInit() throws Exception {
            jPanel1.setLayout(borderLayout2);
            jPanel5.setLayout(borderLayout3);
            jPanel2.setLayout(borderLayout13);
            jPanel6.setLayout(borderLayout14);
            jPanel3.setLayout(borderLayout6);
            jPanel4.setLayout(borderLayout7);
            jTextArea1.setLineWrap(true);
            jPanel3.setPreferredSize(new Dimension(700, 100));
            jPanel4.setBackground(Color.lightGray);
            jPanel4.setPreferredSize(new Dimension(700, 50));
            jTextArea4.setPreferredSize(new Dimension(700, 100));
            jTextArea4.setEditable(false);
            jTextArea4.setText("");
            jScrollPane2.setVerticalScrollBarPolicy(JScrollPane.
                                                    VERTICAL_SCROLLBAR_ALWAYS);
            jScrollPane2.setPreferredSize(new Dimension(700, 100));
            this.setLayout(borderLayout8);
            jPanel2.setBackground(Color.lightGray);
            jPanel2.setPreferredSize(new Dimension(700, 850));
            jPanel7.setBackground(Color.lightGray);
            jPanel8.setBackground(Color.lightGray);
            jPanel9.setBackground(Color.lightGray);
            jPanel10.setBackground(Color.lightGray);
            jPanel11.setBackground(Color.lightGray);
            jScrollPane1.setVerticalScrollBarPolicy(JScrollPane.
                                                    VERTICAL_SCROLLBAR_ALWAYS);
            jScrollPane1.setMinimumSize(new Dimension(300, 470));
            jScrollPane1.setPreferredSize(new Dimension(470, 470));
            jPanel13.setBackground(Color.lightGray);
            jPanel14.setBackground(Color.lightGray);
            jPanel14.setLayout(borderLayout9);
            jPanel15.setBackground(Color.lightGray);
            jPanel15.setLayout(borderLayout10);
            jPanel16.setBackground(Color.lightGray);
            jPanel16.setPreferredSize(new Dimension(10, 7));
            jPanel19.setBackground(Color.lightGray);
            jPanel18.setBackground(Color.lightGray);
            jPanel18.setPreferredSize(new Dimension(280, 33));
            jPanel18.setLayout(flowLayout1);
            jPanel17.setBackground(Color.lightGray);
            jButton2.setBackground(Color.lightGray);
            jButton2.setPreferredSize(new Dimension(83, 23));
            jButton2.setHorizontalAlignment(SwingConstants.CENTER);
            jButton2.setHorizontalTextPosition(SwingConstants.CENTER);
            jButton2.setText("Open");
            jButton2.addActionListener(new NoteTagger_jButton2_actionAdapter(this));
            jPanel5.setPreferredSize(new Dimension(500, 560));
            jPanel6.setBackground(Color.lightGray);
            jPanel6.setMinimumSize(new Dimension(217, 550));
            jPanel6.setPreferredSize(new Dimension(500, 560));
            jPanel22.setBackground(Color.lightGray);
            jPanel22.setLayout(borderLayout15);
            jScrollPane5.setHorizontalScrollBarPolicy(JScrollPane.
                                                      HORIZONTAL_SCROLLBAR_AS_NEEDED);
            jScrollPane5.setVerticalScrollBarPolicy(JScrollPane.
                                                    VERTICAL_SCROLLBAR_ALWAYS);
            jScrollPane5.setMaximumSize(new Dimension(32767, 245));
            jScrollPane5.setMinimumSize(new Dimension(300, 470));
            jScrollPane5.setPreferredSize(new Dimension(300, 470));
            jLabel1.setFont(new java.awt.Font("Dialog", Font.PLAIN, 20));
            jLabel1.setToolTipText("");
            jLabel1.setHorizontalAlignment(SwingConstants.CENTER);
            jLabel1.setHorizontalTextPosition(SwingConstants.CENTER);
            jLabel1.setText("Cheshire Parish Register Database Note Tagging System");
            jPanel27.setBackground(Color.lightGray);
            jTextArea3.setMaximumSize(new Dimension(2147483647, 2147483647));
            jTextArea1.setDocument(document1);
            jTextArea3.setMaximumSize(new Dimension(2147483647, 2147483647));
            jTextArea3.setDocument(document2);
            jButton1.setBackground(Color.lightGray);
            jButton1.setPreferredSize(new Dimension(83, 23));
            jButton1.setHorizontalAlignment(SwingConstants.CENTER);
            jButton1.setHorizontalTextPosition(SwingConstants.CENTER);
            jButton1.setText("Save");
            jButton1.addActionListener(new NoteTagger_jButton1_actionAdapter(this));
            jButton1.setEnabled(false);
            this.setBackground(Color.lightGray);
            jPanel1.setBorder(BorderFactory.createRaisedBevelBorder());
            jPanel1.setPreferredSize(new Dimension(1000, 750));
            jPanel20.setLayout(borderLayout16);
            jTextField1.setPreferredSize(new Dimension(62, 25));
            jTextField1.setText("");
            jPanel24.setBackground(Color.lightGray);
            jPanel24.setMaximumSize(new Dimension(10, 10));
            jPanel25.setLayout(borderLayout18);
            jTextField2.setMaximumSize(new Dimension(62, 25));
            jTextField2.setPreferredSize(new Dimension(62, 25));
            jTextField2.setText("");
            jPanel26.setBackground(Color.lightGray);
            jPanel26.setMaximumSize(new Dimension(10, 10));
            jPanel25.setPreferredSize(new Dimension(470, 505));
            jPanel12.setPreferredSize(new Dimension(300, 40));
            jPanel12.setLayout(borderLayout5);
            jPanel28.setBackground(Color.lightGray);
            jPanel21.setBackground(Color.lightGray);
            jPanel23.setBackground(Color.lightGray);
            jButton6.setBackground(Color.lightGray);
            jButton6.setPreferredSize(new Dimension(83, 23));
            jButton6.setText("Save");
            jButton6.setEnabled(false);
            jButton6.addActionListener(new NoteTagger_jButton6_actionAdapter(this));
            jButton7.setBackground(Color.lightGray);
            jButton7.setPreferredSize(new Dimension(83, 23));
            jButton7.setText("Query");
            jButton7.addActionListener(new NoteTagger_jButton7_actionAdapter(this));
            jFileChooser1.addChoosableFileFilter( new FileFilter1() );
            jFileChooser1.setAcceptAllFileFilterUsed( false );
            jFileChooser1.setMultiSelectionEnabled( false );
            jFileChooser1.setSelectedFile( null );
            jFileChooser2.addChoosableFileFilter( new FileFilter2() );
            jFileChooser2.setAcceptAllFileFilterUsed( false );
            jFileChooser2.setMultiSelectionEnabled( false );
            jFileChooser2.setSelectedFile( null );
            jButton3.setMaximumSize(new Dimension(83, 23));
            jButton3.setMinimumSize(new Dimension(83, 23));
            jButton3.setPreferredSize(new Dimension(83, 23));
            jButton3.setText("New");
            jButton3.addActionListener(new NoteTagger_jButton3_actionAdapter(this));
            jPanel1.add(jPanel2, java.awt.BorderLayout.CENTER);
            jPanel1.add(jPanel3, java.awt.BorderLayout.SOUTH);
            jScrollPane2.getViewport().add(jTextArea4);
            this.add(jPanel1, java.awt.BorderLayout.CENTER);
            jPanel3.add(jScrollPane2, java.awt.BorderLayout.CENTER);
            jPanel3.add(jPanel8, java.awt.BorderLayout.SOUTH);
            jPanel3.add(jPanel9, java.awt.BorderLayout.WEST);
            jPanel3.add(jPanel10, java.awt.BorderLayout.EAST);
            jPanel3.add(jPanel11, java.awt.BorderLayout.NORTH);
            jPanel5.add(jPanel7, java.awt.BorderLayout.WEST);
            jPanel5.add(jPanel13, java.awt.BorderLayout.EAST);
            jPanel5.add(jPanel20, java.awt.BorderLayout.CENTER);
            jPanel14.add(jPanel16, java.awt.BorderLayout.SOUTH);
            jPanel14.add(jPanel15, java.awt.BorderLayout.NORTH);
            jPanel15.add(jPanel19, java.awt.BorderLayout.WEST);
            jPanel15.add(jPanel17, java.awt.BorderLayout.EAST);
            jPanel15.add(jPanel18, java.awt.BorderLayout.CENTER);
            jPanel4.add(jLabel1, java.awt.BorderLayout.CENTER);
            jPanel18.add(jButton2);
            jPanel18.add(jButton1);
            jPanel20.add(jTextField1, java.awt.BorderLayout.NORTH);
            jPanel5.add(jPanel14, java.awt.BorderLayout.NORTH);
            jScrollPane1.getViewport().add(jTextArea1);
            jPanel25.add(jScrollPane5, java.awt.BorderLayout.SOUTH);
            jPanel25.add(jTextField2, java.awt.BorderLayout.NORTH);
            jPanel25.add(jPanel26, java.awt.BorderLayout.CENTER);
            jPanel6.add(jPanel12, java.awt.BorderLayout.NORTH);
            jScrollPane5.getViewport().add(jTextArea3);
            jPanel6.add(jPanel27, java.awt.BorderLayout.EAST);
            jPanel1.add(jPanel4, java.awt.BorderLayout.NORTH);
            jPanel1.add(jPanel5, java.awt.BorderLayout.WEST);
            jPanel1.add(jPanel6, java.awt.BorderLayout.EAST);
            jPanel6.add(jPanel22, java.awt.BorderLayout.WEST);
            jPanel6.add(jPanel25, java.awt.BorderLayout.CENTER);
            jPanel12.add(jPanel28, java.awt.BorderLayout.WEST);
            jPanel21.add(jButton7);
            jPanel21.add(jButton6);
            jPanel21.add(jButton3);
            jPanel12.add(jPanel23, java.awt.BorderLayout.EAST);
            jPanel12.add(jPanel21, null);
            jPanel20.add(jPanel24, java.awt.BorderLayout.CENTER);
            jPanel20.add(jScrollPane1, java.awt.BorderLayout.SOUTH);
        //Start the applet
        public void start() {
        //Stop the applet
        public void stop() {
        //Destroy the applet
        public void destroy() {
        //Get Applet information
        public String getAppletInfo() {
            return "Applet Information";
        //Get parameter info
        public String[][] getParameterInfo() {
            return null;
        // Open named file; read text from file into jTextArea1; report to statusBar.
         void openFile(String fileName) {
             try {
                 // Open a file of the given name.
                 File file = new File(fileName);
                 // Get the size of the opened file.
                 int size = (int) file.length();
                 // Set to zero a counter for counting the number of
                 // characters that have been read from the file.
                 int chars_read = 0;
                 // Create an input reader based on the file, so we can read its data.
                 // FileReader handles international character encoding conversions.
                 FileReader in = new FileReader(file);
                 // Create a character array of the size of the file,
                 // to use as a data buffer, into which we will read
                 // the text data.
                 char[] data = new char[size];
                 // Read all available characters into the buffer.
                 while (in.ready()) {
                     // Increment the count for each character read,
                     // and accumulate them in the data buffer.
                     chars_read += in.read(data, chars_read, size - chars_read);
                 in.close();
                 // Create a temporary string containing the data,
                 // and set the string into the JTextArea.
                 jTextArea1.setText(new String(data, 0, chars_read));
                 // Cache the currently opened filename for use at save time...
                 this.currFileName = fileName;
                 jButton1.setEnabled(true);
            jTextArea4.append('\n'+"Opnened "+ currFileName);
      catch (IOException e) {
        jTextArea4.append('\n'+"Error opening "+fileName);
        // Save current file; handle not yet having a filename; report to statusBar.
    boolean saveFile() {
        // Handle the case where we don't have a file name yet.
        if (currFileName == null) {
            return saveAsFile();
        try {
        // Open a file of the current name.
        File file = new File (currFileName);
        // Create an output writer that will write to that file.
        // FileWriter handles international characters encoding conversions.
        FileWriter out = new FileWriter(file);
        String text = jTextArea1.getText();
        out.write(text);
        out.close();
        jButton1.setEnabled(false);
                return true;
      catch (IOException e) {
        jTextArea4.append('\n'+"Error saving "+ currFileName);
      return false;
        // Save current file; handle not yet having a filename; report to statusBar.
        boolean saveFile2() {
            // Handle the case where we don't have a file name yet.
        if (currFileName2 == null) {
            return saveAsFile2();
        try {
        // Open a file of the current name.
        File file = new File (currFileName2);
        // Create an output writer that will write to that file.
        // FileWriter handles international characters encoding conversions.
        FileWriter out = new FileWriter(file);
        String text = jTextArea3.getText();
        out.write(text);
        out.close();
        jButton7.setEnabled(false);
                return true;
      catch (IOException e) {
        jTextArea4.append('\n'+"Error saving "+ currFileName2);
      return false;
        // Save current file, asking user for new destination name.
    // Report to statusBar.
        boolean saveAsFile() {
          // Use the SAVE version of the dialog, test return for Approve/Cancel
          if (JFileChooser.APPROVE_OPTION == jFileChooser1.showSaveDialog(this)) {
            // Set the current file name to the user's selection,
            // then do a regular saveFile
            currFileName = jFileChooser1.getSelectedFile().getPath();
            //repaints menu after item is selected
            this.repaint();
            return saveFile();
          else {
            this.repaint();
            return false;
        // Save current file, asking user for new destination name.
    // Report to statusBar.
        boolean saveAsFile2() {
          // Use the SAVE version of the dialog, test return for Approve/Cancel
          if (JFileChooser.APPROVE_OPTION == jFileChooser2.showSaveDialog(this)) {
            // Set the current file name to the user's selection,
            // then do a regular saveFile
            currFileName2 = jFileChooser2.getSelectedFile().getPath();
            //repaints menu after item is selected
            this.repaint();
            return saveFile();
          else {
            this.repaint();
            return false;
        public void jButton1_actionPerformed(ActionEvent e) {
            saveFile();
            // Display the name of the saved directory+file in the statusBar.
            jTextArea4.append('\n'+"Saved to " + currFileName);
        public void jButton7_actionPerformed(ActionEvent e) {
            try{
                getAppletContext().showDocument(new URL("http://www.csc.liv.ac.uk/~cprdb/Live/v3.3/database.html"), "_blank" );
            catch (MalformedURLException ex)
                ex.printStackTrace();
            jButton6.setEnabled(true);
        public void jButton6_actionPerformed(ActionEvent e) {
            saveFile2();
            // Display the name of the saved directory+file in the statusBar.
            jTextArea4.append('\n'+"Saved to " + currFileName2);
        public void jButton3_actionPerformed(ActionEvent e) {
         // Handle the File|New menu item.
         // Clears the text of the text area.
         jTextArea3.setText("");
         currFileName2 = null;
         jButton6.setEnabled(true);
         jButton7.setEnabled(false);
        public void jButton2_actionPerformed(ActionEvent e) {
                // Use the OPEN version of the dialog, test return for Approve/Cancel
            if (JFileChooser.APPROVE_OPTION == jFileChooser1.showOpenDialog(this)) {
        // Call openFile to attempt to load the text from file into TextArea
                openFile(jFileChooser1.getSelectedFile().getPath());
                  this.repaint();
    class NoteTagger_jButton3_actionAdapter implements ActionListener {
        private NoteTagger adaptee;
        NoteTagger_jButton3_actionAdapter(NoteTagger adaptee) {
            this.adaptee = adaptee;
        public void actionPerformed(ActionEvent e) {
            adaptee.jButton3_actionPerformed(e);
    class NoteTagger_jButton6_actionAdapter implements ActionListener {
            private NoteTagger adaptee;
            NoteTagger_jButton6_actionAdapter(NoteTagger adaptee) {
                this.adaptee = adaptee;
            public void actionPerformed(ActionEvent e) {
                adaptee.jButton6_actionPerformed(e);
        class NoteTagger_jButton7_actionAdapter implements ActionListener {
            private NoteTagger adaptee;
            NoteTagger_jButton7_actionAdapter(NoteTagger adaptee) {
                this.adaptee = adaptee;
            public void actionPerformed(ActionEvent e) {
                adaptee.jButton7_actionPerformed(e);
    class NoteTagger_jButton2_actionAdapter implements ActionListener {
        private NoteTagger adaptee;
        NoteTagger_jButton2_actionAdapter(NoteTagger adaptee) {
            this.adaptee = adaptee;
        public void actionPerformed(ActionEvent e) {
            adaptee.jButton2_actionPerformed(e);
    class NoteTagger_jButton1_actionAdapter implements ActionListener {
        private NoteTagger adaptee;
        NoteTagger_jButton1_actionAdapter(NoteTagger adaptee) {
            this.adaptee = adaptee;
        public void actionPerformed(ActionEvent e) {
            adaptee.jButton1_actionPerformed(e);
    class FileSelectorUtils {
              public static String getExtension( File file ) {
              return getExtension( file.getName() );
                    private static String getExtension( String str ) {
              String ext = null;
              int i = str.lastIndexOf( '.' );
                  if( i > 0 && i < str.length() - 1) {
                     ext = str.substring( i + 1 ).toLowerCase();
              return ext;
              public static File ensureExtension( File file, String ext ) {
                  if( getExtension( file ) == null ) {
                      file = new File( file.getAbsolutePath() + "." + ext );
                  return file;
          class FileFilter1 extends FileFilter {
             // Valid File Extension
             public final static String txt = "txt";
                  public boolean accept( File f ) {
             // Display Directory
             if( f.isDirectory() ) { return true; }
             // Get File's Extension
             String extension = FileSelectorUtils.getExtension( f );
             // Accept Select File Extensions
             if( extension != null ) {
    if( extension.equals( FileFilter1.txt ) ) { return true; } // Accept *.ann
            // Else Deny File
            return false;
            public String getDescription() {
            return "Text Doument (*.txt)";
            class FileFilter2 extends FileFilter {
             // Valid File Extension
             public final static String html = "html";
                  public boolean accept( File f ) {
             // Display Directory
             if( f.isDirectory() ) { return true; }
             // Get File's Extension
             String extension = FileSelectorUtils.getExtension( f );
             // Accept Select File Extensions
             if( extension != null ) {
    if( extension.equals( FileFilter2.html ) ) { return true; } // Accept *.ann
            // Else Deny File
            return false;
            public String getDescription() {
            return "HTML Document (*.html)";
            }Any ideas? I could do with help ASAP if anybody has any ideas... Thanks
    Mike

    The apps listed at java-tips.org are just some of those that happen to be written in Java. If you want an editor that does syntax highlighting and other programming-specific tasks, you have dozens more options. A few Windows editors that spring to mind are EditPad, Crimson Editor, Scite, UltraEdit and Notetab. Then there are the old Unix standys, Emacs and vi, which have Windows versions as well. I use EditPad Pro, which isn't free like many of the others, but is worth the money anyway, IMO.

  • How to search for a word in a text editor

    Hi,
       I have created a custom container and added some text to it. Is there any method to search for words in this?

    Lilan,
    To search a character field for a particular pattern, use the SEARCH statement as follows:
    SEARCH <c> FOR <str> <options>.
    The statement searches the field <c> for <str> starting at position <n1>. If successful, the return code value of SY-SUBRC is set to 0 and SY-FDPOS is set to the offset of the string in the field <c>. Otherwise, SY-SUBRC is set to 4.
    The search string <str> can have one of the following forms.
    <str>
    Function
    <pattern>
    Searches for <pattern> (any sequence of characters). Trailing blanks are ignored.
    .<pattern>.
    Searches for <pattern>. Trailing blanks are not ignored.
    *<pattern>
    A word ending with <pattern> is sought.
    <pattern>*
    Searches for a word starting with <pattern>.
    Words are separated by blanks, commas, periods, semicolons, colons, question marks, exclamation marks, parentheses, slashes, plus signs, and equal signs.
    <option> in the SEARCH FOR statement can be any of the following:
    ABBREVIATED
    Searches the field <c> for a word containing the string in <str>. The characters can be separated by other characters. The first letter of the word and the string <str> must be the same.
    STARTING AT <n1>
    Searches the field <c> for <str> starting at position <n1>. The result SY-FDPOS refers to the offset relative to <n1> and not to the start of the field.
    ENDING AT <n2>
    Searches the field <c> for <str> up to position <n2>.
    AND MARK
    If the search string is found, all the characters in the search string (and all the characters in between when using ABBREVIATED) are converted to upper case.
    Pls. Mark

  • Creating jTbale that reads a text file

    hey,
    i want to make a Jtable out of a text file such that if there are blank spaces it should enter the text into a new column and if there is a new line then it should be entered into a new row. ...like if there is a text file such as
    1 2 3
    4 5 6
    then it should be entered into a JTable of 2 rows and three columns.....following similar topics in forum I have written something like this
    try          {
          Vector data = new Vector();
         vector data1 = new vector();
          String aLine;
           String aDouble;
          FileInputStream fis = new FileInputStream(selFile);
          BufferedReader br = new BufferedReader(new InputStreamReader(fis));
         //read each double
         while ((adouble = br.readDouble()) != null) {
             // create a vector to hold the field values
             Vector column = new Vector();
             // tokenize words into field values
             StringTokenizer str = new StringTokenizer(adouble, " ");
             while (str.hasMoreTokens()) {
                // add field to the column
                column.addElement(str.nextToken());
             // add column to the model
             model.addColumn(column);
          // read each line of the file
          while ((aLine = br.readLine()) != null) {
             // create a vector to hold the field values
             Vector row = new Vector();
             // tokenize line into field values
             StringTokenizer st = new StringTokenizer(aLine, "|");
             while (st.hasMoreTokens()) {
                // add field to the row
                row.addElement(st.nextToken());
             // add row to the model
             model.addRow(row);
          // Close file
          br.close();
          fis.close();
                            catch (IOException ioExc){
                        ioExc.printStackTrace();     
                        }the code ofcourse is not doing what is expected
    please help!!!!!!!!
    Thanks

    Thanks camickr....i read that we can use readDouble however I am getting an error if am using that.....here is my complete code.....
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import java.util.*;
    import java.lang.*;
    import java.io.*;
    import javax.swing.JTable;
    import javax.swing.table.TableCellRenderer;
    public class TeamTable extends JFrame implements ActionListener, ItemListener                
    static JTable table;
         // constructor
        public TeamTable()                
            super( "Invoermodule - ABCD" );
            setSize( 740, 365 );
              // setting the rownames
            ListModel listModel = new AbstractListModel()                     
                String headers[] = {"Values"};
                public int getSize() { return headers.length; }
                public Object getElementAt(int index) { return headers[index]; }
              // add listModel & rownames to the table
              DefaultTableModel defaultModel = new DefaultTableModel(listModel.getSize(),4);
              table = new JTable( defaultModel );
              // setting the columnnames and center alignment of table cells
              int width = 200;
              int[] vColIndex = {0,1,2,3};
              String[] ColumnName = {"a", "b", "c", "d"};
              TableCellRenderer centerRenderer = new CenterRenderer();          
              for (int i=0; i < vColIndex.length;i++)          {
                             table.getColumnModel().getColumn(vColIndex).setHeaderValue(ColumnName[i]);
                             table.getColumnModel().getColumn(vColIndex[i]).setPreferredWidth(width);
                             table.getColumnModel().getColumn(vColIndex[i]).setCellRenderer(centerRenderer);
              table.setFont(new java.awt.Font("Dialog", Font.ITALIC, 12));
              // force the header to resize and repaint itself
              table.getTableHeader().resizeAndRepaint();
              // create single component to add to scrollpane (rowHeader is JList with argument listModel)
              JList rowHeader = new JList(listModel);
              rowHeader.setFixedCellWidth(100);
              rowHeader.setFixedCellHeight(table.getRowHeight());
              rowHeader.setCellRenderer(new RowHeaderRenderer(table));
              //JList columnHeader = new JList(listModel);
              //columnHeader.setFixedCellWidth(100);
              //rowHeader.setFixedCellHeight(table.getRowHeight());
              //columnHeader.setCellRenderer(new ColumnHeaderRenderer(table));
              // add to scroll pane:
              JScrollPane scroll = new JScrollPane( table );
              scroll.setRowHeaderView(rowHeader); // Adds row-list left of the table
              getContentPane().add(scroll, BorderLayout.CENTER);
              // add menubar, menu, menuitems with evenlisteners to the frame.
              JMenuBar menubar = new JMenuBar();
              setJMenuBar (menubar);
              JMenu filemenu = new JMenu("File");
              menubar.add(filemenu);
              JMenuItem open = new JMenuItem("Open");
              JMenuItem save = new JMenuItem("Save");
              JMenuItem exit = new JMenuItem("Exit");
              open.addActionListener(this);
              save.addActionListener(this);
              exit.addActionListener(this);
              filemenu.add(open);
              filemenu.add(save);
              filemenu.add(exit);
              filemenu.addItemListener(this);
    // ActionListener for ActionEvents on JMenuItems.
    public void actionPerformed(ActionEvent e)
         String open = "Open";
         String save = "Save";
         String exit = "Exit";
              DefaultTableModel model = (DefaultTableModel)table.getModel();
              if (e.getSource() instanceof JMenuItem)     
                   JMenuItem source = (JMenuItem)(e.getSource());
                   String x = source.getText();
                        if (x == open)          
                             System.out.println("open file");
                        // create JFileChooser.
                        String filename = File.separator+"tmp";
                        JFileChooser fc = new JFileChooser(new File(filename));
                        // set default directory.
                        File wrkDir = new File("C:/Documents and Settings/Table");
                        fc.setCurrentDirectory(wrkDir);
                        // show open dialog.
                        int returnVal =     fc.showOpenDialog(null);
                        File selFile = fc.getSelectedFile();
                        if(returnVal == JFileChooser.APPROVE_OPTION) {
                        System.out.println("You chose to open this file: " +
                   fc.getSelectedFile().getName());
              try{
    Vector data = new Vector();
         String adouble;
    FileInputStream fis = new FileInputStream(selFile);
    BufferedReader br = new BufferedReader(new InputStreamReader(fis));
         //read each double
         while ((adouble = br.readDouble()) != null) {
    // create a vector to hold the field values
    Vector column = new Vector();
         Vector row = new Vector();
    // tokenize words into field values
    StringTokenizer str = new StringTokenizer(adouble, " ");
         StringTokenizer st = new StringTokenizer(adouble, "|");
    while (str.hasMoreTokens()) {
    // add field to the column
    column.addElement(str.nextToken());
    // add column to the model
    model.addColumn(column);
         while (st.hasMoreTokens()) {
    // add field to the column
    row.addElement(st.nextToken());
    // add row to the model
    model.addRow(row);
    // Close file
    br.close();
    fis.close();
              catch (IOException ioExc){
              ioExc.printStackTrace();     
                        if (x == save)          {
                             System.out.println("save file");
                        if (x == exit)          {
                             System.out.println("exit file");
    // ItemListener for ItemEvents on JMenu.
    public void itemStateChanged(ItemEvent e) {       
              String s = "Item event detected. Event source: " + e.getSource();
              System.out.println(s);
         public static void main(String[] args)                {
              TeamTable frame = new TeamTable();
              frame.setUndecorated(true);
         frame.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
              frame.addWindowListener( new WindowAdapter()           {
                   public void windowClosing( WindowEvent e )                {
         System.exit(0);
    frame.setVisible(true);
    * Define the look/content for a cell in the row header
    * In this instance uses the JTables header properties
    class RowHeaderRenderer extends JLabel implements ListCellRenderer           {
    * Constructor creates all cells the same
    * To change look for individual cells put code in
    * getListCellRendererComponent method
    RowHeaderRenderer(JTable table)      {
    JTableHeader header = table.getTableHeader();
    setOpaque(true);
    setBorder(UIManager.getBorder("TableHeader.cellBorder"));
    setHorizontalAlignment(CENTER);
    setForeground(header.getForeground());
    setBackground(header.getBackground());
    setFont(header.getFont());
    * Returns the JLabel after setting the text of the cell
         public Component getListCellRendererComponent( JList list,
    Object value, int index, boolean isSelected, boolean cellHasFocus)      {
    setText((value == null) ? "" : value.toString());
    return this;
    class CenterRenderer extends DefaultTableCellRenderer
    public CenterRenderer()
    setHorizontalAlignment( CENTER );
    public Component getTableCellRendererComponent(
    JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
    super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
    if (hasFocus)
    setBackground( Color.cyan );
    else if (isSelected)
    setBackground( table.getSelectionBackground() );
    else
    setBackground( table.getBackground() );
    return this;

  • Sending "Cookie" header  with JRE 1.5.0_07 doesn't work with JWS

    Hi
    I have a JWS application that runs from JRE 1.4.0_XX to JRE 1.5.0_06
    The app sends a "Cookie" header to our webserver
    HttpURLConnection tc = (HttpURLConnection)repository.openConnection();
    tc.setRequestProperty("Cookie", "GLINK=TOKENID");
    Now this has worked thru 20 different runtime versions since 1.4.0_xx until JRE 1.5.0_07 was released. My code has remained unchanged for 3 years. And with JRE 1.5.0_07 the "Cookie" header is simply gone in the webserver or never sent at all. The changelog for 1.5.0_07 only has a rough description of what has changed. I can see that SUN has made som changes to class HttpUrlConnection in 1.5.0_07 by comparing class files against 1.5.0_06 and apparently disturbed som funtionality that worked before. Other headers are received but not the "Cookie" header. If the application is executed without JWS, for example with Eclipse or Jbuilder, the "Cookie" header is received by the web server and all other headers as well.
    Any ideas what SUN has done in 1.5.0_07 and JWS ?? and more specifically in class URLConnection or HttpURLConnection.
    Here is some code example to test the issue:
    Run this code with and without Java Web Start
    With JWS, the "Cookie" header is never received by the server.
    without JWS, the header value is reveived.
    import java.net.*;
    import java.io.*;
    public class HTTPTest
    public static byte[] crLfArr = {13,10};
    public static String contenttype_ = "text/plain";
    public static BufferedReader retval = null;
    public static void main(String[] args) throws IOException
    int tecken = (int)'X';
    String boundary = "12345xyzzy";
    URL repository = new URL("http://myserver");
    URLConnection tc = (URLConnection)repository.openConnection();
    tc.setDoOutput(true);
    tc.setDoInput(true);
    tc.setAllowUserInteraction(false);
    tc.setRequestProperty("Content-Type"," multipart/form-data; boundary=" + boundary);
    tc.setRequestProperty("Cookie", "GLINK=TOKENID");
    OutputStream out = tc.getOutputStream();
    printPartHeader(out, boundary, "filtag" , "filnamn");
    out.write(tecken);
    printEndBoundary(out,boundary);
    out.close();
    retval = new BufferedReader(new InputStreamReader(tc.getInputStream()));
    public static void printEndBoundary(OutputStream out, String boundary) throws IOException
    String str;
    str = "--" + boundary + "--";
    out.write(str.getBytes());
    out.write(crLfArr);
    out.write(crLfArr);
    public static void printPartHeader(OutputStream out,
    String boundary,
    String field,
    String filename) throws IOException
    String str;
    printBoundary(out,boundary);
    str = "Content-Disposition: form-data; name=\"" + field + "\"";
    out.write(str.getBytes());
    if (filename.length() > 0) {
    str = "; filename=\"" + filename + "\"";
    out.write(str.getBytes());
    out.write(crLfArr);
    str = "Content-Type: " + contenttype_;
    out.write(str.getBytes());
    out.write(crLfArr);
    out.write(crLfArr);
    public static void printBoundary(OutputStream out, String boundary) throws IOException
    String str;
    str = "--" + boundary;
    out.write(str.getBytes());
    out.write(crLfArr);
    Regards
    Jojje

    Hi,
    I decompiled the HttpURLConnection implementation in question from the rt.jar file. I do not think that you can find the source code for these SUN-specific implementations anywhere (except maybe through the new Java 6.0 collaboration process).
    JAD did the trick.
    For the standard classes (packages java.*, javax.*), I think that the most current source code is included in the corresponding JDK download.
    As to the JWS vs. standalone effect, I do not know what happens there.
    Maybe Java uses a different HttpURLConnection implementation when running as a standalone application?
    For our applet, the problem is definitely there. The cookie header was set but already removed when the CookieHandler method was called.
    The trouble is, that our applet can operate multiple independent sessions (with different session-ids), so a global CookieHandler is not an option. The only reason why I previously had to implement my own CookieHandler implementation in 1.5 was in order to remove unwanted Cookies which were otherwise inherited from the browser session by the CookieHandler�s applet default implementation.
    I also entered a bug report (on Wednesday already)...
    regards,
    Gunnar

Maybe you are looking for

  • ICal doesn't show all text for the activity

    When I updated to iCal version 8.0 i noticed that when I am in week-view, iCal doesn't show all the text for an activity, although there is plenty of room. For example I have a lecture from 9 am - 4 pm and in the activity I put down all the things I

  • New user creation for accessing BPM work list

    Hi, I have installed AIA in my system and by default it allows me to login to the BPM worklist using AIAIntegrationAdmin user. All the error notifications are also sent to this user. If I want to send error notifications to other users and provide th

  • Jsp session variable in javascript

    hi, i want use a jsp session variable inside a javascript code, for this i am using the following function, function checkList() <% String ecode1=(String)session.getAttribute("e_numb"); %> var code=<%=ecode1%> alert (code) this is showing an error ca

  • Messages.properties file not supporting vietnamese and chinese

    Hi, I need to support multiple languages in my application. When i am creating the corresponding messages_vi , messages_zh properties files, Jpf is not picking up the corresponding property file as the property file is not supporting the vietnamese a

  • Can't login to iCloud! Really need help!

    Hi, i have been trying to find a solution so i can login into icloud on mac preferences but can't, i get this error message; "You can't sign in at this time. Try signing in again later." I can login to the app store and on my iPhone and iPad. Any hel