Capture Select Variable in JSP and make it available to the Servlet list

I have a JSP form with 'Select' of options that's a list.  I want to make the variable selected available for my Servlet.  Not sure about request.set??("xxx"); syntax should be in the JSP to reference the value in my servlet to subsequently update a database.  How is that done?                            while (approvalsIterator.hasNext())
                              accessRequest = (AccessRequest) approvalsIterator.next();
                    %>
                              <tr class="tableRowOdd">
                                   <td><input type="text" id="jobRqstUserid" name="jobRequestorID" value="<%=accessRequest.getJob_rqst_userid()%>" /></td>
                                   <td><input type="text" id="jobname" name="accessRequests" value="<%=accessRequest.getJOB_NAME()%>" /></td>
                                   <td><input type="text" id="rqstrGroupNm" name="accessRequestsRqstrGrpNm" value="<%=accessRequest.getActive_dir_grp_nm() %>" /></td>
                                   <td>
                                        <select name="drpApproveDeny" class="select">
                                             <option value="APP">Approve</option>
                                             <option value="DNY">Deny</option>
                                        </select>
                                        <%
                                        String approvalInd = request.getParameter("drpApproveDeny");
                                        %>

You can get the selected value with
request.getParameter("drpApproveDeny");I.e. the same way that you get values from almost all of the HTML input elements.

