About Dynamic Form in JSP

Hi,
I want to create jsp page which can add/delete/modify and even move text boxes with label to one place to other.
i found partially solution like Xform and even thru java script. But still don't know how to do that.
Can any body have ever come across this type of form.
please give me your valuable comments may be from there i will get some trick.
Thanks,
Ankur
Edited by: joyhotfever on Sep 3, 2008 2:04 AM

Your question is too general.
Learn HTML. Learn Java. Learn JSP/Servlets. Learn JavaScript -if necessary.
Then write code accordingly. Whenever you stucks while solving a technical coding problem, you're always welcome to ask it here.

Similar Messages

  • Dynamic form in JSP

    Hi
    I want to do different operations in a single form. It is like saving data,clearing all and save&clear submit buttons. How to perform all these in a same jsp program (it includes database operations too).
    Thanks.
    Jency.

    First break up the entier set of operations into smaller tasks, and then it will be easier to think of solution for each small task.
    1) Are you displaying a form? You can build a form with HTML , input tags and submit and reset buttons.
    2) It's a terrible idea to combine everything in just one JSP because, JSPs are only meant to display the front-end. But, if you put the middle tier buisiness logic and the end tire database logic all inside one JSP then it will be extreamly difficult to understand and maintain.
    So, consider breaking up your application into separate layers.
    Front layer, Middle Business Layer, Database Layer.
    3) Make use of JSTL 1.1 inside JSP, if you still want to perform database operations inside a JSP then JSTL comes with SQL tags, take a look at JSTL here:
    http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html
    and here:
    http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html

  • Create "Dynamic" beans to handle dynamic form

    Hi All,
    Hope it is not too stupid question.
    JSP is all about dynamic content, a part of which can be a form that displays different fields and attributes. If I use Javabeans to handle the form, I will need different beans to go with each "configuration" of the form.
    Now let's say I have a form that can get one of three "configurations" , depanding on the parameter passed to the JSP page.
    I can create three Beans to match any type of form. (e.g., AFormBean, BFormaBean, CFromBean)
    How can I conditionally instansiate the Bean to handle the not yet known type of the Form?
    I tried to use an abstract Bean to be defined on the top of the JSP :
    <%
    Beans.AddComponentBean addComponentBean;
    %>
        <c:choose>
            <c:when test='${param.type=="DBMS"}'>
                    <jsp:useBean id="addComponentBean"            
                       class="Beans.AddDBMSBean" scope="page"/>
                    <jsp:setProperty name="addDBMSBean" property="*"/>    
            </c:when> 
            <c:when test='${param.type=="APP"}'>
                    <jsp:useBean id="addComponentBean"
                          class="Beans.AddAppBean" scope="page"/>       
                    <jsp:setProperty name="addDBMSBean" property="*"/>    
            </c:when>                 
            </c:choose>
    But that cannot be done since I get Use Bean duplicate.
    What is the right way of doing this?
    Thanks.

    How I would do this depends on my application design.
    I think I would go with a Factory type of design. I would have an 'AddBeanFactory' that decides on the specific type of the bean to create, and returns the abstract AddComponentBean. If you want to do it all in JSP, then making the factory a bean itself is usefull:
    package beans;
    import java.util.Map;
    import java.util.HashMap;
    public class AddBeanFactory {
         private String type;
         private Map parameters;
         private AddComponentBean addComponentBean;
         private static final Map<String, Class<? extends AddComponentBean>>TYPEMAP = new HashMap<String, Class<? extends AddComponentBean>>();
         static {
              TYPEMAP.put("DBMS", beans.AddDBMSBean.class);
              TYPEMAP.put("APP", beans.AddAppBean.class);
         public AddBeanFactory() {}
         public void setType(String type) { this.type = type; }
         public void setParameters(Map params) { this.parameters = params; }
         public AddComponentBean getAddComponentBean() throws InstantiationException, IllegalAccessException {
              if (addComponentBean == null) {
                   if (type==null || parameters == null){
                        throw new IllegalStateException("The Component Type and Parameters must be set prior to retrieving the ComponentBean");
                   addComponentBean = TYPEMAP.get(type).newInstance();
                   //fill bean with parameters
              return addComponentBean;
    }Then your JSP would be something like:
    <jsp:useBean id="beanFactory" class="beans.AddBeanFactory" scope="page">
        <jsp.setProperty name="beanFactory" property="type"/>
        <jsp.setProperty name="beanFactory" property="parameters" value="${request.parameterMap}"/>
    </jsp:useBean>
    <c:set var="addComponentBean" value="${beanFactory.addComponentBean}"/>

  • Rich Text in a XML Dynamic Form

    Hi guys,
    I'm having a problem accessing the property "richValue" of a text field.
    What I'm trying to do is get comments entered in a text field to be added to a list of comments(rich, text Field), similar to chat window. So each comment added (via a button click) will be formatted differently depending on other form parameters.
    Using LiveCycle Designer ES to create dynamic pdf form, target version 8.1 or higher. Testing using Acrobat Professional 8.1.2 .
    All text fields have richText switch on and also the Binding data format has been set to "XHMTL", only because Designer was whinging about it.
    Have tested:
    ]var field = event.target.getField("form1[0].#subform[0].txtAddComment[0]");
    console.println("Comment: " + util.spansToXML(field.richValue));
    ]undefined "is the result".
    Also tested:
    ]var field = event.target.getField("form1[0].#subform[0].txtAddComment[0]");
    var comments = event.target.getField("form1[0].#subform[0].txtComments[0]");
    ]comments.richValue = field.richValue;
    ]"nothing happens, no error, fields don't change nothing"
    OK is rich text supported in xfa dynamic forms?
    My aim is to be able to take someone's comments, format them and add them to a list of comments (like a log of comments), via javascript.
    Can anyone assist? It will be much appreciated.

    send me your form,will try and fix it for you
    [email protected]

  • Dynamic forms in struts

    Hi,
    I have a pretty difficult problem that I don't know how to solve using struts. I need to generate dynamic surveys from a database. The structure of the survey can be different for every different user. I really want to use the struts Form classes but I'm not sure how to do this. The only way I can think of is messy...
    For every new type of survey generated from the database...
    1. Generate a new class definition for the struts Form object and compile that.
    2. Every struts Action class that interacts with the new dynamic Form classes will need to use reflection on the dynamic Form object to be able to pull all of the data from that form.
    I'm sure there are many web sites where forms are dynamically generated and I would think this problem has already been solved. Does anyone out there have any ideas?

    Try to follow this way:
    1 provide actions chain in your configuration file like this:
             <form-bean
                  name="addFlatForm"
                  type="app.owner.forms.AddFlatForm">
                </form-bean>
            <action
                 path="/InitAddFlatForm"
                 type="app.owner.actions.InitAddFlatFormAction"
                 attribute="addFlatForm"
                 validate="false"
                 parameter="owner.extendedplace;place;/pages/AddFlat.jsp">             
            </action>
            <!-- "/pages/AddFlat.jsp" - jsp page with html:form on it-->     
            <action
                 path="/AddFlatForm"
                 type="app.owner.actions.AddFlatAction"
                 name="addFlatForm"
                 validate="true"
                 input="/pages/AddFlat.jsp">
                 <forward
                      name="success"
                      path="/shortinfo/Welcome.do"></forward>
            </action>2 first action(InitAddFlatFormAction) will be "prepare" action, where you must create new instance of the ActionForm descendant with Map, List, array etc definition. where your dynamic fields will be located , and fill the keys value from your database.
    public class InitAddFlatFormAction extends Action{
         public ActionForward execute(ActionMapping mapping, ActionForm form,
                HttpServletRequest request, HttpServletResponse response){
              //obtain parameters
              String[] params = ActionHelper.parseParameter(mapping, 3, Constants.PARAMETER_SEPARATOR);
              //get extended place from session attribute
              ExtendedPlace currPlace = (ExtendedPlace)ServletUtils.getAttribute(
                        request, params[0], ServletUtils.SESSION_SCOPE);
              //create form if form == null
             if (form == null) {
                  System.out.println("InitAddFlatFormAction::execute method: create new instance of action form.");
                  //create new form instance
                  form = new AddFlatForm(new HashMap<String, Object>());
                  //set form to selected scope attribute
                if ("request".equals(mapping.getScope()))
                     ServletUtils.setAttribute(request,
                               form, mapping.getAttribute(), ServletUtils.REQUEST_SCOPE);   //just set the value to selected scope
                else
                     ServletUtils.setAttribute(request,
                               form, mapping.getAttribute(), ServletUtils.SESSION_SCOPE);   //just set the value to selected scope
             //fill the form
             AddFlatForm flatForm = (AddFlatForm) form;
             flatForm.setValue(params[1], currPlace);
             return URIUtils.forwardAction(params[2]);
         }3 second action(AddFlatAction) will be "process" action. This action can be used when your data are successful validated.
    //any your actions4 form bean(ActionForm desctndant)
    public class AddFlatForm extends ActionForm{
         public AddFlatForm(Map<String, Object> map){
              super();
              //check input arguments
              AssertHelper.notNullIllArg(map);
              setMap(map);
         private Map<String, Object> map = null;
         public void setMap(Map<String, Object> map) {
              this.map = map;
         public Map<String, Object> getMap() {
              return this.map;
         public void setValue(String key, Object value){
              getMap().put(key,value);
         public Object getValue(String key){
              return getMap().get(key);
        public ActionErrors validate(ActionMapping mapping,
                HttpServletRequest request) {
            return (null);
    }And than in your jsp page you can use something like this:
    <%@ taglib uri="/tags/struts-html" prefix="html" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
                                            <c:set var="placeId">
                                                 <bean:write name="extPlace" property="placeInfo.id"/>
                                            </c:set>
                                            <c:set var="groupId">
                                                 <bean:write name="groups" property="filterGroupInfo.id"/>
                                            </c:set>
                                            <c:set var="filterId">
                                                 <bean:write name="filters" property="filter.id"/>
                                            </c:set>
                                            <bean:message name="filters" property="filter.filterDescription"/>
                                            <html:text property="value(${placeId};${groupId};${filterId})"/>                                                                 Something like this are displayed in struts-example.war (example application for struts1.1)
    pay attention for classes
    EditRegistrationAction.java and SaveRegistrationAction.java
    sorry for bad english... :)

  • XML data within dynamic form

    Hi,
    I'm trying to make a new XML Schema connection inside the form designer, I successfully made the connection and get the data inside my form, but I have only one problem, I have a huge number of records which I decided to make them as a dropdown list, they are about 11000 records, OK, now to the problem which is if I save the form as a static pdf form the list will be filled completely with the data came from the XSD file, and the produced file size is about 3 M, but if I save it as dynamic pdf form, the produced file size is about 400 K, but if I tried to access the dropdown list inside the file, it takes forever to load, without getting any result at the end.
    OK, my personal conclusion is that in case of the static forms the data saved inside the pdf file, but in case of the dynamic forms the data is not saved there.
    I need to save the file as dynmic pdf because I have a table that needs to add new row accoriding to the user click on a button of (add new row).
    So, can any one help me to fix this issue?

    Sorry, I found the solution:
    when I use the Adobe Reader 8.0.0 or Adobe Acrobat professional 8.0.0
    the stuff works normally, but in case of Adobe Reader 8.1.1 or Adobe Acrobat professional 8.1.1 this problem happens,
    Now I'll explain:
    1- I have a form with dropdown list.
    2- I want to populate this dropdown list from XSD file has structure similar to the following:
    =====================================================================
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="shipRequest">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="orders">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="order" maxOccurs="unbounded">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="shipVia">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="Ground"/>
    <xs:enumeration value="2 Day Air"/>
    <xs:enumeration value="Overnight"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    ====================================================================
    but with one main difference, that the element of shipVia has about 11000 of (<xs:enumeration ) elements.
    3- when I made the normal steps of make new connection to XSD file, it walked with me normally without any errors.
    4- incase I save this form as static pdf file, then open it with adobe professional, the menu is working smoothly and load the data inside perfectly.
    5- incase I sace this form as dynamic pdf file, if I try to open the dropdown list, it takes forever to load the data.
    very starnge that this problem happen with the newer version, so any idea for this??

  • Created a dynamic form (saved as dynamic pdf) have an email link (that works), when the email is rec

    I have a dynamic form that I created and I need to get it posted but am having some issues.
    1. I need the fields to be optional and it tells me that the information entered is not what was expected
    2. I have a button to click that will send the completed form to a department mailbox, but when the form arrives it is a .xml and only contains the newly entered information. What did I do wrong? I saved it as a dynamic pdf.
    3. Is there a way to send you my form so that we can talk about it together???
    I am on the verge of tears with frustration.....

    Here is the warning message I get.  This is from the Preview PDF mode.
    cid:[email protected]
    I fixed the email buttons like you directed thank you!
    When I tried to the do the file save as for the reader extended pdf, this is all I get:
    cid:[email protected]
    I have working on this since January along with many other projects (mostly presentations) and the department that this form is for is chomping at the bit because they need to track their training requests coming in and are working to shift the process of how you request training for the entire enterprise.  I am attaching the form so maybe you can take a peek at the damage I’ve done ☺  I think it would be helpful if I took a class, everything I’ve done I’ve taught myself with trial and tissues!
    Thank you so very much for your advice and help I truly appreciate it!
    Brenda Beebe-McWhirter, RN |Staff Development Instructor |WellMed Medical Management, Inc.
    Telephone: 210-561-6533 ext 6114  | Fax: 210-617-4091  |  http://www.wellmedmedicalgroup.com

  • Number of characters in a dynamic form/list/mysql table

    Hi all,
    I mentioned this in a previous post but wanted to give it a home of it's own.  I have a dynamic list, updated and edited by a dynamic form.  However, with one of the columns I can only fit about 50% / 4 lines of text in.  I am unsure whether the problem lies in the Form, when ebtering the text - or the List when displaying it.  (I presume it will not be connected to the Mysql table itself...?)
    When I enter the info into the Update Form, the text area accepts all the characters.  However, when I hit update and am returned to the list only about half show.  Also, if I then return to the form to update again - only about half are shown in the Update Form - the sentence is simply cut off about half way.  This leads me to believe that it is a problem with the Update Form rather than the List - but hey, if I had the answers I wouldn't be here.
    Jpg attached to try an explain my rabid ramblings...

    Hi Nathan,
    NJFuller wrote:
    When I enter the info into the Update Form, the text area accepts all the characters.  However, when I hit update and am returned to the list only about half show.  Also, if I then return to the form to update again - only about half are shown in the Update Form - the sentence is simply cut off about half way.  This leads me to believe that it is a problem with the Update Form rather than the List - but hey, if I had the answers I wouldn't be here.
    let´s make a bet, OK ? My bet is that the corressponding database column which stores the textarea value is "varchar" and has been set to accept a max. value of approx. 100 chars, correct ?
    Cheers,
    Günter

  • Tags in dynamic forms

    Has anybody create dynamic forms with tags?
    For me it is not possible to do this, only static forms can hold tags (Designer 8.o and 8.1 ES).
    So it is impossible to create accessible, dynamic PDF-Forms with Designer technology - is this the reality?
    regards
    Jan Hillmer

    Thanks Mike. I've been banging my head against the wall all day trying to figure out why my Livecycle Designer 8 forms aren't tagged. I couldn't find any info searching the Adobe site (I REALLY suck at google-like searches). Is there a known issues document that you can point us to that might have more info about current problems with tagging dynamic forms?

  • Dynamic Forms - Study Material

    Hi,
    We have to start working on dynamic forms. Currently I've started looking into the Help of Designer 7.0. But is there any good relevant study material for Creating dynamic forms.
    Thanks,
    -Jiya.

    There are a few tutorials and lessons that come with Designer Helps.
    You can go to Designer 'Help' menu and click on 'Getting Started'.
    You can also find the XML Form Object Model scripting guide from the link below. It provides detailed information about the different objects in each of those models, and their associated properties
    and methods.
    http://partners.adobe.com/public/developer/en/xml/Adobe_XML_Form_Object_Model_Reference.pd f
    Additional resources (tips and tricks...) can be found at http://partners.adobe.com/public/developer/livecycle/designer/devcenter.html
    Also, this user-to-user forum is also a very helpful source when it comes to issues or problems while you are designing your form.

  • Can we call a workflow form a JSP and/or form a Java Class?

    Is it possible to call a workflow form a JSP and/or form a Java Class?

    Below is some xpress code I wrote once, used to dynamically lauch workflows from within a workflow. Since it basically uses java classes, you reuse these in your java program or jsp:
    - create a new generic object
    - call the setId, put, ... methods on it
    - set the input variables for the workflow by putting them into the generic object
    - call the checkinView method on a LighthouseContext object which launches your workflow.
    If all you need is starting a workflow from a jsp, you might also want to take a look at the tasks/taskLaunch.jsp jsp. This is an out of the box jsp which allows launching of tasks. If I remember correctly you have to give an url parameter which specificies the name of task you want to start: tasks/taskLaunch.jsp?id=<workflow-name>
    - Robin
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE TaskDefinition PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <TaskDefinition name="MVG_TD_LaunchWorkflow" taskType="Workflow" executor="com.waveset.workflow.WorkflowExecutor" suspendable="true" syncControlAllowed="true" execMode="sync" execLimit="0" resultLimit="0" resultOption="delete" visibility="runschedule" progressInterval="0">
         <Extension>
              <WFProcess name="MVG_TD_LaunchWorkflow">
                   <Variable name="workflowName" input="true"/>
                   <Variable name="taskInstanceName" input="true"/>
                   <Variable name="inputs" input="true"/>
                   <Variable name="processView"/>
                   <Activity name="start">
                        <Transition to="createProcessView"/>
                   </Activity>
                   <Activity name="createProcessView">
                        <Action>
                             <block trace="true">
                                  <set name="processView">
                                       <new class="com.waveset.object.GenericObject"/>
                                  </set>
                                  <invoke name="setId">
                                       <ref>processView</ref>
                                       <s>ProcessViewer</s>
                                  </invoke>
                                  <invoke name="put">
                                       <ref>processView</ref>
                                       <s>task.process</s>
                                       <ref>workflowName</ref>
                                  </invoke>
                                  <invoke name="put">
                                       <ref>processView</ref>
                                       <s>task.taskName</s>
                                       <ref>taskInstanceName</ref>
                                  </invoke>
                                  <if>
                                       <notnull>
                                            <ref>inputs</ref>
                                       </notnull>
                                       <then>
                                            <invoke name="assimilate">
                                                 <ref>processView</ref>
                                                 <ref>inputs</ref>
                                            </invoke>
                                       </then>
                                  </if>          
                             </block>
                        </Action>
                        <Transition to="checkInProcessView"/>
                   </Activity>
                   <Activity name="checkInProcessView">
                        <Action>
                             <block trace="true">
                             <invoke name="checkinView">
                                  <invoke name="getLighthouseContext">
                                       <ref>WF_CONTEXT</ref>
                                  </invoke>
                                  <ref>processView</ref>
                                  <new class="java.util.HashMap"/>
                             </invoke>
                             </block>
                        </Action>
                        <Transition to="end"/>
                   </Activity>
                   <Activity name="end"/>
              </WFProcess>
         </Extension>
         <MemberObjectGroups>
              <ObjectRef type="ObjectGroup" id="#ID#Top" name="Top"/>
         </MemberObjectGroups>
    </TaskDefinition>

  • Interactive, dynamic forms -- "add item line" button

    Hi there,
    I try to come up with an interactive, dynamic form. Similar to the example "purchase order" found in the example folder of Adobe Designer.
    When opening my document, there should be one item line. Then, with a click on a button "add a item-line", a second line in the same format comes up. With a Delete-button in front of each added line, the user can delete them.
    How do I do that? The book I am currently reading explains all great things (how add sound to actions etc.) but this feature I do not find.
    From the above mentioned example I understand I have to group items (header line; single item line).
    But what is the actual command to replicate that item line ? I did not find any info about that.
    I am trying for hours now,,,,,,,,
    Thanks for your hints & happy Easter :-)
    DC

    Hi,
    I am having a similar problem ... I have created a dynamic form and utilize the very same button function to create a new line from the target subform. Problem is that the button when clicked in view pdf does not create the new line as one would expect.
    I have compared my form to the sample Purchase Order sample form ... everthing maps perfectly from my form logic to the sample with one exception. In my form when you click on the subform target and you look at the object tab: subform tab you can only select 'type' and 'flow direction' --- everything else is grayed out - in the sample these are 'live' selectable fields. Also on the binding tab for the subform object the 'repeat subform for each data item' is also grayed out.
    What am I doing wrong?
    Thanks,
    Jeff Schnabel

  • How we can generate dynamic menu in jsp page

    Hi all,
    how we can generate dynamic menu in jsp page.
    Thanks
    Manjinder

    by reading more about them on the web or in a good book, OR BY HIRING SOMEBODY TO DO SO. ;)

  • Dynamic Form ---- How to define mx:model or Param/value

    I have created a dynamic Form reading input type from
    external .xml file. Does anyone have advice concerning sending the
    form data to an external .jsp or .php file without knowing what
    your <mx:Model> will be? Whenever I try to write:
    <mx:Model>
    <root>
    <q1>data</q1>
    <q2>data</q2>
    </root>
    </mx:Model>
    I receive this error: 1120:Access of undefined property
    event. I am sure this is because the form elements are created
    using actionscript and not within mxml.
    I also tried sending it within actionscript using the
    send.data(param) like this, same error:
    var service:HTTPService = new HTTPService();
    //service.contentType = 'application/xml'
    service.resultFormat = 'e4x';
    //service.destination = 'DefaultHTTP';
    service.url = 'URL removed';
    service.method = "POST";
    service.addEventListener("result",handle_loginResult);
    service.addEventListener("fault",handle_loginfault);
    var o:Object = new Object();
    o.q1 = event.q1;
    o.q2 = event.q2;
    service.send(o);
    Example
    of the Application with elements rendered
    If you would like to see the complete code:

    What are you expecting "event" to refer to?
    Put an id on your Model tag, then you can use it to reference
    the data.
    Note, mx:Model builds a tree of dynamic objects. You will be
    happier in the long run if you use mx:XML instead.
    Tracy

  • Dynamic form processing in struts

    Hi all,
    I need your help regarding dynamic form elements form processing.
    Here is my JSP Script,
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
    <html:html>
    <HEAD>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
         pageEncoding="ISO-8859-1"%>
    <TITLE>Processing Dynamic Forms</TITLE>
    <script type="text/javascript">
    //function which adds new row
    function AddRow()
         tb=document.getElementById("demo");
         // attach counter
         lnrows = tb.rows.length;
         //alert(lnrows);
         newrow = tb.insertRow(lnrows);
         var fourth_col = "amt"+lnrows;
         cell3=newrow.insertCell(0);
         cell3.innerHTML="<center><input type='text' id='"+fourth_col+"' name='"+fourth_col+"' size='10'/></center>";
         document.getElementById("cntr").value = lnrows;
    // function to delete row
    function DeleteRow()
         tb=document.getElementById("demo");
         lnrows = tb.rows.length;
         //alert(lnrows);
         if(lnrows > 2)
              tb.deleteRow(lnrows-1);
              document.getElementById("cntr").value = tb.rows.length - 1;
    </script>
    </HEAD>
    <BODY>
    <html:form action="/dynaActions">
    <TABLE id='demo' align='center' width='80%' border='1'>
    <TR>
         <TH width='25%'>Party Name</TH>
    </TR>
    <TR>
         <TD align='center'><input type='text' id="party1" name="party1" size="30" /></TD>
    </TR>
    </TABLE>
    <TABLE align='center' width='80%' border='0'>
    <TR align="right">
    <td>
         <html:button property="Add" value="Add" onclick="AddRow();" ></html:button>
         <html:button property="Remove"  value="Remove" onclick="DeleteRow();"></html:button>
    </td>
    </TR>
    <TR align="center">
    <td>
         <input type='hidden' id="cntr" name="cntr" value="1" />
         <html:submit/>
    </td>
    </TR>
    </TABLE>
    </html:form>
    </BODY>
    </html:html> As you seen there is dynamically form elements generated as many as required. Now how do I process this with ActionForm & Action?
    Regards,
    Mahesh

    Hi rrhegde,
    Thanks for response.
    Ok, So instead of making it party1, party2, party3, party4, .............................
    if I make it party[1], party[2], party[3], party[4],.............................
    But then how do I process this array. Since the array length will not be fixed, it depends upon users.
    If possible pls provide me some example code on this.
    Thanks & Regards,
    bonzy

Maybe you are looking for

  • SAP table for finding Quant from the Handling unit

    Hi All, I would like to know the SAP table name - from the handling unit (where the stock received in the Warehouse), i would like to corresponding Quant ? PSS

  • My home button is not working correctly on my iPod Touch [4th Gen]

    I have an iPod Touch, and it's home button isn't working. It works but it does not respond at the moment. For example I press it and then 5 seconds later it goes to "Voice Control" which is activated by holding down the home button. Is it stuck? If i

  • HP Officejet Pro 8000 wireless and windows7 starter

    I just bought a mini notebook with windows 7 starter. Can I print to my HP Officejet Pro 8000 Wireless and where can I find the drivers?

  • Hard Drive Where?

    Hi Turned on my mac on Saturday and waited an extended period in the boot up to find a little icon of a question mark flashing on a folder. I assumed that this mean that my hard drive is lost somewhere. I inserted the restore CD's (not the originals

  • MacBook Pro Boot Camp Sound Audio Drivers Do Not Work with Miscrosoft Vista

    I installed Vista via Boot Camp on my new 15" i7 MacBook Pro. After full MS Vista patching and Apple Boot Camp driver installation, the sound/audio does not work. After some searching on the net, I've noticed that this is perhaps a widespread problem