How to set the link to the result which are executed my query from database

Hi,
i have successfully displayed the results which are available in the database by jdbc, query.
Then, How to give the link like href to each & every result...
note: The number of records may be change. depending upon the records availablity in the database. but every result have the link.
Thanks in advance.
Regards
Kumar

hai kumar..
i post an example code ..
<%
ResultSet rs1=stmt.executeQuery("select fromu,subject,message,mdate,status,mesid from message where to='" + lname +"'" );
while(rs1.next())
     l=rs1.getLong(6);
     out.println("<tr align='center'> <td> <a href='deletemessage.jsp?mesid="+ l + "'>Delete </a></td><td>" + rs1.getString(1) +"</td><td> <a href='viewmessage.jsp?mesid="+ l +"'>"+ rs1.getString(2) +"</a></td><td>"+ rs1.getString(4) +"</td><td>"+ rs1.getString(5) +"</td></tr>");
%>

Similar Messages

  • How to set web job like a ssis which can take xmil file from azure storage to up date azure sql

    Hi,
    I have xml files under azure storage, i would like to set up web job which should be scheduled and
    load xml to update/insert/delete azure database.
    I have done SSIS locally and but cant use in azure.
    According to several advices and forum pages,I need to create azure web job.
    Please advice link or advice.
    Thanks.
    Superman

    Hi,
    To get started with Azure webjobs you could refer the following link:
    http://azure.microsoft.com/en-in/documentation/articles/websites-dotnet-webjobs-sdk-get-started/
    The article shows how to create a multi-tier ASP.NET MVC application that uses the WebJobs SDK to work with Azure blobs in an Azure Website.
    Meanwhile, we will research regarding your specific requirement and revert with our finds.
    Regards,
    Malar

  • How to I set an internal link in a PDF document using Preview?  After setting a link under the Tools/Annotations menu, the link doesn't work and no detailed instructions are provided.

    How to I set an internal link in a PDF document using Preview?  After setting a link under the Tools/Annotations menu, the link doesn't work and no detailed instructions are provided via the Help menu other than it showing the pull-down menu selection to make.

    No.  I am able to use the other features such as underlining, highlighting, adding rectangles and oval and save those changes.

  • Send portfolio how to customize adobe welcome screen for shared porfolio. (Opening the link forces the recipient to a downright ugly irrelevant and dead advertisement rather a related cover page)

    send portfolio- how to customize adobe welcome screen for shared porfolio ?(Opening the link forces the recipient to a downright ugly irrelevant and dead advertisement (appropriately titled "branding logo.png) rather a related cover page)

    Hi nedler1,
    Please try the following steps to display the cover sheet and replace it with custom one:
    How to change a portfolio’s initial view setting to show the cover sheet (and hide the contents):
    Open a PDF portfolio and run the following JS in the console:
    this.collection.initialView = 'Hidden';
    Save the portfolio, close and re-open.
    The cover sheet will now be displayed when opening the portfolio.
    Updating the cover sheet
    Also, most likely if you want the coversheet displayed when opening the portfolio, and do not want the default cover sheet:
    Here are the steps to replace the default cover sheet:
    Open the Portfolio.
    Perform a View > Portfolio > cover sheet to open the cover sheet.
    Open the Pages panel for the cover sheet.
    Right click on the cover sheet page in the pages panel, select “Replace Pages”.
    Replace the cover sheet page with the desired cover from a page in another pdf.
    Save the portfolio.
    Regards,
    Rave

  • How to set Password change in the WAD Browser

    Hello All
    Before dropping my question i will explain you what was the Real scenario, i am using WAD 3.50 Version and server is BW 3.0B.we are not using portal, and Enduser will view the reports in the browser through the WAD execute Http link.
    Question.
    whenever the enduser uses Http link of web template in the browser, he will connect through VPN and they can able view the reports. the question is *Some system Enduser won't have SAPGUI in their system so they wants to change the password because they won't know even if it is expire.
    Please Help me how to set Change Password in the browser for the WAD Application*.

    To do this you will have to use either make use of portal or BSP application or Dynpro..
    It is not possible for the user to change the password just from the web query

  • How can I open the links on the TreeItem treeItem1 = new TreeItem("Fish", "

    JDeveloper 11g, Windows 7(64 bit), ADF Faces
    package view.backing;
    import java.beans.IntrospectionException;
    import java.util.ArrayList;
    import java.util.List;
    import org.apache.myfaces.trinidad.model.ChildPropertyTreeModel;
    import org.apache.myfaces.trinidad.model.TreeModel;
    public class TreeModelAdapter {
    private Object _instance = null;
    private transient TreeModel _model = null;
    public TreeModelAdapter() {
    ArrayList<TreeItem> rootTreeItems = new ArrayList<TreeItem>();
    TreeItem treeItem1 = new TreeItem("Fish", "http://www.someurl1.com");
    TreeItem treeItem2 = new TreeItem("Dog", "http://www.someurl2.com");
    TreeItem treeItem3 = new TreeItem("Cat", "http://www.someurl3.com");
    TreeItem treeItem2_1 = new TreeItem("Blue Heeler", "http://www.someurl4.com");
    TreeItem treeItem2_1_1 = new TreeItem("Rover", "http://www.someurl5.com");
    TreeItem treeItem2_1_2 = new TreeItem("Ruffus", "http://www.someurl6.com");
    rootTreeItems.add(treeItem1);
    rootTreeItems.add(treeItem2);
    rootTreeItems.add(treeItem3);
    ArrayList<TreeItem> treeItem2Children = new ArrayList<TreeItem>();
    ArrayList<TreeItem> treeItem2_1Children = new ArrayList<TreeItem>();
    treeItem2Children.add(treeItem2_1);
    treeItem2.setChildren(treeItem2Children);
    treeItem2_1Children.add(treeItem2_1_1);
    treeItem2_1Children.add(treeItem2_1_2);
    treeItem2_1.setChildren(treeItem2_1Children);
    this.setListInstance(rootTreeItems);
    public TreeModel getModel() throws IntrospectionException {
    if (_model == null) {
    model = new ChildPropertyTreeModel(instance, "children");
    return _model;
    public void setListInstance(List instance) {
    _instance = instance;
    _model = null;
    How can I open the links on the TreeItem treeItem1 = new TreeItem("Fish", "http://www.someurl1.com"); on a new page?

    In your af:tree nodeStamp facet you have access to the node (TreeItem in your case). If your TreeItem has a getter method for the url (you did not provide the TreeItem code) you can put an af:goLink in the nodeStamp and set the destination attribute to #{node.url} and set the TargetFrame of the golink to '_blank':
    <af:tree ...>
      <f:facet name="nodeStamp">
        <af:goLink text="goLink 1" id="gl3" destination="#{node.url}" targetFrame="_blank"/>Timo

  • Hi All, I have question about the iMac operating system. I have the last updated. The problem when I manage the place of the folder windows they are all mixing up. I mean they not on the place where I left them. how to set they stay on the same place. Tks

    Hi All, I have question about the iMac operating system. I have the last updated. The problem when I manage the place of the folder windows they are all mixing up. I mean they not on the place where I left them. how to set they stay on the same place? I know there are different possibilities to set.
    I tried but it not helped for me. What I can do? How and where can set this they stay on their place?
    Thanks.
    laci

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    Regards
    TD 

  • How do i edit the links in the top nav bar on an enterprise wiki site?

    I would like to edit and change the links in the top nav bar on my enterprise wiki.
    Currently the links are "About this wiki" and "Recent" a drop down menu with links.
    I would like to change "About this wiki" to a "Home" page link and remove the "Recent" drop down menu and links. I also would like to be able to add more links to the to the top nav bar.
    I there anyway I can do this one an enterprise wiki site?
    Thanks
    James T.F

    Hi,
    According to your post, my understanding is that you wanted to edit the links in the top navigation bar on an enterprise wiki site.
    I try to reproduce the issue, however, my enterprise wiki site don’t have the drop down menu.
    How did you add the Recent link?
    How did you create the drop down menu?
    Did you use the seattle master page or olso master page?
    It will be better if you can descript more detail and provide some screenshots.
    You can use JavaScript to add and remove the items in the drop down menu.
    More information:
    Add items in Drop Down List or List Box using Javascript
    Asim Sajjad: DropDownList Add/Remove Item Using Javascript
    HTML DOM Select remove() Method
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to delete the links in the reading list

    How to delete the links in the reading list

    and if they don't delete, what's the next step?  I've stopped sync to iCloud for my iPad, but all of the articles say that they are "Waiting", and won't delete.

  • How to find out the link for the tables for sub contract PO

    Dear All,
    How to find out the link for the tables for sub contract PO, I am looking for the fields Material, Unit, Batch no., quantity.
    Please provide the solution for the Table related to ABAP.
    Thanks,
    V.V.

    Hi,
       Make use of the table EKKO, EKPO...
    For subcontract please select the option in EKPO-PSTYP.
    Regards
    GK.

  • How to change the link in the attachment of a notification

    Hi All,
    We have a requirement in the workflow. The notifications from workflow are sent as email with attachments in it to the performers which contains the login links to Instance. We have two Middle tiers in our architecture(Public and Private MTs). The requirement is to change the link in the notification attachments from private Middle Tier to Public MiddleTier.
    Please help on how to change.
    Thanks in advance
    Raghava.

    Hi Thomas,
    You can find the solution in thread below:
    http://scn.sap.com/thread/2076928
    Nghia

  • How to set white spaces between the fields in dataset??

    Hi all,
    I am writing a set on information to from infotypes to a text file. Its a fixed width file. How do set white spaces in the fields for dataset?
    Example:
    TYPES: begin of header,
                    filler(40)  type c,
                    id(3)        type c,
                    filler2(7) type  c,
                    delimiter  type  c,
                 end of header.
    DATA header type header.
    header-filler1 = ' '.
    header-id       = '100'.
    header-filler2 = ' '.
    header-delimiter = cl_abap_char_utilities=>newline.   ( do it to get a new line)
    my_table = header.
    append my_table.
    DATA: out_file(256) type C,
          codepage_ref type ref to CX_SY_CONVERSION_CODEPAGE,
          out_char type c,
          size type i,
          insert_string type string,
          insert_size type i.
      out_file = filename.
      open dataset out_file for output in text mode ENCODING NON-UNICODE.
      LOOP AT my_table.
        size = strlen( my_table ).
        insert_string = ''.
        DO size TIMES.
          offset = sy-index - 1.
          try.
              out_char = my_table+offset(1).
              IF out_char = SPACE.
                CONCATENATE insert_string '' INTO insert_string SEPARATED BY SPACE.
              ELSE.
                CONCATENATE insert_string out_char INTO insert_string.
                transfer insert_string to out_file NO END OF LINE .
                insert_string = ''.
              ENDIF.
            catch CX_SY_CONVERSION_CODEPAGE.
              insert_size = strlen( insert_string ) - 1.
              insert_string = insert_string(insert_size).
          endtry.
        ENDDO.
       transfer CL_ABAP_CHAR_UTILITIES=>NEWLINE TO out_file NO END OF LINE.
      ENDLOOP.
      close dataset out_file.
    How do I get to insert the space for filler1 and filler2?
    Edited by: Siong Chao on Oct 4, 2011 4:56 AM
    Edited by: Siong Chao on Oct 4, 2011 8:27 AM
    Edited by: Siong Chao on Oct 4, 2011 8:29 AM

    problem lies in the open dataset codes
    Used:
    open dataset out_file for output in text mode encoding non-unicode message msg.
    if sy-subrc= 0.
    loop at my_table.
    transfer my_table to out_file
    transfer cl_abap_char_utilities=>newline to out_file no end of line.
    endloop.

  • How to get the link of the WDA application dynamically

    Hi,
       I have created one web dynpro application. when it is saved the approver get a work item in his inbox.The work item should have the link to the web dynpro application.So that when the user clicks the link,He should able to view the web dynpro screen.
       My question is how to get the link of the web dynpro application dynamicaly . I want to know whether it is stored in any DB tables or is there any function modules to call the web dynpro application ?
    Regards,
    Charumathi.B

    Hi,
    use
    cl_wd_utilities=>construct_wd_url(
    EXPORTING  application_name = <name_of_your_application>
    IMPORTING  out_absolute_url = lv_url.
    Best Regards,
    Anika

  • With acrobat 7, how do I make links (within the pdf) open in a new window-tab?

    With acrobat 7, how do I make links (within the pdf) open in a new window-tab?

    No love? From anyone?

  • How to set a song in the playlist to be phone ringtone

    how to set my song in the playlist to be my ringtone

    you have to convert it to a ringtone first. searching google will give you many ways to do it. also, there are some ringtone apps with pros and cons to each one. you cannot just pick a song on your phone and make it a ringtone unfourtunately.

Maybe you are looking for