Urgent query about submitting jsp

I have a hidden field on a jsp that I want to submit when a particular button is clicked. I dont want the rest of the form to submit. Is it possible to do this?

You can put the hidden field in it's own seperate HTML form and then have the button submit this form.
<form name=hiddenForm action=>
<input type=hidden name=hiddenField value=>
</form>
<button type=button onClick='doSubmitHiddenForm();' >
<Script>
function doSubmitHiddenForm() { document.hiddenForm.submit(); }
</script>

Similar Messages

  • Urgent query about copying array of objects to html item

    I have an urgent query about how I can display an array of objects on a html form. The only suitable html item I can see for this is a drop down box. Ideally a combo box would be preferable but I cant find anything like this. Basically the display item needs to contain 3 columns of data and has to display a number of rows. Can anyone tell me how to copy the array of values into a drop down box?

    Here is all the code from my jsp. It keeps returning null:
    <%@ page language="java" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ page import="java.util.*, java.lang.*" %>
    <html:html locale="true">
    <head>
    <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252"/>
    <link rel="stylesheet" type="text/css" name="timesheet" href="stylesheets/timesheet.css"></link>
    <script type="text/javascript" language="javascript" src="javascript/sum.js"></script>
    <title><bean:message key="eng.title"/></title>
    <html:base/>
    </head>
    <body bgcolor="white">
    <table border="0" width="100%">
    <tr>
    <td width="30%"><html:img page="/images/PwC_logo.gif"/></td>
    <td width="40%" class="applicationTitleCell">
    <div align="center">
    <bean:message key="application.title"/>
    </div>
    </td>
    <td width="30%"> </td>
    </tr>
    </table>
    <center>
    <html:form action="/selectEng" focus="engSearchNumber">
    <table border="0" width="100%">
    <tr>
    <td width="30%"></td>
    <td width="20%" align="center"> <b> <bean:message key="eng.prompt.engSearchNumber"/> </b> </td>
    <td width="20%" align="center"> <b> <bean:message key="eng.prompt.clientSearchName"/> </b> </td>
    <td width="40%">   </td>
    </tr>
    <tr>
    <td width="30%"></td>
    <td width="20%" align="center"> <html:text property="engSearchNumber" size="20" maxlength="9" onchange='<%= "SearchLength(this)" %>' onkeypress="return NumberOnly()" /> </td>
    <td width="20%" align="center"> <html:text property="clientSearchName" size="20" maxlength="20" onchange='<%= "SearchLength(this)" %>'/> </td>
    <td width="30%">   </td>
    </tr>
    </table>
    <table border="0" width="100%">
    <tr>
    <td width="30%"></td>
    <td width="40%" align="center"><html:image property="findButton" src="images/Find.gif" alt="Find"/></td>
    <td width="30%">   </td>
    </tr>
    <jsp:useBean id="selectEngForm" scope="session" class="Time.SelectEngForm" />
    <% if (selectEngForm.getEngSearchNumber() != null) { %>
    <tr>
    <td width="30%"></td>
    <td width="40%" align="center"><select name="engListing" size="5">
    <%= selectEngForm.getEngListing() %>
    </select></td>
    <td width="30%">   </td>
    </tr>
    <% } else if (selectEngForm.getClientSearchName()!=null){ %>
    <tr>
    <td width="30%"></td>
    <td width="40%" align="center"><select name="engListing" size="5">
    <%= selectEngForm.getEngListing()%>
    </select></td>
    <td width="30%">   </td>
    </tr>
    <% } %>
    <%=request.getParameter("engListing")%>
    </table>
    <br><br>
    <table border="0" width="100%">
    <tr>
    <td width="30%"></td>
    <td width="11%" align="center"> <html:image property="addButton" src="images/Add.gif" alt="Add the selected engagement to the timesheet"/> </td>
    <td width="11%" align="center"> <html:image property="cancelButton" src="images/Cancel.gif" alt="Cancel"/> </td>
    <td width="30%">   </td>
    </tr>
    </table>
    </html:form>
    </center>
    <br>
    <center><html:link forward="timesheet"> <html:img src="images/Back.gif" border="0"/> </html:link></center>
    </body>
    </html:html>

  • An Urgent Query about ODI

    Hi,
    I have done a scenario which executes sum.sh file.This scenario is successfully executed by OraclediAgent. Now a web service(Let from bpel/soap ui) invokes this agent using agent's wsdl url (like this:-
    http://localhost:8886/oraclediagent/OdiInvoke?wsdl) and then the OraclediAgent execute the scenario. I am successful for this case too.Now my questions are:-
    *1)Is it possible to return the summation result to the invoker web service(bpel/soap ui) through odi.*
    *2)Is it possible to show the o/p(result of the summation) in odi console.*
    and my last question is:
    *3)Every time when the bpel/soap ui invokes OraclediAgent it gets session id as a return.How do I know the execution of the sum.sh file is successfully done or not wrt to invoker.(or more clear to say in weblogic console?)*
    Please ans.It's urgent
    Thanks
    Papai

    hi,
    any update??At least please tell me the reverse procedure i.e i also want to send two number from webservice to the odiOScommand so that the the sum.sh will run successfully where the odiOscommand parameter are variables not a static value.How'ii I do it?
    Please Ans.
    Thanks
    Papai

  • Query about building forums using JSP

    Hi everybody here . I hope you are fine and you are doing better .
    I have a query about JSP ,I see SUN forums here is built using JSP , I want to know What the Probability to build an open source Forum using JSP like those built with PHP For example : PHPBB and other examples .
    On other query If there is already Forums built using JSP , What is this Forum ?
    Thank you very much at all
    Edited by: ahmedhussien on Jun 17, 2009 5:11 PM

    Scroll a bit down and check the "powered by" logo.
    An alternative is JForum. Just google "java forum software" or something straightforward like that..

  • Urgent query JDBC on linux

    I have an urgent query . I have written a java code on microsoft platform that talks with SQL server 2000 hosted on windows200 machine in a network using JDBCODBC driver wothou using a Data source name.
    But this same code when i try to run on mandrake linux throws an exception as
    java.sql.SQLException: [unixODBC] [Driver Manager] Data source name not found,
    and no default driver specified.

    MS provides a JDBC driver for MSSQL 2000, go to there site and download it.

  • Query about local storage

    Hi,
         i had a query about local storage.
         I've a machine that hosts weblogic and tangosol. i've an ejb that accesses a distributed cache i.e NamedCache cache = CacheFactory.get("MyCache")
         i modified tangosol-coherence.xml and set local-storage to false ( for distributed cache) and replaced the file in coherence.jar.
         i'm using an overflow scheme and the back map uses a disk scheme.
         i also start a separate standalone instance of tangosol and i set the system property of local storage to true for the standalone instance.
         i start the standalone instance first and then weblogic.
         The idea is ensure that the tangosol instance in weblogic or the weblogic JVM should not participate in storing data (hence local storage false).
         only the JVM for the standalone instance should store data (hence local storage true -system property).
         i wanted to know whether the property "local-storage" is pertinent to a member(machine) or to a JVM?
         the reason for this doubt: as i'm using a disk scheme, tangosol creates a file for an overflow (e.g lh014402~.tp). i can see two such files when ideally i would have wanted only one for the tangosol instance.
         -rw-r--r-- 1 zephyr users 8364032 2005-06-23 17:02 lh014402~.tp
         -rw-r--r-- 1 zephyr users 8364032 2005-06-23 17:02 lh014403~.tp.
         can you please let me know if we can configure tangosol in such a way that we can two separate instances running with local stroage false for one and true for the other?
         Awaiting your reply
         Thanks
         Vinay

    I would suggest leaving the default 'local-storage' value set to 'true' in the tangosol-coherence.xml and just use the JVM argument to control the local storage of each individual node. Then start the stand alone instance normally (I assume you are using the com.tangosol.net.DefaultCacheServer) and start the WebLogic instance with the following:
         java [...] -Dtangosol.coherence.distributed.localstorage=false [...]
         Hope this helps.
         Later,
         Rob Misek
         Tangosol, Inc.

  • How to find the backend  SQL query of the JSP page in OIC

    Does anybody how the best way to find the backend SQL QUERY of OIV JSP page?

    How To Generate Trace Files in in HTML/JSP (using Profile Option)
    •     • Note: This requires proper responsibility to set SQL Initialization statement using Profile option.      
         Step 1.     Login to the desired Form application.     
         Step 2.     Select +Profile >> System ('Find System Profile Values' screen will pop up)     
         Step 3.     Check 'User' and Type in the Username (in which the account for that user will be trace)     
         Step 4.     Type 'Initialization%' in the Profile box and Hit 'Find' (Click here for preview.)     
         Step 5.     In the User box, type the following statement and Hit 'Save' (Click here for preview)
         BEGIN FND_CTL.FND_SESS_CTL('','','TRUE','TRUE','','ALTER SESSION SET TRACEFILE_IDENTIFIER = TESTING MAX_DUMP_FILE_SIZE = 5000000 EVENTS ='||''''||' 10046 TRACE NAME CONTEXT FOREVER, LEVEL 12'||'''');END;     
         Note:     specify any name you like to identify your trace, in this case, testing is the end name on the trace. You can also specify the amount of data allowable to be in the trace, in this case, 5000000 is the amount set. Make sure you hit 'Save' afterwards.[Quotes in the statement are all 'Single' quotes.]
              specifying TRACEFILE_IDENTIFIER value is mandatory when setting up the trace using the above profile option value
         Step 6.     Login to HTML / JSP page with username/password and start your flow. (Everything you do once login to HTML / JSP will get trace.)     
         Step 7.     Logout of HTML / JSP application once you completed with your flow.      
         Step 8.     Go back to the Profile option in the Form application and delete the Initialization SQL statement, and Hit 'Save'.     
         Step 9.     Log in to the database server or login server and retrieve your trace file.
         Identify and retrieve the trace file using the tracefile_identifier specified in Step 5.
         In this case the tracefile_identifier is “TESTING”. (Click here for Trace file locations) *     
         Note:     If you need to regenerate your trace or tracing a new flow, then repeat Step 1 to Step 8. To avoid self-confusion, choose a different name for your trace identifier everytime you set to trace.     
         Step 10.     See TKPROF section on how to format trace file into readable text.
         Trace Options Definition
         No Trace          Tracing is not activated
         Activities will not get traced.
         Regular Trace
         (Level 1)          Contains SQL, execution statistics, and execution plan.
         Provides execution path, row counts as well as produces smallest flat file.
         Trace with Binds
         (Level 4)          Regular Trace plus value supplied to SQL statement via local variables.
         Trace with Waits
         (Level 8)          Regular Trace plus database operation timings that the SQL waited to have done in order to complete, i.e. disk access.
         Trace with Binds and Waits
         (Level 12)          Regular trace with both waits and binds information.
         Contains the most complete information and will produce the largest trace file.
    ****Send me an email to [email protected],I will share the document with you.

  • Big Troubles on designing Query about special customers' counting

    Hello buddies:
    I meet a problem on designing Query about special customers' counting. Let me describe the requirment first.  I want to create a query with BEX , and there is a key figure with very special logic.
    That is: to list the counts of the customers which has more than one sales records in a time period from sales data. 
    For example :
    when the user excute the query , he or she must input a time period ( 2007.01~2007.03 e.g)
    then the query output as follow:
    District          Cust-sount
    North-Zone       100
    South-Zone      120
    The Main trouble are :
    1. Threr are no document number in the detail of sales data document records. so I could not count the sales times with document number.
    2. The time period is not fixed value, it depends on the user's input, so I can not define the counting logic in the update rule or in the query with fixed time period.
    Anybody who met similar requirement pls show me your hand and give your solutions, thanks very much.
    Jason

    Hi,
        Your solution sounds a good way to count the distinct customers. but in my case, one salse line item must not be recognize as one sales record, instead,  one customer's all sales line items occurs in one day must be  recognize as one sales record ( or we say that one sales behavior).
    for example:
    customer     product    quantity   date
    cust001       prod001        10       2007.06.06
    cust001       prod002        20       2007.06.06
    the two line items above means one sales record for the customer "cust001".
    so I could not simply use the CKF : (( Counter ) *FV2 ) > 1 .
    Best Regards,
    Jason

  • Query about licensing Jdeveloper

    Dear Friends,
    I have a query about licensing of Jdeveloper development tool. I understand that Jdeveloper is Free tool.That is we do not require license to use Jdeveloper for development as well as production.
    Recent I heard that Jdeveloper is free only if we purchase Oracle Application Server. Is it correct ? Does one need to purchase Jdeveloper license if it is being deployed on any other App. server eg. Jboss etc ?
    Can anyone throw light on the same ?
    Many thanks,
    Vaij

    Hi,
    JDeveloper is free! Oracle ADF - the binding layer - ADF BC, and ADF Faces need an OracleAs licence
    Frank

  • How do I go about submitting an idea for an app?

    I have an idea that would benefit each and every iPhone, purchased, or in-store.
    It will be useful on every Mac with Bluetooth capability.
    How do I go about submitting my idea?
    Thank you kindly!
    <Edited By Host>

    Submit to who?
    To submit to Apple go here:
    http://www.apple.com/feedback/
    but read this:
    http://www.apple.com/legal/policies/ideas.html

  • JDeveloper 10g does not export .ear, it complains about a JSP

    There is a project on J2EE.
    JDeveloper 10g rejects to export .ear, .war и .jar (EJB jar), it complains about a JSP page, it writes the follwing:
    Error(3,48): FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    Error(4,14): Attribute 'xmlns:xsi' used but not declared.
    Error(5,23): Attribute 'xsi:schemaLocation' used but not declared.
    Error(6,12): Attribute 'version' used but not declared.
    Error(8,15): Invalid element 'description' in content of 'taglib', expected elements '[tlibversion]'.
    Error(8,15): Element 'description' used but not declared.
    That is it complains about descriptors, but I the descriptors must be OK.
    How can I get it working to export .war and .ear successfully?
    May be I should switch off some checks?

    There is a project on J2EE.
    JDeveloper 10g rejects to export .ear, .war и .jar (EJB jar), it complains about a JSP page, it writes the follwing:
    Error(3,48): FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
    Error(4,14): Attribute 'xmlns:xsi' used but not declared.
    Error(5,23): Attribute 'xsi:schemaLocation' used but not declared.
    Error(6,12): Attribute 'version' used but not declared.
    Error(8,15): Invalid element 'description' in content of 'taglib', expected elements '[tlibversion]'.
    Error(8,15): Element 'description' used but not declared.
    That is it complains about descriptors, but I the descriptors must be OK.
    How can I get it working to export .war and .ear successfully?
    May be I should switch off some checks?

  • I have an urgent question about my indesign. I had problems with the creative cloude app and then uninstalled it and then installed it again. Now it is not opening and I cannot download it again either. Pls give me help and advice if there is anything I c

    I have an urgent question about my indesign. I had problems with the creative cloude app and then uninstalled it and then installed it again. Now it is not opening and I cannot download it again either. Pls give me help and advice if there is anything I can do to repair it

    Please authorize ADE 3 with same credentials that you used with older version of ADE

  • New issue in R 12.1.3 in AP while query about inovice was recorded in AP

    i record new invoice in ap on release R 12.1.3 and when query about it on invoice form the error appeare was it
    forms
    FRM-40735:POST-QUERY trigger raised unhandled exception ORA-04063
    how can someone help us

    Hi,
    Please see these docs.
    R12:Getting FRM-40735 Post-Query Trigger On Quering Invoice [ID 1209736.1]
    After Applying Patch APXINWKB.fmb Is Not Working [ID 1159124.1]
    R12.1.1 APXINWKB Invoice Workbench Form Comes Up With 'ORA-01403' [ID 949942.1]
    12.1.1: FRM-40735: Post-Query Trigger Raised Unhandled Exception ORA-04063 [ID 1077613.1]
    Query on Invoices, Getting "FRM-40735: POST-QUERY trigger raised unhandled exception ORA-4063" [ID 1076609.1]
    Thanks,
    Hussein

  • I have one query about table entries.

    i have one query about table entries.
    suppose  for particular table we maintained   5 entries in dev server. actaully in the dev we have only these 5 entries.
    In production we have 200 entries actually.
    If we move the cts from  dev  to production ,we will get 205 entries right
    please help me in this.

    If i understood correctly, It is a Z table and you have done some changes in DEV system. If you move this to Production, it wont effect the production entries.
    There are 2 different ways you can trnasport a Table. 1. with Table entries 2. Without table entries.
    If you transport with Table entries then the DEV entries in this case 5 will be moved to PRODUCTION totaling 205.
    If you transport without table entries, then in Production you will find only 200 entries.

  • Query about the DR -Standby

    Hi Support,
    I have a query about the DR -Standby:
    1) Is FAL_CLIENT and FAL_SERVER parameter mandatory in both Primary and standy node?
    2) How many standy by we can create for primary node?
    Thanks

    Dear Prashanth,
    Quantity of 3 is rejected so you blocked it? why you want to bring it again to Quality? Use of putting in block is as follows:
    Since quantity of 3  is rejected  and need to be kept aside you are blocking the stock, the purchase person will send back this material to vendor directly from block stock (MBRL or MIGO). This is best practice.
    There can be other situation that your vendor came to your place and done rework om that 3 blocked items and you are satisfied with the quality then you can use respective movement for transferring from block to unrestricted, if you want lot to be generated then assign 08 insp type and do inspection.
    Hope this will help you better.
    Best Regards,
    Shekhar

