How to display a combobox(dropdown menu) in a jsp page?

Hi friends,
I need to create a jsp page which contains three text fields and a single dropdown menu,,, . and my functionality is while loading the page itself that dropdown menu gets the data from database and holds in it..... i mean the data in theat combo box must gets from Database and based on the particular selection the remaing fields has to be filled ...... so plz helpme to solv this and any help is appriciated....
regards
priya......

Hi,
Google should definitely help you with this. I am sure that there may be people here who will guide you through each step in this forum. But, you learn only when you do things yourself. Please take some time to go through the links in google. You will definitely find all the things required to solve your problem.
1) JDBC examples to populate your dropdown.
2) DHTML+Javascript to handle selection/display of fields.
You can come here for help only after you have tried to some extent and not able to proceed with something. Trust me, you should be able to do it yourself.
Karthik.

Similar Messages

  • How to display contents from a database to a jsp page

    hi im using hibernate , i want to display the conetents from a databse to jsp page which is having a form
    i want to get the data on the form fields after changing the values i want to write it back to the database
    im using struts and hibernate
    im struck with this plz help me

    j2ee_struts_hibernate wrote:
    hi im using hibernate , You probably shouldn't be using Hibernate.
    i want to display the conetents from a databse to jsp page which is having a form "contents", "database"
    i want to get the data on the form fields after changing the values i want to write it back to the databaseWhat don't you understand? (Sounds like you don't understand anything.)
    im using struts and hibernate How well do you know Struts? Hibernate? JSP? Java?
    im struck with this plz help meAsk a specific question and we'll see what we can do.
    Write a JSP with the form in it; submit to Struts; Struts interacts with the database. That's the flow.
    %

  • How to display a message box in a UIX JSP page?

    I've a UIX JSP Application with BC4J developed with JDeveloper RC.
    The problem is that when the user mistakes in the insertion/updating, I'd like to help him displaying a message box or a modal dialog window.
    In particular, I've the following code:
    <%@ page errorPage="errorpage.jsp" contentType="text/html;charset=WINDOWS-1252"%>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui/bc4j" prefix="bc4juix" %>
    <%@ page import="oracle.jbo.JboException" %>
    <%@ page import="CdssPackage.*" %>
    <%-- Define Application Module and DataSource--%>
    <%-- Define Application Module and DataSource--%>
    <jbo:ApplicationModule configname="CdssPackage.CdssPackageModule.CdssPackageModuleLocal" id="app1" username="scott" password="tiger" releasemode="Stateful" />
    <%
    //Check the mandatory fields are not null
    if ((cod_comm.compareTo("")==0) || (nome_ruolo.compareTo("")==0)){
    throw new JboException(Errors.ERR_REQUIRED_FIELD);
    //Now, the errorpage.jsp is displayed, while I'd like to display a message box or a modal dialog window
    %>
    How can I do it?
    Thanks in advance.

    Michele-
    You can use javascript to send a message window in the http protocol.
    Hope this helps,
    Lynn
    Java Tools Team

  • How to display a fixed number of rows in a page when using CL_GUI_ALV_GRID

    Hy experts
    How to display a fixed number of rows in a page when using CL_GUI_ALV_GRID?? lets say 500 ?? because my display table it may contain in some cases 10.000 and evidently I can t see all of them..
    I have a button in my toolbar witch triggers this event
    (display 500 records ) but I don t have the logic to do this only with methods of CL_GUI_ALV_GRID.
    can you tell me a standard method of CL_GUI_ALV_GRID witch can help me do this?? any hint will be good..
    Till now I was used to add a column to my structure witch represents a flag that is a number corresponding to every 500 records (a batch containing 500 records )
    first       500 - flag -> 1
    second  500 - flag -> 2
    etc..but I m convinced that exists a way of doing this more easy..without damaging my structure..
    thanx in advance..don t be shy..reply if you have any hints..

    Hi,
    if method SET_FILTER_CRITERIA doesn´t help, I think that you must work with 2 internal tables, a counter and a loop for filtering the records to be displayed:
    case counter.
      when 1.
         loop at int_table1 from 1 to 500.      "<-- your table with all records
           move int_table1 to int_table2
        endloop.
      when 2.
         loop at int_table1 from 501 to 1000.     
           move int_table1 to int_table2
        endloop.
    etc, etc.
    Call grid-->SET_TABLE_FOR_FIRST_DISPLAY
       exporting
         IT_OUTTAB = int_table2                "<-- instead of your currently table int_table1

  • How to display link content on the the same sharepoint page on click event

    "How to display link content on the the same sharepoint page on click event"
    Detail:
    we are using a document library where all html files are stored/uploaded.  we would like to display/open the html file on the same sharepoint page where all the files are listed.
    Thanks.

    Use jQuery and set the target to self to the anchor tag
    Regards,
    Sairam Avacorp Technologies

  • How do you make a Spry menu view on all pages but only have to change it one place?

    How do you make a Spry menu view on all pages but only have to change it one place? Someone told me maybe I could create a Library item. Any help will be appreciated.

    If your pages all have the same basic design, using a DW Template would be a way to do it...
    http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7abea.h tml

  • How can i hand the RowSet to the next jsp page

    In a jsp page, I get a RowSet as the following:
    <input type="hidden" name="result" value="<%=ds.getRowSet()%>">
    I want to handle with this RowSet in the next jsp page, so
    I do in the next jsp page as the following:
    <% RowSet rowset = (RowSet)request.getAttribute("result"); %>
    But I was told null error. How can i hand the RowSet to the next jsp page.Help. Thanks a lot!

    Hello Charles,
    I did the registration in the same way as in the JDeveloper 3.2.3 (see follows)
    // make sure the application is registered
    oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "ReefBC_BCPackage_BCPackageModule");
    The argument ReefBC_BCPackage_BCPackageModule is a property file (ReefBC_BCPackage_BCPackageModule.properties). After some tries, I can still use it in JDeveloper 9i R2. The reason to keep it is that there would be a lot of migration work of javabean calling if I change it to <job:DataWebBean..>. But I am wondering, do I initialize two application modules when I use registerApplicationFromPropertyFile() and <jbo:ApplicationModule..> in the same page.
    The problem in doStartTag() is found after I post "http://forums.oracle.com/forums/thread.jsp?forum=83&thread=155210&tstart=75&trange=15", by tracing into the <jbo:ApplicationModule..> after calling the OrdHttpUploadFormData. HtmlServices.getRequestParameters sends back an exception, that breaks the running of the program. It was temperorily solved by extending the ApplicationModuleTag. If <jbo:..> could use the application module initialized by registerApplicationFromPropertyFile(), I guess it may be a better workaround.
    Long postings are being truncated to ~1 kB at this time.

  • How do i disable spotlight dropdown menu in Safari?

    I want to have a clean browser and type in a new url without a long list of irrelevant suggestions being displayed. How do I do that?

    I clicked the wrong button. I tried that and nothing changes.  I still get a dropdown menu of many suggestions. I unchecked everything. I still get the menu of selections and guesses. frustrating.  I can use firefox "cleanly" but since I upgraded to yosemite, my presentations now look more and more unprofessional.

  • Does anyone know how to enable/disable a dropdown menu in Forms at runtime?

    Is there a way how to disable/enable dropdown menu for menus that have multiple sub levels in Oracle Forms? I am trying to use the set_menu_item_property function but this takes 'menu.item' format for the first argument. I am trying to enable/disable a menu item in the form of 'menu.item.subitem' and was not able to do it using this function. If anyone knows a different function or method, please reply. I have shown an example below.
    Setup -> Software -> Front Page
    From the above example, I can enable/disable Software using set_menu_item_property function. But, how do I enable/disable the Front Page menu in Oracle forms at runtime?
    Thanks
    Edited by: user480347 on Aug 24, 2010 3:37 PM

    Yes you are on the right track. You need to pass then complete menu name to set_menu_item_property
    Immediate_parent menu.item_name e.g
    For example you have menu like this
    Id like
    A1    A10 > A1010
    Home > Input > Form 1
    A1    A10 > A1020
    Home > Input > Form 2 To disable Form 2 you must pass menu name as
    A10.A1020Hope it helps

  • How do I export a dropdown menu from fireworks

    I am trying to use fireworks to export a drop down menu and
    import it into another page I created in Dreamweaver. how do I do
    this?
    2. Is there a way to use my own customized graphic buttons
    for the dropdown menu in fireworks?
    3. How do I export a rollover in fireworks?

    michael_b_s wrote:
    > I am trying to use fireworks to export a drop down menu
    and import it into
    > another page I created in Dreamweaver. how do I do this?
    >
    > 2. Is there a way to use my own customized graphic
    buttons for the dropdown
    > menu in fireworks?
    Yes. Create the style you want to use and save it to the
    Styles panel.
    With the new style selected, open the Styles panel menu and
    choose
    Export styles. Export to the Fireworks Nav Menu folder. On my
    machine
    that's located at
    C:\Documents and Settings\Linda Rathgeber\Application
    Data\Macromedia\Fireworks 8\Nav Menu
    Once you have saved the new style there, it will appear in
    the Image >
    Styles selections for the pop-up menus.
    >
    > 3. How do I export a rollover in fireworks?
    From the Help files:
    Exporting a sliced document-
    By default, when you export a sliced Fireworks document, an
    HTML file
    and associated images are exported. The exported HTML file
    can be viewed
    in a web browser or imported into other applications for
    further editing.
    Before export, be sure you have the appropriate HTML style
    selected in
    the HTML Setup dialog box. For more information, see Setting
    HTML export
    options.
    Select File > Export.
    Navigate to the desired folder on your hard drive.
    Select HTML and Images from the Export pop-up menu.
    Type a filename in the File Name (Windows) or Save As
    (Macintosh) box.
    Select Export HTML File from the HTML pop-up menu.
    Select Export Slices from the Slices pop-up menu.
    (Optional) Select Put Images in Subfolder.
    Click Export.
    The files Fireworks exported appear on your hard disk. Images
    and an
    HTML file are generated in the location you specified in the
    Export
    dialog box.
    For more information about the options available in the
    Export dialog
    box when HTML and Images is selected as the file type, see
    Exporting
    Fireworks HTML.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/

  • Using fluid grid layout in Dreamweaver CC - how do I create a dropdown menu within my main navigation?

    I am new to using the responsive fluid grid layouts in Dreamweaver CC - and I am unable to find any information on creating a dropdown menu within my main navigation.
    Any ideas?

    You'll need to find a menu system that is responsive and mobile friendly for touch screen devices.
    If you have a budget to work with, Project Seven's Pop-Menu Magic3 is a commercial extension for DW that works great out of the box.
    http://projectseven.com/products/menusystems/pmm3/index.htm
    If you don't have a budget, you'll need to create a desktop menu and add a jQuery plugin for mobile devices.
    Basic CSS Drop Menu
    http://jsfiddle.net/mD4zW/28/
    jQuery MeanMenu for mobile/tablet devices
    MeanThemes | MeanMenu
    This is a working example inside a FluidGrid Layout (resize viewport)
    Alt-Web :: Fluid Grid Test
    Nancy O.

  • How to contorl ring's dropdown menu position?

    Hi All,
    I have ring controls on FP. The problem is, when the ring text string is long, the dropdown menu goes over the screen and shows up a few centimeters over to the left.
    Any way to control the dropdown menu position? It's just not in the right spot and looks wired.
    Thanks a lot for any help.
    Anne 

    Since the ring control on FP is just beside the monitor right border and its text string is longer than it's actual size, when I click on it, the dropdown menu shows up a few centimeters over to the left instead of going out of the screen.  I guess it's a build in feature, but looks bad.
    I am using classic ring contol, and labview 8.5.1.
    Here is the screencopy.  Thanks

  • How to display multiple records in smart forms in new page for each record

    Hi,
              How to display the data from a internal table in a smart form.
    I want each record to be displayed in seperate page.
    please tell me with example.
    thank u,
    Sarath

    Do this ,
       in the main window - open a loop on your internal table ,
    within the loop open the text and give the output fields,
    after this text  use the Command node and in this set the next page as page1,
    so when the loop gets executed its first record will be on the first page and the second record will be on the next page and so on ..
    Reward to usefull answers.

  • How to display all rows in the report in one page in Oracle APEX 3.2

    Friends -
    We are using Oracle Applications Express 3.2 on oracle database 10.2.0.5 on solaris environment.
    One of our report contains total no of rows 50000. when we ran report by default it is showing 15 and i can go search and change display no of rows to different numbers and click go.
    My question is it possible to display all 50000 rows during first time report launching without going to change rows. Is there any option that we can set how many number of rows that we can display during report design.
    Please advise
    VSH

    Hello VSH,
    >> My question is it possible to display all 50000 rows during first time report launching without going to change rows
    As vee pointed out it is possible, however the question you need to ask yourself is is it wise?
    Bear in mind that displaying 50,000 rows on a single HTML page means a lot of code that must be loaded by the client browser all at once. What it will do to your page loading time? Browser memory? Network bandwidth? Also, do you really believe that it is effective to let an end user look for a specific row among 50,000 rows?
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • How to display the data in XML files into JSP using Jdeveloper.

    Hi All,
    I have two XML files one XML file has the view names and the other has the table names of a particular views, how to display the data in JSP using JDeveloper where when i click a particular view the list of tables of that particular view from XML file two should be displayed in JSP Page.
    Are there any reference documents, regarding the above process please can anyone guide through how to do it.

    Let the servlet ask your business tier to provide the data, then stuff it into beans, and pack those into the Session instance. Then forward the request to the JSP, let the JSP get those beans and display them.

Maybe you are looking for

  • AJUDA URGENTE E IMEDIATAAA!

    Opa galera,preciso de ajuda urgente e imediata.Eu estou desenvolvendo um logo para o meu grupo de desenvolvedores(na verdade sou level designer 0.0 ) consegui fazer certa parte, mas estou travado em outra etapa.É o seguinte: No logo há listras(cerca

  • Error on BW reports link

    Currently we're experiencing an error on our BW reports link wherein our BW reports thru Internet Explorer can not be displayed. By clicking one of the reports the page can't be displayed. Currently what we are doing just to resolve the problem is to

  • TS3367 How do I change the phone number in the veification of FaceTime for iPhone 4s?

    How do I change the phone number in the veification of FaceTime for iPhone 4s?

  • Is iTunes card in the US and Philippines same?

    Is iTunes card in the US and Philippines same?

  • Can't Select in iTunes

    When I have my iPod Touch connected to my computer, I can't select or affect songs in any way when selecting them through the iPod part of the sidebar. I can select them in the Library, but when I click on the "Music" section of the iPod, it won't le