How to design this application with Struts?

I want to disign an application like this:
Input the students data to the database(or xml)
e.g:student_id,student_name,subject_id,subject_name,achievement...
If i submit one record each time, it's easy to do it.
use the tag of Struts as:
<html:form ...>
<html:text property="student_id"/>
<html:text property="student_name"/>
<html:text property="achievement"/>
</html:form>
And then create an ActionForm which attributes are correspondint to these input fields and create the Getters and Setters.
But,if i want to input multi-record(e.g:10 records each time), how can i design the input page and how can i design the ActionForm?
Frustrating...

You could use struts indexed properties.
http://struts.apache.org/faqs/indexedprops.html
It is quite fiddly, but it does work.

Similar Messages

  • How to Deploy J2ME applications with data in RMS?

    Hello everyone,
    I am designing a J2ME application, a simple "Who wants to be a millionaire game". It stores questions and answers from a rms datastore. I want to to how can I deploy this application with questions and answers in the recordstore. Each time I run the emulator, the data stored previously gets deleted. Is it possible to attach the rms recordstore along with the .jar or .jad files? If so how can I do it. Please help.
    Thank you all in advance.

    Thank you Sypress.. When I install it the code works fine. But I wanted to include data with the application. I think I found a way way. I added the data in a text file and while starting the application I inserted data from the file into the recordstore.

  • How to start a application with a login window?

    hi there
    does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.

    You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
    <code>
    // set up thread for login window
    new Thread(new Runnable() {
    public void run() {
    // construct your login window here
    // when you are done processing the
    // password....
    if(goodPassword) {
    authorized = true; // a global variable
    notifyAll(); // don't forget this
    else {
    System.exit(42);
    }).start();
    // control does not stop this code gets executed while
    // the above thread is running.
    // Set up main program here. This is done in the
    // backround.
    while(!authorized) {
    synchronized(this)
    { wait(50); }
    // now when the user logs in this frame pops
    // up real quick.
    myFrame.setVisible(true);
    </code>
    Hope you can figure it out.. good luck :)

  • "You cannot use this application with this version of OS X"

    Hi,
    I'm getting this message when I try to open .AVI files that I uploaded from my digital camera, but I'm posting it here instead of in the Quicktime section because I believe that the cause of the problem is more general. When researching this problem, I looked at the info panel for these .AVI files, and the app listed to open them was "Quicktime Player (default) (7.1.3)". But the actual version of Quicktime that I have installed is version 7.4. If I set the file's "Open With" app to be "Quicktime 7.4", it opens fine, but the "Open With" app reverts back to "Quicktime Player (default) (7.1.3)", making the problem come back. I've also noticed that if I right-click on other apps (a PDF file, for example), and choose "Open With" from the popup menu, that I see other versions of apps that no longer exist on my machine (Safari 2.0.4, for example). I think that files associated with these older app versions may be the cause of many of the "You cannot use this application with this version of OS X" issues that have been reported here. My question is where is this list of "installed" products maintained in OS X, and is there a way that I can edit it to remove those product versions that no longer exist on my system. In my particular instance, I'd like to remove "Quicktime 7.1.3" which should allow me to set the associated app for my .AVI files to be Quicktime 7.4 with no possibility of the association reverting to an earlier version that's not only incompatible with Leopard, but also not installed on my system.
    Thanks,
    Ken

    When you associate a file with an application, are you then clicking the "Change All" button? You can rebuild the LaunchServices database. Evidently the location of the command and the database have changed slightly in Leopard from what they were in Tiger. See this thread for the updated instructions:
    http://discussions.apple.com/thread.jspa?messageID=5730491
    Also, make sure you don't have the old applications archived somewhere. I've been astonished in the past at just how enterprising the system can be in finding some program squirreled away in an obscure backup folder and listing it as an option to open something.
    Francine
    Francine
    Schwieder

  • How to design a form with multiple lang(Arabic and Eng) in a page

    Hi All,
    Could you pls help me how to design a form with multiple languages. when I set the form proprties-->Form Locale as Arabic. English text is comming in reverse and when set the FormLocale as English, Arabic text is comming in revese.
    Pls help me how to design
    Thanks in advance.
    Regards,
    Jayakar

    I am not sure how you can have two different languages inside the same PDF.
    Alternatively, if you want to place only the static labels, you can convert all the static label in one language to images and set the form language setting to other. And place the images inside the form using Image field. For example, you can keep the form language as English and then convert all the arabic language labels/ Static text to images.
    Anotherway,
         Have same sections in both the languages and hide and unhide based on the user selection of the language..
         if your user chooses Arabic, then you can unhide the Arabic sections and change the form language properties programmatically..
    Thanks
    Srini

  • How to design a form with multiple lang(Arabic and Eng) in a pge

    Hi All,
    Could you pls help me how to design a form with multiple languages. when I set the form proprties-->Form Locale as Arabic. English text is comming in reverse and when set the FormLocale as English, Arabic text is comming in revese.
    Pls help me how to design
    Thanks in advance.
    Regards,
    Jayakar

    I am not sure how you can have two different languages inside the same PDF.
    Alternatively, if you want to place only the static labels, you can convert all the static label in one language to images and set the form language setting to other. And place the images inside the form using Image field. For example, you can keep the form language as English and then convert all the arabic language labels/ Static text to images.
    Anotherway,
         Have same sections in both the languages and hide and unhide based on the user selection of the language..
         if your user chooses Arabic, then you can unhide the Arabic sections and change the form language properties programmatically..
    Thanks
    Srini

  • How to download the application with my apple ID

    how to download the application with my apple ID

    What have you tried or are you asking how to do it from scratch?
    https://itunes.apple.com/us/app/apple-store/id375380948?mt=8

  • How to deploy cairngorm application with FTP support?

    Hi,
    I have a cairngorm application, it works fine in my local
    computer.
    But I need to upload it to a website in my web hosting
    company with FTP,
    but it doesn't work in the hosting server because I can not
    add the cairngorm.swc file to the application.
    Please give me a idea how to deploy the application with ftp
    software.
    Thanks a lot
    Mark

    Any opinions are welcome

  • How to make this work with Firefox, HELP!

    Downloading for Real-player, after watching the full movie, I click download and it has to reread the movie from the internet. When using explorer, after downloading the movie, it reads it from memory, which makes it a fast download. How to make this work with Firefox, I like not to use Microsoft products, and I really like Firefox 7.0.1!!!! HELP!

    -> click '''Firefox''' button and click '''Options''' (OR File Menu -> Options)
    * Advanced panel -> Network tab
    * place Checkmark on '''Override Automatic Cache Management''' -> under '''Limit Cache''' specify a large size of space
    * Remove Checkmark from '''Tell me when websites asks to store data for offline use'''
    * click OK on Options window
    * Restart Firefox
    Check and tell if ts working.

  • Anyone know how to gernerate CRUD applications with flex and coldfusion?

    Anyone know how to gernerate CRUD applications with flex and
    coldfusion? I am working with a remote coldsfusion installation
    with MS SQL and I don't have RDS.

    You might investigate "squidhead". It is CF based. I'm not
    sure if it has any Flex related features.
    http://squidhead.riaforge.org/

  • How to set this filters with 'or' relationship

    Hi Pros,
          I have a query as follows, rows and columns are all in structures.
                                                       regular_employees
                 active_employees
                 lay_off_employees
         I want to set up filter as ' employ_status = 0 or employ_subgroup =2' for this query, please tell me how to set this filters with 'or' relationship.

    Hi Yifei,
    Create a formula and enter this (let's name this FORMULA_KF):
    ((EMPLOY_STATUS = 0) OR (EMPLOY_SUBGROUP = 2)) * enter value IF_TRUE + enter value IF_FALSE
    Then create the condition to HIDE the rows having those values to be filtered (if this is your purpose)..
    Like,
    FORMULA_KF <> 1
    Is this what you want mate?
    Regards,
    Loed

  • Tried my k3772-z modem to connect macbook air to internet and got the message: you can't use this application with this version of mac os x. Is there a setting that needs to be changed?

    Tried my k3772-z modem to connect macbook air to internet and got the message: you can't use this application with this version of mac os x. Is there a setting that needs to be changed?

    I can't help you with a direct answer.  For third-party devices you should contact the vendor (Vodafone). 
    If you have an iPhone (or an Android phone with hot-spot capability) you can use that to connect to the Internet without paying for a separate cellular service.

  • How to integrate android application with oracle database using oracle mobile database server.

    Hi,
    I developed one web application using oracle database. I want to implement same web application in android. My problem is how to integrate android application with existing oracle database using oracle database mobile server. Can u please guide me how to install oracle database mobile server and how to integrate android app with existing oracle database..
    Thank you.

    In the Database Mobile Doc set there is an entire book that covers the Installation of Oracle Database Mobile Server.   Chap 4 of that book contains screen shots and all kinds of information that will help guide you through the installation.   We also have a doc on the different mobile clients.  Chap 2 of that guide covers installs and integration of an android app. 
    thanks
    mike

  • How to design a GP with webdynpro application? Kindly help!

    Hi Experts,
            I have a requirement to design guided procedure for stock reconciliation.
            The starting page for this is a webdynpro(ABAP) report. This report has a table with 4 columns namely, Material_Num, Customer_stock, Org_Stock, Delta.
    Material_Num | Customer_stock I Org_Stock I Delta |
    TRN001          | 100                   | 65             | 35     |
    TRN002          | 200                   | 160            | 40    |
    User will select any row and then can click on 'Reconcile' button below.
    On clicking the 'Reconcile' button it should open a HTML page with details on selected data for reconciliation based on the selected row. This page should have a 'Send for approval' button.
    On clicking 'Send for approval' button, it should open another page for selecting the manager from a list. User can select the right manager and press 'Send' button.
    Once 'send' button is clicked, a status HTML page should open showing status of managerial approval.
    The manager should receive a worklist entry in the portal universal work list. He should be able to approve it.
    The GP flow is like this:
    Stock Report -
    > Send for approval   -
    > Select Manager -
    > Status.
    Can somebody guide me with steps to follow to design this in GP?
    How to pass selected row data from the webdynpro report to the 'Send for approval' page?
    Thanks
    Gopal
    Message was edited by:
            gopalkrishna baliga

    Hi Gopal,
    I would rather recommend you to use Java Web Dypro to have all the advantages of a better integration (parameters mapping, eventing on completion, etc.). You can use ABAP Web Dynpro Application but this is, from a GP Perspective, strictly limited to open the Application. Nothing else happens.
    To reach a better integration in ABAP, you might use the BSP Callable Object.
    Best regards,
    David

  • How to design Java application?

    What are the general guidelines and best practices to keep in mind while designing Java application?
    Hi
    I recently completed Java programming tutorial from Sun and practised core java (I have previous programming experience). Now I understand the basics of Inheritance, Abstraction , Polymorphism,Encapsulation
    Now i am writing Java code without much difficulty, but am not sure of application design. This is my main problem: "DESIGNING" the application. Say if i have given a task to create an application in Java, What should I start up with? How to think about? Any formal/informal guidelines I should follow while developing class hierarchies? I am really confused (abstract class or interface or sub class..?). Should I start by model everything, before writing code?
    It would be very useful for people like me to have a SET OF GENERAL GUIDELINES/BEST PRACTICES, which we can follow while start developing a new java application.
    Please provide me some guidelines/thoughts/books/resources/tools I should read or Use
    Thanks in advance
    Scott

    Not necessarily. While some programmers may be Software Engineers others may not have the knowledge base of someone who has read at least one SE book. An practical example is outsourcing. Typically, the code writing (programming) bit is outsourced with the requirements gathering (an SE task), cost management (project mgmt. or SE task), time management (PM or SE), etc. kept locally.
    Look, I'm not going to reply further because this is going to run on and on and on. To put it into my local patois, "Alz I'm gonna tell youse is ta read da software engineering book, okay?"*
    *Where's Kel when youse need 'em?  Yo! Kel!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • ITunes no longer recognizes my burner after upgrade to VIsta!!

    I honestly don't get what's going on: I recently updated my OS to Vista ultimate x64 and now iTunes decides it doesn't want to recognize my DVD-RW drive. iTunes says that there's no recognizable burning device present. But here's where it gets weird:

  • How to add network information for failover zones with logical hostname?

    Hello! As stated in [http://docs.sun.com/app/docs/doc/819-3069/ds_template-21?a=view] I must not configure network addresses for a zone when I manage these with a logical hostname: If you require the SUNW.LogicalHostName resource type to manage all t

  • PPPoE not working in 10.6

    hi guys. i have a problem with pppoe and 10.6. i installed 10.6 on my unibody macbook and now my network stopped working. i have a pppoe connection. i click to connect, it shows me that the connection was succesfully done, but when i open safari, i c

  • Receiving bill via email

    I cannot find in the Verizon UI where to set up emailed bills.  I am not receiving these currently nor am I receiving paper bills. Can anyone tell me where to set this up in the user interface at Verizon? TIA JG

  • Use of events

    Hi BWers, In what case we use events and how can we create events. -Sekhar