Maybe you are looking for

  • ERROR in PROCEDURE  PL/SQL: ORA-00947: not enough values

    Hi all i am creating a Procedure in which i am getting very strange ERROR h4. i am using Oralce 11g, SQL Developer 3 my scenario is : CREATE SEQUENCE tt_TMPMEASURESOURCE_ID START WITH 1 INCREMENT BY 1; CREATE TABLE tt_TMPMEASURESOURCE ID NUMBER(10,0)

  • Grant access to page programmatically

    Hi I am looking into using pl/sql procedures in portal 9.0.2 to grant access for users and groups, programmatically, to a page that i have created. I am trying to use this procedure: wwsec_api.set_user_acl(p_object_type_name,p_owner ,p_name ,p_author

  • Best practice for logging

    Hi All, I would like to know if there is any best practice document for Firewall logging. This would include 1. What level of logging is ideal 2. If a log is stored in a logging server, how long is it best to store the logs and retain the logs by a b

  • Regd : drill down report

    hi, I need to get drill down on each row if i click on revenue.i should get on drill down. and if i click on expense i need to get another drill down. Please help me out defenetly points will be rewarded *& Report  ZIN1 REPORT  ZIN1. *&           Tab

  • Icant see installed fp11 in my comp

    i installed fp11.operation was succefully done/received congrat.from adobe site,i cant see no labels,cant find the program in comp.only in uninstallers.help me to solve this problem.