Similar Messages

  • Can I develop an iOS app that can download multiple free iBooks that I publish and make them available within the iBooks app?

    Is it possible for a self-developed iOS app to download iBooks from our server and make the books available to the iBooks app?
    My organization is evaluating publishing some free training manuals / textbooks as iBooks made with Apple's "iBooks Author" software. We don't necessarily want to use the iTunes Store for distribution because of the semi-sensitive nature of the content. To distribute the books to users with iPads, we've thought of using MDM software, a webpage, or an iOS app. The reasoning behind an iOS app is that the app would be a "download manager", making it much easier for a user to download all 42 books all at once. A user would install our "free training manual download manager" iOS app and use it to authenticate to a our server app that would serve the books, the end result being the books available via the iBooks app.
    Thanks,
    Ted

    Hi Kappy,
    Actually Apple lets self-publishers distribute iBooks outside of the iTunes Store, as long as the iBooks are free (no cost to user).
    What I'm wondering is if it's possible for a custom iOS app to side-load iBooks so that they're available to a user within the iBooks app.
    If not, we'll either post the iBooks for download from our website or we'll use MDM software to push the iBooks to MDM-enrolled iPads.
    Ted

  • Convert doc to PDF and make it available for workspace

    Hi,
    is there a way, how to convert a doc file to PDF file and make it available for the workspace (accept - deny scenario)?
    Lets say, that I have a contract that has to be approved by my manager. I convert the doc to PDF file and send it to his to-do queue. He than decides if it is a good agreement or bad one.
    I see couple of tricks in this. First, the converted file needs to have process fields included, so it has to be a form.
    Converted file is a flat PDF. I tried to use DDX to merge flat PDF and form with process fields, however that throwed and error.
    Workaround could be creating an envelope saying, hey, look in the attachments section, there is something you need to review.
    I can create an attachment in the form with DDX code, however only in the DDX UI interface, for some reason, it wont work in the process in LC.
    Also, I have difficulties with routes after user hits the accept, deny buttons in workspace, nothing happens :-(
    Could you please give me some advices, what kind of variables I need, what types they should be and how the process should looklike? I want to invoke it over the WSDL so at least one document has to be passed over it. The envelope can be in the resources section in LC (makes sense, but I do not know how to address it in the DDX and afterwards)
    Thanks in advance,
    H.

    Hi Jasmin,
    I can add the converted document to PDF as a attachment to the XDP form in the workspace.
    I am strugling now with that envelope (the XDP), cant render it to PDF and than workspace enable it. I will have a look around the web because it will be there. One question is can I control permitions on the attachment? I want just read only permitions.
    Thanks Jasmin for your continuous help.
    J

  • Reading Variable from JSP and pass to servlet

    hello
    i have a servlet page which transfers data to a jsp page. The jsp displays the data only. Now i want to read a string from a jsp page and then pass it to the servlet.
    How can i do it?
    thnks

    hello
    this is working fine: out.println("<input
    type=\"hidden\" name=\"bookId\" value=\"+bookId+\"
    size=\"25\">") ;
    works fine
    thnksI guess you didn't understand me. Look to the difference between the following two statements:
    out.println("<input type=\"hidden\" name=\"bookId\" value=\"+bookId+\" size=\"25\">") ;and
    out.println("<input type=\"hidden\" name=\"bookId\" value=\""+bookId+"\" size=\"25\">") ;In the first you're handling the bookId variable as String, in the second it will use the actual value of bookId.

  • How to deliver variable between jsp and EL ?

    this is the code of my *.jsp
    <%
    int g_nAge=12;
    %>
    ${g_nAge}
    I suppose that "12" is showed in my web-page,but actually I see nothing.
    This is an example in my jsp book showing the delivering variable between JSP and EL !
    how can it do that ?

    EL cannot pick up scripting variables. It picks up attributes from scope only.
    Similarly it doesnt set any scripting variables too.
    <%
                  int g_nAge=12;
                  pageContext.setAttribute ("g_nAge", new Integer(g_nAge));
    %>
    ${g_nAge}cheers,
    ram.

  • How to create the custom method and make it available to clients:

    Hello, Can any one help me with this problem ASAP??
    I am trying to work on an example of "Customizing the Query and Creating an Associated Custom Method"
    from http://helponline.oracle.com/jdeveloper/help/topics/jdeveloper/developing_mvc_applications/adf_pviewcustommethod.html?tp=true#method. To do that, the first task is to create the custom method and make it available to clients.
    Following instructions in the helponline documentation, I completed the three steps: (1) "Specify a custom query for the View Object definition for EmployeesView", (2) "Add the custom method to the application module Java class", and (3) "Make the method available to clients".
    The following is the error message I got to test the application module. Can anyone tell me what the message really means and what I should do. I am wondering if there is any mistakes in the document.
    (oracle.jbo.SQLStmtException) JBO-27122: SQL error during statement preparation. Statement: SELECT Employees.EMPLOYEE_ID, Employees.FIRST_NAME, Employees.LAST_NAME, Employees.EMAIL, Employees.PHONE_NUMBER, Employees.HIRE_DATE, Employees.JOB_ID, Employees.SALARY, Employees.COMMISSION_PCT, Employees.MANAGER_ID, Employees.DEPARTMENT_ID FROM EMPLOYEES Employees WHERE Employees.SALARY > :1 and Employees.DEPARTMENT_ID = :2
    ----- LEVEL 1: DETAIL 0 -----
    (java.sql.SQLException) ORA-01008: not all variables bound

    You need to set values for the parameters in your query before you try to execute the query in the view object.
    So you need to call the setBindVars method before the query.

  • I need to reinstall my original factory disc and reset my computer to the beginning. It currently has lion. Do I need to erase my HD first to clear and make new room for the install disc.

    I need to reinstall my original factory disc and reset my computer to the beginning. It currently has lion. Do I need to erase my HD first to clear and make new room for the install disc.

    Prepare Your Mac for Sale
    Boot from the OS X Installer Disc One that came with the computer.  After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.  After DU loads select the startup volume from the left side list then click on the Erase tab.  Set the format type to Mac OS Extended (Journaled) then click on the Options button.  Select the one pass Zero Data option and click on the OK button.  Then click on the Erase button.
    Note: You can skip the Zero Data option if you are not concerned about removing sensitive personal data from the hard drive.  If you choose to skip this part of the process then it is possible for others to recover data from the hard drive.  The Zero Data procedure will prevent others from getting access to your personal information.
    This process will take 30 minutes to several hours depending upon the size of the hard drive.  After formatting has completed quit DU and return to the installer.  Now complete the OS X installation.  At the completion of the installation do not restart the computer.  Instead just shut it off.  The next user will be presented with the Setup Assistant when they turn on the computer just as it would if new out of the box.

  • TS4209 Is there a way to make certain that I have this update? I run software update, and nothing is available, yet the problem persists.

    Is there a way to make certain that I have this update? I run software update, and nothing is available, yet the problem persists.

    I added this post in response to this parent post: http://support.apple.com/kb/TS4209?viewlocale=en_US&locale=en_US
    The parent posts mentions the solution to my problem is the update available when you run software update. However my system is up to date, and I still have the problem.
    Further information:
    When I return home from work, and wake my computer, the Wi-Fi indicator shows that it is trying to connect. It fails, and the signal bars show zero connectivity. If I click on the Wi-Fi indicator, the computer then searches for nearby networks, and I am able to select mine. Then it connects.
    It seems very clear that the problem is my iMac tries to connect before looking for networks.

  • HOW DO I SEND AN EMAIL ON MY IPHONE OR IPAD AND MAKE IT APPEAR ON THE MAIL APPLICATION ON MY MAC?   IT ONLY WORK THE OTHER WAY ---SENDING AN EMAIL ON MY COMPUTER ---APPEARS IN SENT ITEMS ON MY IPHONE AND IPAD.

    HOW DO I SEND AN EMAIL ON MY IPHONE OR IPAD AND MAKE IT APPEAR ON THE MAIL APPLICATION ON MY MAC?   IT ONLY WORK THE OTHER WAY ---SENDING AN EMAIL ON MY COMPUTER ---APPEARS IN SENT ITEMS ON MY IPHONE AND IPAD.

    IT IS FOR GMAIL.

  • Can I use iCloud as my library instead of using local storage?  Would I be able to synchronize the music on my phone? and make CDs out of the my music in the icloud using itunes?

    Can I use iCloud as my library instead of using local storage?  Would I be able to synchronize the music on my phone? and make CDs out of the my music in the icloud using itunes?

    Many thanks JEM24 for your help.  Ive just spent the best part of six hundred pounds on a new Sony Rx100m2 compact camera, so I have no interest in the Ipods camera at all really. I doubt Ill be watching many videos on it as Im very lucky in that I have a good Android tablet. Its more as a stock music player that Ill be buying the Ipod for, if indeed I do end up buying one. I dont like the idea of paying the exorbitant amount added for more memory space that Apple along with most other companies charge. In fact I read an article on this very subject just yesterday in the tech section of Flipboard. It stated in the article that in the case of the Iphone  the actual cost of each additional  gigabyte of storage  to Apple et al is something in the order of 60p.. This is certainly not reflected in the price us the customer has to pay at the till.. Its for this reason primarily that Apple in particular, because their products do not allow adding expandable memory of your own in the form of cheap to buy cards, that nobody in their right mind buys the 64gig etc Iphones..I am aware that we are discussing my potential purchase of an Ipod Touch here but you see my point. Many thanks again though for helping me.

  • Hi Apple, Can you update the iPod touch 4g and make it have Siri, the fans of Apple wants it :( including me please?

    Hi Apple, Can you update the iPod touch 4g and make it have Siri, the fans of Apple wants it :( including me please?

    You are not addressing Apple here. We are just users like yourself. To make a suggestion to Apple:
    Apple - iPod touch – Feedback
    Per the following the 4G iPod does not have the hardware to adequately support Siri.
    audience technology and siri - Google Search

  • HT5071 Can I publish my work produced with iBooks Author and make it available (free of charge) for my students only?

    Can I publish my work produced with iBooks Author and make it available (free of charge) for my students only?

    Yes. Put it on your own server, and/or send it out via email.

  • When I select text, system wide, and delete it, why is the succeeding text then selected?

    When I select text, system wide, and delete it, why is the succeeding text then selected?
    This doesn't happen all the time, but it's happened enough for me to notice it and get super annoyed by it.
    Here's an example. If I have the following text:
    The quick brown fox jumps over the lazy dog.
    And I highlight quick brown and then press delete, I get: (The red shows the selected text)
    The fox jumps over the lazy dog.
    So when I then start typing, more text is removed than I want. Sometimes this effect carries over, so that the next couple words are selected once I start typing.
    It's wonderfully annoying. So I was wondering if anyone else was experiencing such issues or if anyone might have an idea on how to get rid of this problem.
    Thanks.

    Ooops. I haven't updated my sig in a while. I'm on 10.8.2 and it happens on a late 2008 Alu Macbook.

  • 1013 File Adpter pick .pdf, .doc files and make it available in Worklist

    Hi,
    I am using 10.1.3 version. I have a file adapter that polss on a directory and picks up any file dropped in the folder can doc, pdf. I have a Human Task that a user looks at a file and then APPROVE or REJECT or if possible make changes to a file too.
    Now how do I pick-up a file using File Adapter and make it available in Human Task (Worklist). I did look at DocumentReview Sample but it accepts some URL as a parameter but in my case I want to have a file i.e. pdf, doc etc. How can I handle this. Any help is appreciated.
    Thanks

    Hi Jasmin,
    I can add the converted document to PDF as a attachment to the XDP form in the workspace.
    I am strugling now with that envelope (the XDP), cant render it to PDF and than workspace enable it. I will have a look around the web because it will be there. One question is can I control permitions on the attachment? I want just read only permitions.
    Thanks Jasmin for your continuous help.
    J

  • Install print driver in 10.4, and make it show on the print drivers list.

    Hi,
    I can't seem to install my Canon print driver, and make it show on the print drivers list. I have a Canon MP180 as a network printer on a Windows Computer, and it requires special printing drivers, not the OSX bundled ones. Without it, I can't print to it. Even with the driver installed, I can't see it on the list of drivers.
    Any help is appreciated.

    1. Bonjour for Windows is installed and configured properly, although it will not install or see an HP driver for the HP Photosmart C3100 printer. The only drivers the PC sees are Generic PCL and Generic Postscript. Bonjour for Windows "sees" the Photosmart printer, plugged into the Mac.
    2. I don't believe the Mac's firewall is on. I'm using a SonicWall firewall appliance between our home network and the Internet.
    3. Printer sharing on the PC -- as I'm sure you know -- isn't configured as it is on the Mac. There is an option to share the HP Photosmart on the PC (if the printer were plugged directly into the PC), but that is disabled. Printer sharing cannot be configured for the instance of the HP Photosmart that was installed by Bonjour for Windows.

Maybe you are looking for