How to make a form to submit on the dropdown selection?

Hi
I have a form(jsp)that needs to call a servlet when a
value is selected in the dropdown list.
Does anyone have an idea on how that can be done?
Thank you!

Like this:
<form name="myform" action="http://myservleturl">
Select a person:
<select name="dropdown" onchange="javascript:myform.submit()">
<option>Dogbert
<option>Dilbert
<option>Wally
<option>Alice
</select>
</form>

Similar Messages

  • How to make a form for input in web interface builder

    Hi expert:
        How to make a form for input in web interface builder?I have already used it to do PS planning, but I don't know how to  draw lines and checkboxes . Thanks in advance.
    Allen

    WAD:
    Open the WAD and create a new template. On the left hand navigation you will have several Web Items available. Under 'Standard' you have 'Analysis' item. Pull that into your template to the right. Under the Properties tab you need to pick the query [form/layout] that you have built in Query Designer.
    You will also find other items such as Button group, Checkbox, drop down, list box etc available. Pick and drag into the template whatever it is you require. Lets say you want a button. Under the Properties tab select the 'Command' that you require. You could use standard commands that are available there. You could also define functions and commands that you require.
    Query Designer:
    Open the QD and drag the characteristics and key figures that you require into the rows and columns of the QD. You would need to specify restrictions under the Filter tab of the QD based on the granularity of data that you require. You would need to remember that the key figures need to be made Input Ready [do this by clicking on KF and on the planning tab select "change by user and planning functions"].
    This shouldgive you a start. After you've explored it yourself a bit we can discuss further and I can certainly provide you additional details/material on these areas.
    Srikant

  • How to make PDF forms work in DreamWeaver

    How to make PDF forms work in Dreamweaver

    Look at DW's starter pages called "liquid" (FILE | New > Blank Page > "2 column, liquid" etc., or Google "liquid layouts".

  • How to make session invalid when user refresh the page?

    How to make session invalid when user refresh the page?

    I have a <form> in a JSP file that has another JSP file as an action.
    I have main.jsp that has <form> with action.jsp file as an action.
    Now when I submit the <form>, request forwarded to action.jsp and it will take the action. But this file is taking so long, hence user refresh the page again and again, hence duplicate request processing is occuring.
    I want to prevent this.

  • HT4515 How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    Double tap the Home button, tap & hold the Safari icon until it starts to wiggle, tap the red minus sign to remove it from the Multi-Tasking bar. Tap the Home button when finished.

  • How to build a form that traps all the IP adresses of the systems connected

    HELLO EVERYBODY,
    This is Paritosh Sharma,Actually I wanna know How to build a form that traps all the IP adresses of the systems connected.It's really Urgent

    6i on the web or client server? Webutil is not certified against 6i so if it's web I'm not sure, but I think it's in D2KWUtil for client-server.

  • Firefox open images in a new tab upon clicking the link,how to make firefox to save images in the folder upon clicking the link

    firefox open images in a new tab upon clicking the link,how to make firefox to save images in the folder upon clicking the link.

    You can right-click the image and use "Save Image As" to save that image.

  • How to make a physical standby database in the read_only state in 11g?

    In 10g, we can make a physical standby database in the read_only state. But in 11g, no a read_only state for a physical standby database. How to make a physical standby database in the read_only state in 11g?

    Hi
    read-only mode (for 11g physical standby)
    A mode in which a database can be opened that allows queries, but disallows modifications.
    A physical standby database can be opened read-only so that queries may be performed. If a license for the Oracle Active Data Guard option has been purchased, a physical satndby database can be open while redo apply is active. This capability is known as Real-time Query.
    For more details have a look at:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/manage_ps.htm#SBYDB00706
    Hipe this Helps
    Regards

  • How to make a short clip out of the original one ?

    Some days ago, I asked a question on editing a clip in this forum. The responder asked me to provide a few seconds of the clip for his examination. But I got stuck. I didn't know how to make a clip of a few seconds out of the original clip and that it had the exact same format and properties as the original clip.
    Neither Premier nor After Effect have an ouput option such as "same as original source" .
    So, my question is how to make a short clip out of the original one with everything the same properties as the original one.
    Thanks in advance.

    May be I haven't made myself clear
    Sorry, but I think that I am still not following you.
    I want to export and render the short clip to a new file which I want to have everything the same as the original clip. Just like I cut off a few seconds off it and that few seconds becomes an independent file.
    OK, you have your original source file. It is complete and is also unaltered. If you want a "Copy" of it, just use Windows Explorer, or similar to make that Copy. If you want a separate file of your edited version of that source file (as it appears in the Timeline), use the WAB (Work Area Bar) to include just that edited instance of the source footage, and Export just the WAB. This will give you a separate file with the edits in it.
    I still feel that neither is what you want. If you can step me through, maybe with screen-caps, what you have and what you wish to end up with, I can see the operation more clearly.
    Good luck,
    Hunt

  • How to make Windows 7 Clean Installation with the Rapid Boot extreme feature on ThinkPad T420s

    How to make Windows 7 Clean Installation with the Rapid Boot extreme feature on ThinkPad T420s

    @Bennycui,
    Clean install here
    http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-77353
    Then install RapidBoot
    http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-77013
    //JameZ
    Check out the Community Knowledge Base for hints and tips.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    X240 | 8GB RAM | 512GB Samsung SSD

  • How to make plug ins show up in the filter menu, several Topaz plug ins are in the 13 plug in folder?

    How to make plug ins show up in the filter drop down menu, when several Topaz plug ins have been moved from Elements 11 to the plug in folder for Elements 13?

    Thank you for your advice. I followed your directions, but came up with the same results. However, I did discover that whenever I open up the iPhoto Library that is already existing on my MacBook a certain set of pictures shows up. But then when I open up the iPhoto Library from the Hard drive another set of pictures shows up. BUT not ALL of my pictures are showing up on the iPhoto Library from the hard drive. At least the last two years of pictures are not showing up?! Actually, it appears that all the pictures are there from when I started using iPhoto about 5 years ago up until around the time that I got my iMac desktop computer and started using that (2 years ago). I have noticed that more recent videos I have made are showing up in a folder on the hard drive, but will not appear when I open up iMovie?! Any ideas on how to access my pictures from the last 2 years off of the hard drive???

  • How to create a form that will allow the applicant to upload their photo

    I have Adobe Acrobat 9 Pro Extended and I know how to create forms that require text input.
    How to create a form that will allow the applicant to upload their photo? I alo wish to know how to upload a photograph so that I can test the form I created.
    Thank you
    Adrian Watts

    test@ORA10G> with x as (
      2    select '234-1111' as customer, to_date('2-Jan-2008','dd-Mon-yyyy') as call_date, 'Order product' as reason from dual union all
      3    select '234-1132', to_date('3-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
      4    select '231-1154', to_date('4-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
      5    select '234-1111', to_date('2-Nov-2007','dd-Mon-yyyy'), 'Order product' from dual union all
      6    select '234-1132', to_date('9-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
      7    select '231-1154', to_date('9-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
      8    select '234-1111', to_date('5-Dec-2007','dd-Mon-yyyy'), 'Order product' from dual union all
      9    select '234-1131', to_date('7-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    10    select '231-1154', to_date('1-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    11    select '234-1111', to_date('8-Jan-2008','dd-Mon-yyyy'), 'Order product' from dual union all
    12    select '234-1131', to_date('3-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    13    select '231-1154', to_date('4-Nov-2007','dd-Mon-yyyy'), 'Forward to Sales' from dual)
    14  --
    15  select customer,max(call_date), reason
    16  from x
    17  where reason = 'Request info'
    18  group by customer, reason;
    CUSTOMER MAX(CALL_ REASON
    231-1154 09-SEP-07 Request info
    234-1131 07-DEC-07 Request info
    234-1132 09-JAN-08 Request info
    test@ORA10G>
    test@ORA10G>pratz

  • How to make frieght charges fixed irrespective of the qty

    hello sap gurus
    how to make frieght charges fixed irrespective of the qty
    my client

    Hi Deepak,
    This is not possible in the standard.
    Condition types (with calculation type 'B' "Fixed amount", FRB1 for example) are always posted dependent on the quantity in SAP standard functionality.
    The calculation is made as follows:
    FRB1 (Fixed amount) = (Condition amount * GR Quantity) / PO Quantity
    The problem here is that it is unclear how the posting logic should work especially if you have partial goods receipts or return deliveries.
    For example, if you order 10 pieces with 10 GRs of 1 piece each:
    should the system now post this condition with the full amount with every GR?
    Should it post it only with the first GR?
    And how should it be when you create a document to cancel a GR?
    So the system always posts with regards to the quantity.
    Best regards,
    Esther.

  • How to make Portal Form Submit go back to portal page?

    I'm using a form inside a Dynamic Page portlet so that I can have portal page parameters feed into the form. This works just fine.
    However, when I submit a new record in my form, the page navigates to a page with just my Portal Form and not the Portal Page with the dynamic page that referenced the form. I need to make sure that when users click the insert/submit on my form that it goes back to the Portal Page that houses the Dynamic Page portlet.
    I have logged a TAR but Oracle was unable to resolve it since they can't write code for a customer. Their suggestion was to put this in the pl/sql "Custom" event for the insert button:
    DECLARE
    l_url VARCHAR2(200);
    begin
    l_url:=
    'TARGET=_blank>http://dallas.lacare.org:7777/portal/page?_pageid=154,107011&_dad=portal&_schema=PORTAL';
    PORTAL.wwa_app_module.set_target(l_url,'CALL');
    exception
    WHEN OTHERS then
    htp.p(SQLERRM);
    end;
    But that gives me an internal server error when I submit my form.
    Any other ideas?
    Thanks,
    David

    Looks like my problem was just the TARGET=_blank> stuff. I change the code to the following:
    DECLARE
    l_url VARCHAR2(200);
    begin
    l_url:=
    '/portal/page?_pageid=154,107011&_dad=portal&_schema=PORTAL';
    PORTAL.wwa_app_module.set_target(l_url,'CALL');
    exception
    WHEN OTHERS then
    htp.p(SQLERRM);
    end;
    That works fine and instead of putting it in place of the INSERT button code I left that alone and put it in the "After form processing" pl/sql code. Now it works pretty well. The only thing left to fix is that it loses all my current Page Parameter values when forwarding the url like that.
    David

  • How to make a form from a flow chart.

    I want to make a flow chart into a form for a website.  For example, I have a flow chart that leads to various solutions based on yes/no answers.  I want the user to be able to enter in yes or no, and be directed to further questions or answers based on the answers they provide.  Is there an easy way to approach this?  Perhaps a form is not the best method?

    Ajax (Javascript) would have an edge over PHP in regards to responsiveness. The best solution might combine all three methods (PHP, Javascript, HTML).
    Are the responses going to be stored in a database? If so then you can also use the database to store the questions, complete with form fields.
    One big difference between javascript and PHP is that PHP does nothing until you either open a new page or hit submit, and then it runs in a linear fashion until it reaches the end of the script. Javascript, on the other hand, can respond to other "events" that take place, such as when the user clicks away from a form field. With the advent of html5, HTML now has a little of the responsiveness of javascript.
    PHP is the tool you use for processing form data and interacting with the database, if each form response is followed by a complete PHP processing cycle, the form will seem sluggish to the user. There are two solutions to this:
    Have the user respond to a group of questions, then hit submit. The occasional lag for page reload won't bother the user.
    Use AJAX to interact with the PHP form processing behind the scenes.
    So yes, you can have one page that responds and changes depending on user input. PHP, javascript and HTML5/CSS3 can all be part of this. The specific way you build your solution will depend on your specific form progress and what technologies you are most comfortable with. For instance, my strong case is PHP, so I let it do as much of the work as possible, but I know coders who do much of what I would do in PHP with javascript, because that's what they are most comfortable using.
    Any resources on how I might be able to do this via PHP?
    PHP Solutions second edition by David Powers
    Programming PHP by Lerdorf, Tatrow and MacIntypre

Maybe you are looking for

  • Actual shown PLan is not shown

    Hi, I a working on BI 7.0. In my report I have 2 RKF's. Actual & Plan. I have restricted both to: Fiscal Year  & Posting Period (Range from 1 to current posting period) I am getting the values for Actual while Plan is shown blank. Please let me know

  • Can't download movies on iTunes (Windows 7 Home Premium)

    The other night, I realized a new fascination for movies starring Michael Cera. So, while lying in bed, I decided to download a few. Those to included Scott Pilgrim, Youth in Revolt, Nick and Norah, and Superbad. The downloaded went find on my iPhone

  • Splitting BOXI infrastructure into two BOXI instances

    Hi, Our organisation is splitting into two. We currently have two clusted servers A and B and wish to assign one to each of the new organisations. If I tried the following would it work ? 1. Remove Server B from the cluster. 2. Create a new database

  • Resolution of pics

    Hi, I'm new on mac system and application. I'm sorry to open a new topic. I would like to know if with I -photo 06 i could change resolution of my pics. They are about 1 Megabyte, I would like to have about 50 kb or more. Is it possible? And how? Tha

  • Installing 10.6 on iMac using MacBook Pro install DVD

    Hi I have a 24inch intel 2 core iMac from early 2008 with 10.5.6 installed and I just bought a MacBook Pro with Snow Leopard. I want to upgrade my iMac to 10.6 but before I purchase it I wanted to check if my apps etc would work. I used the MacBook P