How to display data containing CDATA tags in JSP/HTML?

Hi,
I'm getting some data from a webservice and displaying it in JSP. But some data from the service (like description of an item) contains CDATA tags.
For ex: This is the data from the webservice.
<BenefitsIssues><![CDATA[This strategy buys after a very rapid or extreme sell off with the hope that the gap will eventually be filled. <br>Typically, traders following these types of strategies expect some very large losses as downtrends continue.<br>Traders should take only very small positions when trading this strategy and never dedicate more than a small amount of risk capital in aggregate to this strategy.]]></BenefitsIssues>
where <BenefitsIssues> is the XML tag. My code displays everything within this tag in JSP.
Code is JSP looks like this.
<tr><td><%=strategyDescriptor.getBenefitsIssues()%></td></tr>
Eventually the HTML output of this JSP looks like..
<tr><td>![CDATA[This strategy buys after a very rapid or extreme sell off with the hope that the gap will eventually be filled. <br>Typically, traders following these types of strategies expect some very large losses as downtrends continue.<br>Traders should take only very small positions when trading this strategy and never dedicate more than a small amount of risk capital in aggregate to this strategy.]]</td></tr>
Problem is that the page fails to display the first line, "This strategy buys after a very rapid...." and starts displaying only from "Typically, traders following these....", i.e after the occurrence of first <br> tag. Page also displays "]]" at the end.
How I can get rid of this problem? One way is to remove "![CDATA[" and "]]" from the data received from webservice. I would like to know if any other better solutions is there. Is there any predefined function to remove "![CDATA[" ?
Thanks in advance for the help.
-Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

write tha bean class with the return type like. vector,arraylist .
add the result set values to vector.
for example
Vector s = new Vector();
while(rs.next)
s.add(rs.getString());
at last return that s.
return s;
// IN Jsp page;
<ur dropdown come here>
<%
Vector Test = new Vector();
Test = call function contains databasevalues();
for(int i=0;i<Test.size();i++)
%>
<option><%=Test.get(i)%></option>
<%}%>
%>
Message was edited by:
kamal_shan

