How to do it  ............simple  ???

hi all,
i stuck in one problem that is i have a select box displaying the options of "departements" (where i have been populating them from data base).then i have a text box where user has to enter the file number value.
Then in the next text box values displayed should be of concatenation of departement selected and the file number entered .
EX:
select the departement:
<option>PHYSICS<option>
<option>CHEMISTRY</option>
enter the file number :100
the file name is : "PHYSICS100"
How to do it???

I'm assuming you're doing the programming of java code in your JSP ?
There are many solutions to your problem, but here's one of them:
<select name="department">
<option value="PHYSICS">PHYSICS</option>
<option value="CHEMISTRY">CHEMISTRY</option>
</select>
Enter the file number : <input type="text" name="fileNumber">
SOLUTION 1
String filename = request.getParameter("department")+request.getParameter("fileNumber");

Similar Messages

  • How to create a simple idoc in practice? can you provide an example?

    how to create a simple idoc in practice? can you provide an example with full source code?

    Try with the follwoing steps
    Sending System(Outbound ALE Process)
    Tcode SALE „³ for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ¡V Create Model View
    Tcode BD82 ¡V Generate partner Profiles & Create Ports
    Tcode BD64 ¡V Distribute the Model view
    This is Receiving system Settings
    Receiving System(Inbound ALE )
    Tcode SALE „³ for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ¡V Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 ¡V Idoc List for inbound status codes
    Message Type MATMAS
    Tcode BD10 ¡V Send Material Data
    Tcode WE05 ¡V Idoc List for watching any Errors
    1)a Goto Tcode SALE
    Click on Sending & Receiving Systems-->Select Logical Systems
    Here Define Logical Systems---> Click on Execute Button
    go for new entries
    1) System Name : ERP000
    Description : Sending System
    2) System Name : ERP800
    Description : Receiving System
    press Enter & Save
    it will ask Request
    if you want new request create new Request orpress continue for transfering the objects
    B) goto Tcode SALE
    Select Assign Client to Logical Systems-->Execute
    000--> Double click on this
    Give the following Information
    Client : ERP 000
    City :
    Logical System
    Currency
    Client role
    Save this Data
    Step 2) For RFC Creation
    Goto Tcode SM59-->Select R/3 Connects
    Click on Create Button
    RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
    give the information for required fields
    RFC Destination : ERP800
    Connection type: 3
    Description
    Target Host : ERP000
    System No:000
    lan : EN
    Client : 800
    User : Login User Name
    Password:
    save this & Test it & RemortLogin
    3)
    Goto Tcode BD64 -- click on Change mode button
    click on create moduleview
    short text : xxxxxxxxxxxxxx
    Technical Neme : MODEL_ALV
    save this & Press ok
    select your just created modelview Name :'MODEL_ALV'.
    goto add message type
    Model Name : MODEL_ALV
    sender : ERP000
    Receiver : ERP800
    Message type :MATMAS
    save & Press Enter
    4) Goto Tcode BD82
    Give Model View : MODEL_ALV
    Partner system : ERP800
    execute this by press F8 Button
    it will gives you sending system port No :A000000015(Like)
    5) Goto Tcode BD64
    seelct the modelview
    goto >edit>modelview-->distribute
    press ok & Press enter
    6)goto Tcode : BD10 for Material sending
    Material : mat_001
    Message Type : MATMAS
    Logical System : ERP800
    and Execute
    7)goto Tcode : BD11 for Material Receiving
    Material : mat_001
    Message Type : MATMAS
    and Execute --> 1 request idoc created for message type Matmas
    press enter
    Thanks & regards
    Sreenivas
    Here Master Idoc set for Messge type MATMAS-->press Enter
    1 Communication Idoc generated for Message Type
    this is your IDOC
    Take a look at this guide.
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/ale/configuration.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapdevelopment.co.uk/training
    http://www.sappro.com/downloads/OneClientDistribution.pdf
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    Create The Extension Segment
    Transaction: WE31
    The first step in extending an IDoc is to create the new segments that will go into that IDoc. There are some rules that you need to follow when creating the segments:
    - The name of each segment type must start with ‘Z1’
    - For each field in the segment you need to define a field name and a
    data element.
    - The data element for the segment structure must be of data type ‘CHAR’.
    How to create new segments:
    Run the segment maintenance transaction WE31.
    Type your new segment name, and click on Create.
    Define the fields of your segment:
    Field name
    Data Element for the field (from the ABAP dictionary).
    Do not change the Export length!
    Save the segment
    Run Segment -->Check to check the segment for consistency.
    Release the segment for transport. Select Edit -->Set Release. Note that the “Release’ column now has a check mark.
    Create the Extension IDoc Type
    Transaction: WE30
    After you create the segments to be added to the extension type, you can create the extension type itself. Execute transaction WE30, enter the extension name, select Extension type, and click Create. You now have three options:
    Create new type: Does not refer to other extension types
    Create copy: Copies info from an extension type that already exists
    Create successor: Extends an extension type from a previous release
    of R/3. You can only have one version of an extension type for
    each release.
    Enter the Basic IDoc type that this extension type will extend.
    The screen now shows the structure of the IDoc type you used as
    a reference.
    Position the cursor on one of the segments and click Create. This will insert an extension segment as a child of the selected segment.
    NOTE: A segment cannot appear more than once in an IDoc type! You must control the use of duplicate segments with the segment attributes (the next screen).
    The segment attribute screen appears. Enter the information and save.
    Extension segments should not be mandatory (for future upgrades), and will need to have minimum and maximum number of instances defined. This answers the question, “for each instance of the parent segment, how many instances of the child segment may we have?”
    You can press the Segment Editor pushbutton to view or change the segment definition.
    Create the new Message Type
    You can only use an extension IDoc type by assigning it to a message type. You can create a new message type for this.
    First the message type itself needs to be created.
    Transaction: WE81
    Create a new entry and save. Use SAP established customer naming conventions (good form is to start with a Z and retain the rest of the related SAP message type, so, for example, MATMAS becomes ZMATMAS).
    After creating the message type, associate it with the corresponding Basic IDoc Type and Extension Type. This relationship is used when IDocs are sent to or received from a partner to determine what segments are valid and what the hierarchy for those segments is.
    Transaction: WE82
    Create a new entry and enter the Message type, Basic IDoc type, Extension type, and Release, and save your data. Note: the release assignment is not valid for prior SAP releases.
    One message type can be associated with many basic IDoc types; however, you need a one-to-one relationship for distribution via ALE.
    regards,
    srinivas
    *reward for useful answers*</b>

  • How to record a simple sidebar video as in Adobe Presenter 7

    In Adobe Presenter 9, how to record a video with my webcam to put as a sidebar video for one slide ?
    In Presenter 7 we could do that easily.  Now with the new video editer we can make great videos and capture the screen.  But that's not what need...
    How to do a simple sidebar video without capturing the screen...
    Look at the point 4 on this website: http://help.adobe.com/en_US/Presenter/7.0/WS56318F3C-65A7-477b-8CAA-2CBF0902BA5B.html
    3-...Capture video...
    4-...then select... ...sidebar video to record video for the Presenter image area.
    It was easy in Presenter 7 !!!!!!!!!!!
    Thanks

    When you use the video recording feature in Presenter 8+, it does record a stand alone WMV of your webcam. While the workflow isn't as clean as before, it can be inserted back in just as a sidebar video, without the background screen capture. Here is how you can do it:
    Use the Presenter Video Creator to record your video. Disregard that your screen is being captured, you won't use it.
    After you record your video, Save your project. Don't publish it, as the published output is useless to you.
    Back in Presenter, choose to Insert Video.
    Browse to your webcam capture (My Documents > My Adobe Presenter Video Projects > {What ever you named the capture} > mt). Should be named something like presenter_video1.wmv
    Presenter will convert it to FLV, you can select the quality and location, slide or sidebar, as in previous versions of Presenter.
    If desired, you can use a 3rd part video conversion tool to convert the WMV video, but that may not be necessary.

  • How to test the simple .java file in cactus

    dear friends,
    i have use the junit first time .And i am working in weblogic8.1 so i have use cactus .But i face the problem to use it.
    1. how to test the simple .java file in cactus.
    2.how to run the cactus in weblogic 8.1.

    Hi,
    It is because the converter works on byte code and it only supports a subset of the Java language (see the JC specifications). It is kind of like compiling you code on Java 6 and trying to run it on Java 5. The JCDK outlines the required compiler version.
    Cheers,
    Shane

  • How i create a simple sequence in OWB (Example)

    Hi,
    i want create an simple sequence in OWB. But how i make a simple sequence in the oracle data Warehouse Builder.
    Until now i goes into expression Builder of the sequence.
    where already written is:
    *"SEQ_ACCOUNT".NEXTVAL*
    so my idea was to write behind this start with 1 increment by 1
    also looks it practically so
    *"SEQ_ACCOUNT".NEXTVAL start with 1 increment by 1*
    but this doesn´t work. But was is wrong?
    Can me give anyone an concrete example for a simple sequence or show how it must write that it will be correct.
    I look forward for your replies :)

    I have found the solution for this problem :) To create a seqeunce goes to sequences in project explorer ---> new sequences ---> give name and bla bla bla --> right click on to created sequence and choose confiugre. Here you can under sequence parameter configure things as Increment By and Start with But how goes it into expression builder of a sequence?

  • How to implement a simple node-edge graph?

    Can any one give me some advice on how to implement a simple node-edge graph in a frame? Every node is a rectangle which can be moved by mouse, and every edge is a arc between two nodes.
    Should the node class extend JPanel, and the edge class extend Graphics? and so on?

    It is impossible to generate similar update from OWB.
    Does your table1 contain primary key columns? What is the number of rows in this table?
    The only working solution in this case - use table1 twice in mapping - as source and as target (with UPDATE operation),
    link these operators with primary key columns and specify matching by PK columns.
    Updated column link to Constant operator attribute.
    In this case OWB generate SQL like
    merge table1 a
    using table1 b
    on (a.pk_column=b.pk_column)
    when matched then update set column1=1
    Regards,
    Oleg

  • How to run the simple jsp on oracle 9ias application server?

    hi,
    how to run the simple jsp application jst disply the date on oracle 9ias application server?
    can any expline the steps how to do it?
    thanks
    pullareddy

    No, you need the Reports Server (as part of the Application Server or Weblogic, depending on your version).
    I try to save the report, it's saved as .jspThat depends. You can save it as a .rdf file too (so called Paper Layout). I think this option is used more often.

  • JDialog Problem: How to make a simple "About" dialog box?

    Hi, anyone can try me out the problem, how to make a simple "About" dialog box? I try to click on the MenuBar item, then request it display a JDialog, how? Following is my example code, what wrong code inside?
    ** Main.java**
    ============================
    publc class Main extends JFrame{
    public Main() {
              super();
              setJMenuBar();
              initialize();
    public void setJMenuBar()
         JMenuBar menubar = new JMenuBar();
            setJMenuBar(menubar);
            JMenu menu1 = new JMenu("File");      
            JMenuItem item = new JMenuItem("About");      
            item.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent ae) {
                  // About about = new About(this);
               // about.show();
            menu1.add(item);
         menubar.add(menu1);
    public static void main(String args[]){
         Main main = new Main();
    }** About.java**
    =============================
    import java.awt.*;
    import javax.swing.*;
    public class About extends JDialog{
         JPanel jp_top, jp_center, jp_bottom;
         public About(JFrame owner){
              super(owner);
              setDefaultCloseOperation( DISPOSE_ON_CLOSE );
              Image img = Toolkit.getDefaultToolkit().getImage(DateChooser.class.getResource("Duke.gif"));          
              setIconImage( img );
              setSize(500,800);
              Container contentPane = getContentPane();
             contentPane.setLayout(new BorderLayout());           
             contentPane.add(getTop(), BorderLayout.NORTH);
              contentPane.add(getCenter(), BorderLayout.CENTER);
              contentPane.add(getBottom(), BorderLayout.SOUTH);
              setResizable(false);
               pack();            
               setVisible(true);
         public JPanel getTop(){
              jp_top = new JPanel();
              return jp_top;
         public JPanel getCenter(){
              jp_center = new JPanel();
              return jp_center;
         public JPanel getBottom(){
              jp_bottom = new JPanel();
              jp_bottom.setLayout(new BoxLayout(jp_bottom, BoxLayout.X_AXIS));
              JButton jb = new JButton("OK");
              jp_bottom.add(jb);
              return jp_bottom;
    }

    Code looks reasonable except
    a) the code in the actionPerformed is commment out
    b) the owner of the dialog should be the frame
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)",
    see http://homepage1.nifty.com/algafield/sscce.html,
    that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.

  • How to make a simple Quiz?

    Could anyone help me with some hints and maybe sample code (or tutorial :)) how to make a simple quiz, with multiple
    answers choices, and a score function.
    //D

    You could for example do it like this:
    import java.io.*;
    class Quiz
    public static void main (String [] args)
    BufferedReader in = new BufferedReader (new InputStreamReader(System.in));
    System.out.println("SUPERQUIZ");
    System.out.println("How many legs does a horse have?");
    System.out.println();
    System.out.println("1");
    System.out.println("2");
    System.out.println("3");
    System.out.println("4");
    int answer = Integer.parseInt(in.readLine());
    if (answer == 4)
    System.out.println("The answer is correct");
    else
    System.out.println("The answer is incorrect");
    This is just a basic program, hope you understand it (hopefully it works).
    �sbj�rn

  • How to build a simple Editor with GEF 4 MVC

    Hallo,
    I have Experience with GEF 3.x graphical editors, and I would like to make experiments with GEF4 MVC in an Eclipse E4 Application.
    Below there is a schema representing the basic architecture of a GEF 3.x MVC Editor :
    The base Ideas in GEF 3.x are :
    - There is an Editor class containing a Graphical Viewer.
    - There are a Root Edit Part and an Edit Part Factory to initialize the Controllers (EditParts)
    - There are Views (Figures) and Models (POJO), independent each other, and controlled by the Controllers.
    The GEF4 MVC Technology is quite powerful - because one can build Standalone, Eclipse RCP and Web applications.
    Anyway it is not perfectly clear to me - yet , how to implement a Simple GEF4 Editor on E4 Application.
    So, this is what I understood :
    - No more Draw2D in GEF4 - it uses JavaFx Scene and Parent
    - In a Scene graph we can put SWTControls (heavyweight) and Figures (lightweight)
    - a Canvas (heaviweight) will contain the JavaFX Figures and also possibly a CanvasFigure (lightweight)
    So, if I build an Eclipse E4 application with one ViewPart containing a GEF 4 Editor, I suppose the setup of my application will be as follows:
    1. Create An Eclipse E4 Application with JavaFx support
    2. Add a ViewPart that contains a Canvas
    3. Use GEF4 MVC to Create / Edit my MVC tree.
    At this point, it is not very clear to me how to implement the real MVC Architecture in GEF 4.
    I expect GEF4 MVC will work in some way like the GEF 3.x - as visible in the top image - but I'm not clear on that.
    Therefore, these are questions:
    - Is the GEF 4 MVC architecture somewhat equivalent to the GEF 3.x one ?
    - Where I can find details on the MVC implementation of GEF 4 ?
    - Is there any component to provide - out of the box - a Flyout Palette, like it is available in GEF 3.x ?
    Thank you for providing this very powerful library and for spending time on this post.
    By the way, I'm available to contribute the project.
    Kind Regards.
    Patrik

    [quote title=Patrik Suzzi wrote on Tue, 14 July 2015 04:07]Hallo,
    Therefore, these are questions:
    - Is the GEF 4 MVC architecture somewhat equivalent to the GEF 3.x one ?
    - Where I can find details on the MVC implementation of GEF 4 ?
    It is quite comparable in general but has some significant differences in detail. The best entry points for learning about GEF4 MVC is the reference documentation at https://wiki.eclipse.org/GEF/GEF4/MVC. It also provides some information about differences between GEF (MVC) 3.x and GEF4 MVC (last section about migration). The slides provided at http://de.slideshare.net/AlexanderNyssen/gef4-our-mission-to-mars explain some of the concepts (unfortunately the interesting slides concerning MVC seem to have been messed up when uploading the slides; I will try to update them).
    - Is there any component to provide - out of the box - a Flyout Palette, like it is available in GEF 3.x ?
    No, not yet. I was thinking to integrate it into one of our examples after the Mars SR1 release.

  • Need help on how to create the simple mapping using ORACLE DATA INTEGRATOR

    Hi guys,
    am new to learn odi.. please share me or steps how to develop the simple mapping using ODI...

    Hi,
    I am a newbie to Oracle Data Integrator as well. You should have a look here first; http://www.business-intelligence-quotient.com/?p=379
    Try to play around with ODI and then come back if you have specific questions. You should better move to this ODI-forum; Data Integrator
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

  • How To Build a Simple UIX Search Form

    Hi
    I am starting with ADF BC
    "I tried to run "How To Build a Simple UIX Search Form" sample but the error
    "query not found on action:/dataPage1" Could any one tell me where the problem is?

    I got the error when I press Query submit button, the application is running from page.uix as the sample

  • How do you draw simple shapes

    how do you dear simple shapes

    See After Effects Help: "Creating shapes and masks".
    Start here to learn After Effects: http://adobe.ly/bjBT3P

  • How to execute a simple JSP application in Oracle 9iAs WE?

    Hi,
    How to execute a simple JSP application in Oracle 9iAs WE?
    Thanks
    Anupama

    Please "Preview" your future posts. Your formatting is awful. Especially learn to use the [ code ] tags.
    Are you sure DateTime.Now.ToString() returns a string in the format of 'MM/DD/YYYY HH:MI:SS.FF3'?
    Fix that and if you still having the problems, debug the actual result of your string.Format() and post that.

  • How can i connect simple dc motor to labview

    any one who help me how can i connect simple dc motor to labview and speed control of that

    Hi,
    There is a selection guide for motors on our website which can be found here: http://zone.ni.com/devzone/cda/tut/p/id/12594
    There is also software specifically for LabVIEW to control motors.  You can find it here: http://sine.ni.com/nips/cds/view/p/lang/en/nid/13851
    Regards,
    Greg H.
    Applications Engineer
    National Instruments

  • How can i send simple message from PC-to-another device

    How can i send simple message from PC-to-another device
    just simple message (like command String) not SMS or Data File.
    I have a computer with bluetooth and the oter side is Embeded Blue
    Thanks.

    http://www.oracle.com/technology/products/integration/bam/10.1.3/TechNotes/TechNote_BAM_AQ_Configuration.pdf
    This document details how to create triggers on a table that send out JMS messages.
    In this example, the messages are going to Oracle BAM.. your message could go to your J2EE application listening to its own topic/queue.
    an alternative idea.
    you could also just cache your lookup table with something like Oracle Coherence and than try to ensure that all changes to the lookup go through Coherence, so that you won't need to do notification from the db up to the application. the application and the lookup data management tool would be using the data grid for management of the lookup table data, and the data grid (coherence) would persist the lookup data changes back to the db.

Maybe you are looking for

  • Is there a special way to install CC? I haven't been able to install anything.

    I've been trying to install anything in the CC. First I started trying to install the CC application manager. It has an error early on but the sequence continues. Finally it displays that it failed to install. What am I doing wrong? I'm frustrated.

  • ABAP Refactoring Assistant not available

    Dear all, We could not able to find the ABAP Refactoring Assistant in the Main Menu/Context menu in our ABAP editor (SE80/SE38). We are having the same in SE24 (Class builder). We are in SAP ECC 6.0 EHP 7 SP02, Kernel Release 740. Can anyone help me

  • When placing call can not hear ringer in earpeice

    When placing phone call,can not hear phone ringing in earpeice,speakerphone works ok when turned on ,then turning off speaker phone phone works ok

  • ITunes won't quit, and I can't reboot

    I tried accessing the iTunes Store, and it froze in the process. I tried quitting iTunes, but that didn't work. Then I tried to reboot, but got a message saying that iTunes couldn't be closed so I would have to do that before rebooting. Switching fro

  • How do I remove the superscript number from the Mail icon on the Dock?

    I have unsuccessfully  searched all folders and topics on the left side of the Mail page to find one supposed incoming email, as the Mail icon indicates with a numeral One on the Mail Icon in the dock to no avail.  How can I either find this unread e