Similar Messages

  • How to display data from a recordset based on data from another recordset

    How to display data from a recordset based on data from
    another recordset.
    What I would like to do is as follows:
    I have a fantasy hockey league website. For each team I have
    a team page (clubhouse) which is generated using PHP/MySQL. The one
    area I would like to clean up is the displaying of the divisional
    standings on the right side. As of right now, I use a URL variable
    (division = id2) to grab the needed data, which works ok. What I
    want to do is clean up the url abit.
    So far the url is
    clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end all
    I want is clubhouse.php?team=Wings.
    I have a separate table, that has the teams entire
    information (full team name, short team, abbreviation, conference,
    division, etc. so I was thinking if I could somehow do this:
    Recordset Team Info is filtered using URL variable team
    (short team). Based on what team equals, it would then insert this
    variable into the Divisional Standings recordset.
    So example: If I type in clubhouse.php?team=Wings, the Team
    Info recordset would bring up the Pacific division. Then 'Pacific'
    would be inserted into the Divisional Standings recordset to
    display the Pacific Division Standings.
    Basically I want this
    SELECT *
    FROM standings
    WHERE division = <teaminfo.division>
    ORDER BY pts DESC
    Could someone help me, thank you.

    Assuming two tables- teamtable and standings:
    teamtable - which has entire info about the team and has a
    field called
    "div" which has the division name say "pacific" and you want
    to use this
    name to get corresponding details from the other table.
    standings - which has a field called "division" which you
    want to use to
    give the standings
    SELECT * FROM standings AS st, teamtable AS t
    WHERE st.division = t.div
    ORDER BY pts DESC
    Instead of * you could be specific on what fields you want to
    select ..
    something like
    SELECT st.id AS id, st.position AS position, st.teamname AS
    team
    You cannot lose until you give up !!!
    "Leburn98" <[email protected]> wrote in
    message
    news:[email protected]...
    > How to display data from a recordset based on data from
    another recordset.
    >
    > What I would like to do is as follows:
    >
    > I have a fantasy hockey league website. For each team I
    have a team page
    > (clubhouse) which is generated using PHP/MySQL. The one
    area I would like
    > to
    > clean up is the displaying of the divisional standings
    on the right side.
    > As of
    > right now, I use a URL variable (division = id2) to grab
    the needed data,
    > which
    > works ok. What I want to do is clean up the url abit.
    >
    > So far the url is
    clubhouse.php?team=Wings&id=DET&id2=Pacific, in the end
    > all
    > I want is clubhouse.php?team=Wings.
    >
    > I have a separate table, that has the teams entire
    information (full team
    > name, short team, abbreviation, conference, division,
    etc. so I was
    > thinking if
    > I could somehow do this:
    >
    > Recordset Team Info is filtered using URL variable team
    (short team).
    > Based on
    > what team equals, it would then insert this variable
    into the Divisional
    > Standings recordset.
    >
    > So example: If I type in clubhouse.php?team=Wings, the
    Team Info recordset
    > would bring up the Pacific division. Then 'Pacific'
    would be inserted into
    > the
    > Divisional Standings recordset to display the Pacific
    Division Standings.
    >
    > Basically I want this
    >
    > SELECT *
    > FROM standings
    > WHERE division = <teaminfo.division>
    > ORDER BY pts DESC
    >
    > Could someone help me, thank you.
    >

  • How to display data in table

    Hi all,
    can any one tell me how to display data in a table when user click on a button. i have created a node with a set of fields from different tables now how to write the logic to display data in that table.
    Thanks & Regards,
    Naveen

    DATA lo_nd_professionaltable TYPE REF TO if_wd_context_node.
      DATA lo_el_professionaltable TYPE REF TO if_wd_context_element.
      DATA ls_professionaltable TYPE wd_this->ElementS_professionaltable. "internaltable
    TYPES: BEGIN OF TY_PFTAB,
           RATEGROUP TYPE /BIC/OIWRATEGRP,
           LEVEL TYPE /BIC/OIWPCSLEVEL,
           FROMDATE TYPE /BI0/OIDATEFROM,
           FROMTO TYPE /BI0/OIDATETO,
           STANDARD TYPE /BIC/OIWSTRATE,
           OVERHEAD1 TYPE /BIC/OIWOHRTE1,
           OVERHEAD2 TYPE /BIC/OIWOHRTE2,
           OVERHEAD3 TYPE /BIC/OIWOHRTE3,
           EXCEPTIONFLAG TYPE /BIC/OIMSECFILER,
           END OF TY_PFTAB.
    DATA : IT_PFTABLE TYPE STANDARD TABLE OF TY_PFTAB,
           WA_PFTAB TYPE TY_PFTAB.
    SELECT /BIC/WRATEGRP /BIC/WPCSLEVEL DATEFROM DATETO /BIC/WSTRATE /BIC/WOHRTE1 /BIC/WOHRTE2 /BIC/WOHRTE3
    FROM /BIC/AGLDCPRTS00 INTO TABLE IT_PFTABLE.
    *TYPES : BEGIN OF TY_EXCEPTION,
           EXCEPTIONFLAG TYPE /BIC/OIMSECFILER,
           END OF TY_EXCEPTION.
    *DATA : IT_EXTABLE TYPE STANDARD TABLE OF TY_EXCEPTION,
          WA_EXTABLE TYPE IT_EXTABLE.
    *SELECT /BIC/MSECFILER FROM /BIC/AGLDCLMLT00 INTO TABLE IT_EXTABLE.
    navigate from <CONTEXT> to <PROFESSIONALTABLE> via lead selection
      lo_nd_professionaltable = wd_context->get_child_node( name = wd_this->wdctx_professionaltable ).
    get element via lead selection
      lo_el_professionaltable = lo_nd_professionaltable->get_element( ).
    @TODO handle not set lead selection
    IF lo_el_professionaltable IS INITIAL.
    ENDIF.
    get all declared attributes
    lo_el_professionaltable->get_static_attributes(
       IMPORTING
         static_attributes = ls_professionaltable ).
    lo_nd_professionaltable->bind_table( new_items = IT_PFTABLE set_initial_elements = abap_false ).

  • How to display data elements in the tempalte header

    Hello friends
    i've this date_from and date_to parameters which are date parameters that user enters..
    based on these date parameters I want to display them in the header as
    day of date_from(for example if the date_from is 13-nov-2010.then I should display 13)and for date_to it should dispaly as 15 if for example the user enters
    16-nov-2010.(date-1's day)
    so it should break down to
    date_from-13-nov-2010, 13
    date_to- 16-nov-2010, 15
    I want these two values to be displayed in the header of the template how to do this
    pls help
    also let me know how to display data elements in the template header
    Edited by: erp on Dec 22, 2010 12:44 AM

    Hi Ananth..Thanks for ur timely reply
    Can I use it with <? substring(':date_from',1,2)?>
    where date_from is an input parameter which user enters at the run time of the report.
    I've to capture the date entered by the user and print it in the header..
    Pls reply

  • How to display Date Calendar in Oracle BI Answers Prompts (parameter)

    I'm still new to OBIEE.
    How to display Date Calendar in Oracle BI Answers Prompts (parameter)?
    Thanks.

    Hi,
    While creating Dash Board prompt choose the control to 'Calendar'.
    I think it is not possible to provide 'Calendar' control using Prompts tab while creating request.
    It is possible to write Java Script for a Column of data type 'char'. So, cast the date data type to char.
    Go to: Column Properties --> Data Format
    Choose override default data format to view the available options in the drop down list.
    I would be very happy if anybody acknowledge me that I am wrong.
    -Vency

  • How to display data depend upon ListBox value?

    Hi Experts and Particularly Hema,
    As I asked before how to display data in the ListBox, I got an very good response from you all(particularly Hema) .
    Now what my doubt is asked with sample scenario below:
    In Screen Painter -
    Two fields namely : One List Box and other is I/O used only for displaying purpose i.e., only for output, not for input purpose.
    List Box is filled by primary key field(C1) value from one table(T1) when the screen load.(i.e., such code is written in PBO).
    Now what I need is :
    If the user select any one value in the List Box then it automatically display the corresponding C2 value from T1 in the I/O field.
    I think you may all understand what I am trying to ask.Please let me know the solution.
    Thanks in advance,
    Regards,
    Raghu

    Simply attached a function code for the listbox... when the user changes the value, you will be able to pick this up in the PAI and loop back to the PBO and redisplay the corresponding output field.
    Jonathan

  • How to display date and time on jsf page

    Hi,
    how to display date and time on jsf page
    we are using 11.2.0.0 jdeveloper on windows.
    thanks
    Edited by: user12187801 on 26-Jul-2012 01:42

    Your question is certainly lacking some information.
    If you want a constantly updating date/time - then JavaScript is your best bet, and Google would find you examples like [url http://www.webestools.com/scripts_tutorials-code-source-7-display-date-and-time-in-javascript-real-time-clock-javascript-date-time.html]this
    If you meant something else, then it's back to you to explain.

  • How to import photos containing a tag from elements?

    how to import photos containing a tag from adobe elements 8?

    Tags are keywords.
    Other metadata:
    There is no way to share Faces from one system to another. Places will happen automatically if your photos have the gps co-ordinates in the Metadata. Events are populted depending on the choices you make in the iPhoto Preferences.
    Again, I'm not sure exactly what you're hoping for here, sorry.

  • How to display data with the same text and key in the drop down list?

    Hi All,
    Would like so to seek for you advice on the above mention topic. How to display the data with the same text and key using function module 'VRM_SET_VALUES'. From my testing by writing a program, this function module will only show the text and key if both have different data. Please find the coding as below. Is the normal behaviour of this function module? How to overcome this problem? Thanks in advance.
    REPORT ZTESTING.
    TYPE-POOLS: VRM.
    DATA: NAME  TYPE VRM_ID,
          LIST  TYPE VRM_VALUES,
          VALUE LIKE LINE OF LIST,
          c(20) type c.
    *      c = 'select any'.
    data:begin of itab occurs 0,
          kunnr like kna1-kunnr,
          name1 like kna1-name1,
         end of itab.
    data:begin of jtab occurs 0,
          kunnr like kna1-kunnr,
          land1 like kna1-land1,
         end of jtab.
    PARAMETERS: p_list(20) AS LISTBOX VISIBLE LENGTH 20
                              default 'SELECT'.
    AT SELECTION-SCREEN OUTPUT.
    NAME = 'p_list'.
    VALUE-KEY = 'Name'.     "---> Data for key is the same with text
    VALUE-TEXT = 'Name'.    "--> Data for text is the same with key
    APPEND VALUE TO LIST.
    VALUE-KEY = '2'.
    VALUE-TEXT = 'Country'.
    APPEND VALUE TO LIST.
    CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
    start-of-selection.
    select kunnr name1 up to 20 rows from kna1 into table itab.
    select kunnr land1 up to 20 rows from kna1 into table jtab.
    case p_list.
    when '1'.
    loop at itab.
    write:/ itab-kunnr,itab-name1.
    endloop.
    when '2'.
    loop at jtab.
    write:/ jtab-kunnr,jtab-land1.
    endloop.
    endcase.
    <Added code tags>
    Moderator Message: Please use the "code" tags to format your code snippet.
    Edited by: Suhas Saha on Nov 17, 2011 11:19 AM

    shawnTan wrote:
    Hi All,
    >
    > Would like so to seek for you advice on the above mention topic. How to display the data with the same text and key using function module 'VRM_SET_VALUES'. From my testing by writing a program, this function module will only show the text and key if both have different data. Please find the coding as below. Is the normal behaviour of this function module? How to overcome this problem? Thanks in advance.
    >
    >
    REPORT ZTESTING.
    >
    > TYPE-POOLS: VRM.
    >
    > DATA: NAME  TYPE VRM_ID,
    >       LIST  TYPE VRM_VALUES,
    >       VALUE LIKE LINE OF LIST,
    >       c(20) type c.
    >
    > *      c = 'select any'.
    >
    > data:begin of itab occurs 0,
    >       kunnr like kna1-kunnr,
    >       name1 like kna1-name1,
    >      end of itab.
    >
    > data:begin of jtab occurs 0,
    >       kunnr like kna1-kunnr,
    >       land1 like kna1-land1,
    >      end of jtab.
    >
    > PARAMETERS: p_list(20) AS LISTBOX VISIBLE LENGTH 20
    >                           default 'SELECT'.
    >
    > AT SELECTION-SCREEN OUTPUT.
    >
    > NAME = 'p_list'.
    >
    > VALUE-KEY = 'Name'.     "---> Data for key is the same with text
    > VALUE-TEXT = 'Name'.    "--> Data for text is the same with key
    > APPEND VALUE TO LIST.
    >
    > VALUE-KEY = '2'.
    > VALUE-TEXT = 'Country'.
    > APPEND VALUE TO LIST.
    >
    > CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = NAME VALUES = LIST.
    >
    > start-of-selection.
    > select kunnr name1 up to 20 rows from kna1 into table itab.
    > select kunnr land1 up to 20 rows from kna1 into table jtab.
    >
    > case p_list.
    > when '1'.
    > loop at itab.
    > write:/ itab-kunnr,itab-name1.
    > endloop.
    >
    > when '2'.
    > loop at jtab.
    > write:/ jtab-kunnr,jtab-land1.
    > endloop.
    > endcase.
    >
    > <Added code tags>
    >
    > Moderator Message: Please use the "code" tags to format your code snippet.
    >
    > Edited by: Suhas Saha on Nov 17, 2011 11:19 AM
    This surely seems to be a bug to me(if not by design),  did you check for any SAP notes? Perhaps a front end trace can help(Note 407743) !
    -Rajesh.

  • Hi, I want to display a Linechart  from Excel file(i.e CSV data),I read the csv data using FileReference ,But how to display data in linechart?

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"   >
    <mx:Script>
          <![CDATA[
                import mx.controls.*;
                import mx.collections.*;
                import flash.events.*;
                import mx.collections.ArrayCollection
                [Bindable]
                private var records:Array=new Array();
                [Bindable]
                private var datarecords:ArrayCollection=new ArrayCollection();
                private var xmldata:String="<?xml version=\"1.0\"?>\r\n<dataset>\r\n";
                private var fileref:FileReference=new FileReference();;
                private function readExcel():void
                      var request:URLRequest=new URLRequest();
                      request.url="data/chart.csv";
                      var loader:URLLoader=new URLLoader();
                      loader.dataFormat=URLLoaderDataFormat.TEXT;
                      loader.addEventListener(Event.COMPLETE,eventComplete);
                      loader.addEventListener(IOErrorEvent.IO_ERROR,onIOError);
                      loader.load(request);
                private function eventComplete(event:Event):void
                      var loader:URLLoader=URLLoader(event.target);
                      var record:Array=new Array();
                      var fields:Array=new Array();
                      var obj:Object;
                      var str:String=new String();
                      loader.dataFormat=URLLoaderDataFormat.TEXT;
                      var result:String=new String(loader.data);
                      record=result.split("\r\n");
                      for(var i:int=1;i<record.length;i++)
                            obj=new Object();
                            fields=record[i].split(",");
                            /* obj.col1="Timestamp: "+fields[0];
                            obj.col2="EndDevice-PaLnaMode: "+fields[1];
                            obj.col3="Wap-PaLnaMode: "+fields[2];
                            obj.col4="DownstreamLqi: "+fields[3];
                            obj.col5="UpstreamLqi: "+fields[4]; */
                            obj.col1="<Timestamp>"+fields[0]+"</Timestamp>";
                            xmldata+=obj.col1+"\r\n";
                            obj.col2="<EndDevice-PaLnaMode>"+fields[1]+"</EndDevice-PaLnaMode>";
                            xmldata+=obj.col2+"\r\n";;
                            obj.col3="<Wap-PaLnaMode>"+fields[2]+"</Wap-PaLnaMode>";
                            xmldata+=obj.col3+"\r\n";
                            obj.col4="<DownstreamLqi>"+fields[3]+"</DownstreamLqi>";
                            xmldata+=obj.col4+"\r\n";;
                            obj.col5="<UpstreamLqi>"+fields[4]+"</UpstreamLqi>";
                            records.push(obj);
                            datarecords.addItem(obj);
                      xmldata+="</dataset>";
                      datagrid.dataProvider=records;
                      linechart1.dataProvider=records;
                      private  function onIOError(event:Event):void
                            Alert.show("I/O error"+event.type);
                      private function saveXML():void
                            fileref.save(xmldata,"xmldata.xml");
                      //fileref.save(xmldata,"NewFileName.txt");
                      private function dispData():void
                            fileContents_txt.text=xmldata;
          ]]>
    </mx:Script>     
          <mx:DataGrid id="datagrid" x="19" y="76" width="528" height="242">
                <mx:columns>
                      <mx:DataGridColumn headerText="Timestamp" dataField="col1"/>
                      <mx:DataGridColumn headerText="DevicePaLnaMode" dataField="col2"/>
                      <mx:DataGridColumn headerText="Wap-PaLnaMode" dataField="col3"/>
                      <mx:DataGridColumn headerText="DownstreamLqi" dataField="col4"/>
                      <mx:DataGridColumn headerText="UpstreamLqi" dataField="col5"/>
                </mx:columns>
          </mx:DataGrid>
          <mx:Button x="126" y="32" label="read" click="readExcel()"/>
          <mx:Button x="240" y="32" label="display data" click="dispData();"/>
          <mx:Text id="fileContents_txt" x="10" y="326"/>
          <!-- Define custom Strokes. -->
        <mx:Stroke id = "s1" color="blue" weight="2"/>
          <mx:LineChart  id="linechart1"   height="286" width="385"
                paddingLeft="5" paddingRight="5"
                showDataTips="true" dataProvider="{datarecords}" x="566" y="32">
              <mx:horizontalAxis>
                    <mx:CategoryAxis categoryField="Timestamp"/>
                </mx:horizontalAxis>
                <mx:series>
                    <mx:LineSeries yField="Timestamp"  xField="UpstreamLqi"  interpolateValues="true" form="curve" displayName="Timestamp" lineStroke="{s1}"/>
                </mx:series>
          </mx:LineChart>
          <mx:Button x="406" y="32" label="SaveXML" click="saveXML()"/>
    </mx:Application>

    Um, wrong forum.
    I think you want to ask this question in the Flex forum.

  • How to display data in table with dynamic rows, section wise in a page.

    Hello all,
    I work on report creation in BI Publisher where I need to display data from xml in a table in pdf format.The output page is divided into two vertical sections , containing tables, with exactly same columns on left and right sections. The number of rows in table depends on the output of the fetching query. The page is to be populated in such a way that, at first, the left table is populated, then the next rows fill up the table on the right section of the page, if more rows are left, they fill up the tables on next page[first the left table, and then the right one, in a similar fashion as in page 1]
    On a bird's eye view, the data needs to be simply mapped to a table, with dynamic number of rows, and so can span number of pages depending on size of data. On a implementation level, I am stuck in getting the left section of the page populated first, then the right section[in place of the right page], and then the next page.
    Please guide me if someone has any idea in getting this achieved.
    Thanks in advance.

    Thanks for the response...
    I am able to get the desired functionality. I just need the tables to be inside a bigger table, that also has a dividing line between the two columns. This is was is intended in the req. provided to me. The column formatting option provides me a line ,but that is not further modifiable .Please help me in getting a perpendicular line between the two columns, which I need to be of a specified width and color.

  • How to display data in Table control?

    Hi Experts,
    Can anyone please explain me how to display the data from two different tables(those two table is related with 1 field) into a single table control?
    For Example: T1 has fields (F1,F2) and
                         T2 has fields (F3,F4) --> here F3 is foreign key for F1
    I need to display the data F1,F2,F3,F4 into the table control.
    Can anyone explain me?
    Thanks in Advance,
    Regards,
    Raghu

    Hi,
    If F3 is foreign key for F1, then both fields will have same values.  Then why do you need to display both F1 and F3?  Either one of them is enough.  Try the following code.
    types: begin of t_table,
                 F1 type T1-F1,
                 F2 type T1-F2,
                 F4 type T2-F4,
              end of t_table.
    data: i_table type standard table of t_table with header line.
    select F1 F2 F4 into table i_table from T1 inner join T2 on T1F1 = T2F3.
    You should create three columns in the table control with names i_table-F1, i_table-F2, i_table-F3.
    After populating the internal table, refresh the control with the following statement.
    REFRESH CONTROL <NAME> FROM SCREEN <SCREEN_NO>.
    All the above statements should be in your PBO Module.
    Regards,
    Hema
    Message was edited by:
    Sorry, Declarations can be in the common include.  Select statement and refresh statement should be in PBO.
            Hema Nagarajan

  • How to display data on PublishingWebControls RichHtmlField ?

    Hello,
    I have placed sharepoint control as below on application page :
    <PublishingWebControls:RichHtmlField FieldName="MultilineRichText" id="multilinetext" runat="server"/>
    I have fetched sharepoint list data pro grammatically, however I do not know how can I display it on publishing web control !!
    Would you please let me know the syntax for the same ?
    Thanks and Regards,
    Dipti Chhatrapati

    Hi Subhash, Thank you for your time and look at this thread !
    I have treid to add the propeties you mentioned but it has thrown below error message:
    Type 'Microsoft.SharePoint.Publishing.WebControls.RichHtmlField' does not have a public property named RichText
    Type 'Microsoft.SharePoint.Publishing.WebControls.RichHtmlField' does not have a public property named RichTextMode
    Also, programmatically I need to display data from below item to above publishing control :
     SPListItem itemAnnouncement = list.GetItemById(listItemId);
    Kindly let me know the rest of the syntax to display data and solution to resolve above error.
    Thanks and Regards,
    Dipti Chhatrapati

  • How to display data in canvas which is fetched from servlet to midlet.

    I am able to display data from database using servlet.
    I am using MySQL as database.
    But i want to display it more nicely using canvas. Right now i just print all the data's , it doent look professional.
    I want to know how to show those data's nicely. How to use canvas? where i can use canvas? Is there any other way to display data/records so that it looks more professional.
    Need help as soon as possible.
    Thanks in advance.

    hey listen i created midlet and servlet. I can see the record which is on my database but as i have just printed using servlet on the mobile screen. Now i want to display those records nore nicely that is . say for example
    i am showing personal profile of a user.
    I am just displaying like ---"Name:" Abc,
    Age: 27 etc
    now i wnat to bold "Name" , "Age" stuff like that.
    I want to use color etc but i dont know how to do that. How can i my records look good?
    I have stored all the record in resultset and have passed it to midlet not i want display it more nicely. How to do that?

  • How to display dates on which the field of an infotype is changed

    there are two fields   in an infotype and both the fields are changed on different dates then how to display those dates on which the two fields are changed

    Hi ankit,
    If you want the change log for one infotype with one two fields, then write one custom program with following logic. If you want the log for multiple infotypes for multiple fileds then you have to use that program 'RPUAUD00'. Read the documentation of the program to check how to use it.
    select * from pa0000 into table it_pa0000
                                   where pernr = v_pernr.
    sort it_pa0000 by begda descending.
    loop at it_pa0000 into wa_pa0000.
    write your own logic to compare the previous record PERSG with current record PERSG.
    if this doesnt match then get the Changed DATE from AEDTM field.
    wa_pa0000-AEDTM = changed date.
    Else.
    continue with loop.
    exit.
    endloop.
    regards,
    Shrinivas

Maybe you are looking for

  • User exit for f-42

    Dear Experts,                       I have a one business requirement. During the transfer posting i.e. f-42 in vendor invoice, client want an billing document number with refrence to  accounting document number. So i want to add field in vendor invo

  • Need clarification on using *COMMIT

    Hi, I have the following code, which works perfectly fine on its on. *XDIM_MEMBERSET CATEGORY=ACTUAL *WHEN A_ACCOUNT    *IS SALARY             *REC(FACTOR=1,CATEGORY="BUDGET") *ENDWHEN It'll overwrite the value in BUDGET.SALARY with the modifed ACTUA

  • How has access.log file configured in WebLogic server 10.0?

    1.) I am using BEA Weblogic 10.0 and my access.log is not getting updated. 2.) I also need any information as to how this Webblogic server forms chunks (ex....access00011.log,access00012.log) because i have a software called AWStats which merges all

  • Can you share an album without transferring the photos?

    I have two Macs with ALMOST identical iPhoto Libraries. If I create an album on the iMac, is there any way to transfer the album attributes to the MacBook (which already has the photos, just not in an album)? When I tried it through sharing, I clicke

  • How to hide Stored Procedure Source?

    Hi: i want to hide my stored procedure source code to prevent it to be viewed even DBA. How could i do it? Thanks! null