Some info about simulating different events in java or jsp...

I work as a developer and I and some collegues of mine have been thrown in to a web portal project based on Struts/Spring framework.
Since a long gone external consult made most of the initilal work in the project and we are kind of newbis to web-development many questions have been arised so I hope my questions isn't to strange.
We are using something called Struts Bridge which uses a RenderAction when rendering the jsp and a ProcessAction for all submits from the jsp...
Due to the fact that the whole Portal with all menues are configured in a xml-file also means that the startpage is some kind of hardcoded and thats what we want to change. By having a Welcome page without any buttons we want to depending on type of order automatically redirekt to the right jsp-page.
To do this we tried to, in the execute-method, directly forward to the right jsp-page in the RenderAction but this doesn't work...
Then we tried to simulate a menuitem-click in the ProcessAction(which work if an submit is done) but since we dont know how to simulate an submit in the Welcome jsp-page the ProcessAction is never called... so we are totally stucked...
Can anyone explain what kind of events is possible use in the jsp and java files ?
Maby I'm totally out of scope here but please enlighten me...

I understand that its difficult to answer this kind of question whithout any code, was more looking for a general suggestion about how others have solved this kind of problem...
Anyway... if I put a button on the jsp page and click it manually everything works fine but we need to know how to simulate the buttonclick "by code".
It seem like all events in this kind of web development must be trigged by actually doing a submit on a jsp-page but there must be more ways to "by code" generate an event or am I wrong?

Similar Messages

  • Looking for infos about error code in Sun Java Directory Server 6.3.1.1.1

    Hi,
    I'm using Sun-Java(tm)-System-Directory/6.3.1.1.1 on Solaris 9 with two server configured in multi-master replication
    For a few time I receive those warning in the error logfile :
    [14/May/2012:06:18:40 +0200] - WARNING<5384> - Entry - conn=-1 op=-1 msgId=-1 - Entry error Convert LDIF entry into LDAP entry, fast method. Error: non-contiguous deleted attribute type for "myPasswordRetryCount"in entry dn="uid=nabcdycn, ou=People, dc=example,dc=com"
    [14/May/2012:06:18:40 +0200] - WARNING<5384> - Entry - conn=-1 op=-1 msgId=-1 - Entry error Convert LDIF entry into LDAP entry, fast method. Error: non-contiguous deleted attribute type for "myPasswordRetryCount"in entry dn="uid=nabcdycn, ou=People, dc=example,dc=com"
    [14/May/2012:06:19:11 +0200] - WARNING<5384> - Entry - conn=-1 op=-1 msgId=-1 - Entry error Convert LDIF entry into LDAP entry, fast method. Error: non-contiguous deleted attribute type for "myPasswordRetryCount"in entry dn="uid=nefghzer, ou=People, dc=example,dc=com"
    [14/May/2012:06:19:11 +0200] - WARNING<5384> - Entry - conn=-1 op=-1 msgId=-1 - Entry error Convert LDIF entry into LDAP entry, fast method. Error: non-contiguous deleted attribute type for "myPasswordRetryCount"in entry dn="uid=nefghzer, ou=People, dc=example,dc=com"
    [14/May/2012:06:20:44 +0200] - WARNING<5384> - Entry - conn=-1 op=-1 msgId=-1 - Entry error Convert LDIF entry into LDAP entry, fast method. Error: non-contiguous deleted attribute type for "myPasswordRetryCount"in entry dn="uid=nijklkkh, ou=People, dc=example,dc=com"
    [14/May/2012:06:20:44 +0200] - WARNING<5384> - Entry - conn=-1 op=-1 msgId=-1 - Entry error Convert LDIF entry into LDAP entry, fast method. Error: non-contiguous deleted attribute type for "myPasswordRetryCount"in entry dn="uid=nijklkkh, ou=People, dc=example,dc=com"
    and I would like to know what's going up and what I should do, so in case somebody have some infos about it, I would be very interrested.
    I'm trying to find a way of veryfing fragmentation of the backend, but not sure about this.
    TIA

    Looks like the attribute sunIdentityServerDiscoEntries is defined twice in the schema. Run the following and see where it is defined for the second time.
    # cd /var/opt/SUNWdsee/dsins1/config/schema
    # grep -w sunIdentityServerDiscoEntries *.ldif | grep -iv objectclasses
    Edited by: etst123 on Mar 3, 2009 1:28 PM

  • Need some info about current market on SAP HANA

    Hello all,
    Iam ajay. I have 2 years experience on java and i learned SAP ABAP and want to learn SAP HANA. I I have some doubts regarding current market on SAP HANA and how people are using HANA now. I have searched a lot in google and contacted many people but i didn't get the good answer. I hope this post provide me the required info. Thanks in advance.
    Can somebody please give some info. about the following.
    What exactly does the following mean and what is the future of these areas?
    BWI with HANA
    BODS with HANA
    HANA modelling and implementation.
    HANA Migrations.
    SAP UI5 with HANA.
    please spare some of your valuable time and help me on this.
    Thanks,
    Ajay.

    Hi
    I agree its a common HD webcam with a resolution of 1Mpix.
    You can record the video in Mpeg format and the pictures would be taken in format: 160x120, 176x144, 320x240, 352x288, 640x480, 1280x720, 1280x800

  • Some info about database updation automatically based on date..

    HI..Data base experts  Can u give some suggestions...
    some info about the system table date and system form...

    Hi
    Nagaraj
    Small Task...
    in hr table i shown in the image..
    active employee is there..
    in administration staring date is there...
    if any body will give date and then check box is true =y will be stored in the db..
    to day date  05 01 12
    if i give date  10 01 13 in staring date  if i press add button
    in check box column will be saved =Y and date will be saved in  10 01 13 not today date bcz i given 100113
    ok
    so.
    days are running                        db valueat comobo box           db value at date(i given)
    today date  =  05 01 13                          Y                              10 01 13 
    tomarrow  =    06 01 13                          Y                             
    day after to = 07 01 13                          Y
                         08 01 13                          Y
                         09 01 13                          Y
                        10 01 13                            N                              10 01 13 
    in sap particular table date is storing...
    so ..if the date what i had given(100113) will be matches to the system date
    if           check box value entered(i had)    Yes
    this will become 'N'
    automatically
    not manually...................          
    Is it possible..........

  • I would like to get certified for the SAP Crystal Reports. So, I would like to get some info about the currently available Certification Exams for Crystal Reports (2011/2013). Also, would greatly appreciate  if you have any suggestions for thi

    Hi,
            I would like to get certified for the SAP Crystal Reports. So, I would like to get some info about the currently available Certification Exams for Crystal Reports (2011/2013). Also, would greatly appreciate  if you have any suggestions for this Certification Exam preparation materials from another 3rd party or from SAP directly .  I would like to prepare or get trained well before taking the exam as I see it costs around $500.
    Thanks in advance for your help in this regard!
    Sincerely,
    J

    Please search here.. Training and Certification Shop for your desired certification or training. Don't forget to set your location.
    Please use some summarized title for your query.

  • Pls give some info about userexit

    hi everyone,
    i never did work on userexit before. Could you give some info about how to create userexit and some knowledge related to that. Any suggestion is appreciated.
    Best Regards,
    Julian

    User exits (Function module exits) are exits developed by SAP.
    The exit is implementerd as a call to a functionmodule.
    The code for the function module is writeen by the developer.
    You are not writing the code directly in the function module, but in the include that is implemented in the function module.
    The naming standard of function modules for functionmodule exits is:
    EXIT_<program name><3 digit suffix>
    The call to a functionmodule exit is implemented as:
    CALL CUSTOMER.-FUNCTION <3 digit suffix>
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    CUSTOMER EXITS-> t-code CMOD.
    As of Release 4.6A SAP provides a new enhancement technique, the Business Add-Ins.
    Among others, this enhancement technique has the advantage of
    being based on a multi-level system landscape (SAP, country versions, IS solutions, partner,
    customer, and so on)
    instead of a two-level landscape (SAP, customer) as with the customer exits.
    You can create definitions and implementations of business add-ins at any level of the system landscape.
    You can use below code to find out user exits associated with particular transaction.
    *& Report  ZUSEREXIT                                                   *
    *& Finding the user-exits of a SAP transaction code                    *
    *& Enter the transaction code in which you are looking for the         *
    *& user-exit and it will list you the list of user-exits in the        *
    *& transaction code. Also a drill down is possible which will help you *
    *& to branch to SMOD.                                                  *
    REPORT zuserexit NO STANDARD PAGE HEADING.
    TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    TABLES : tstct.
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
    IF sy-subrc EQ 0.
      SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
                       AND object = 'PROG'
                       AND obj_name = tstc-pgmna.
      MOVE : tadir-devclass TO v_devclass.
      IF sy-subrc NE 0.
        SELECT SINGLE * FROM trdir WHERE name = tstc-pgmna.
        IF trdir-subc EQ 'F'.
          SELECT SINGLE * FROM tfdir WHERE pname = tstc-pgmna.
          SELECT SINGLE * FROM enlfdir WHERE funcname = tfdir-funcname.
          SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR'
                                      AND object = 'FUGR'
                                    AND obj_name EQ enlfdir-area.
          MOVE : tadir-devclass TO v_devclass.
        ENDIF.
      ENDIF.
      SELECT * FROM tadir INTO TABLE jtab
                    WHERE pgmid = 'R3TR'
                     AND object = 'SMOD'
                   AND devclass = v_devclass.
      SELECT SINGLE * FROM tstct WHERE sprsl EQ sy-langu
                                  AND  tcode EQ p_tcode.
      FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
      WRITE:/(19) 'Transaction Code - ',
           20(20) p_tcode,
           45(50) tstct-ttext.
      SKIP.
      IF NOT jtab[] IS INITIAL.
        WRITE:/(95) sy-uline.
        FORMAT COLOR COL_HEADING INTENSIFIED ON.
        WRITE:/1 sy-vline,
               2 'Exit Name',
              21 sy-vline ,
              22 'Description',
              95 sy-vline.
        WRITE:/(95) sy-uline.
        LOOP AT jtab.
          SELECT SINGLE * FROM modsapt
                 WHERE sprsl = sy-langu AND
                        name = jtab-obj_name.
          FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
          WRITE:/1 sy-vline,
                 2 jtab-obj_name HOTSPOT ON,
                21 sy-vline ,
                22 modsapt-modtext,
                95 sy-vline.
        ENDLOOP.
        WRITE:/(95) sy-uline.
        DESCRIBE TABLE jtab.
        SKIP.
        FORMAT COLOR COL_TOTAL INTENSIFIED ON.
        WRITE:/ 'No of Exits:' , sy-tfill.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'No User Exit exists'.
      ENDIF.
    ELSE.
      FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
      WRITE:/(95) 'Transaction Code Does Not Exist'.
    ENDIF.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST   SCREEN.
    *---End of Program.
    I hope it gives some basic idea.
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Sharing some info about Export dumps

    Just to share some info about exports happenig in our system
    I have a 20GB Database but the dump size is 10GB it keeps growing..the data too grows but the dump has also getting increased significantly...
    Has anyone seen encountered soemthing like this...
    Strange but to live with it
    Oracle 8i on Win2k

    Is this your Production Database? Did you schedule this export? During peak/off peak business hours? Production
    Yes
    Off Peak hours
    Apart from this export, what database backup procedure you have in place? Full Backups/Incremental all in place
    You said, you take export regularly as part of procedure. Is this a strange behavior today or did you observe this previously as well??I have been observing since i joined this company.It was 14GB and Dump was around 7 ..now the DB is 20GB and dump is around 10GB
    I was just thinkking for a TB database how much the export would be...:)
    Adding on i had a 100Gb db generating 8Gb dump...Looked strange..)BUt that 100GB did not have so amny objects like what i have now...
    Thanks

  • Need some info about Equium A60

    Hi,
    I am looking to upgrade RAM on my laptop which is a Equium A60 (PSA67E-001004NO). I need to know what speed my motherboard supports... I posted a question some time back and got the impression that my laptop can take 533mhz but I enquired other places and got the idea that my laptop supports 333mhz. I need to know the correct value my motherboard supports. Whether its 333mhz or up over..
    One thing more I need to know is there any way one can check for the configuration that laptop has, because there is nothing about this Equium on the net or Toshiba site...
    I remember to see a page on which all hardware and preinstalled software details of Equium A60 PSA67E-001004NO were on the net but I fail to remember where I saw it..
    Can someone help in any way?

    Hi
    Your notebook has 256MB internal memory and just one slot is available for memory expansion. I have found info that your unit can handle with 1280MB max.
    The compatible memory modules are:
    PC2700 256MB (PA3311U-1M25)
    PC2700 512MB (PA3312U-1M51)
    PC2700 1024MB (PA3313U-1M1G)
    If you want check part numbers on Google and you will find out all info about those modules. I have no time now to check it for you.
    Bye

  • Some info about my iphone

    i would like to get some info of the iphone with serial number below: 7U******A4S and sim lock status. Thanks you!
    <Edited By Host>

    What does it say when you look at Settings=>General=>About=>Carrier?

  • Need some info about getting started with the GE70 2PC Apache

    Hi guys!
    I'm about to getting the new GE70 2PC Apache gaming notebook from MSI and since I'm really putting alot of money in this I really wanna handle it gently :p So I got some questions about this, since It'll be the first time I'd but a gaming notebook.
    1) 1st of all, what do I do when I've first started the laptop? Do I place in the CD and install all the newest drivers from that CD? Afterwards install an anti virus and then I should be good to go?
    2) I heard the Haswell i7 processors from Intel produce a hell of a lot heat. When I turn on turbo fan and turbo boost and I reach temperatures of around 90°C, would it harm the hardware of my laptop? Could any damage take place? Or would my processor/graphic card have a shorter life expectancy?
    3) The graphic card would be the GTX 850m. Now I'm wondering, is on this particular laptop -> (MSI-ge70-2pc-019be-apache-azerty), is the graphic card the DDR3 version or the GDDR5 version? Because I heard even the GTX 765m can outperform the 850m DDR3. But I also heard that the GDDR5 version of this graphic card is noticeably better than the 765M graphic card.
    4)Is it wise to keep the processor going on turbo boost (3,4 Ghz) forever?
    5) Will I have internet problems? I heard alot of people having internet problems with the killer lan drivers lately..
    6) What laptop do you think I should pick in overall? The 2PC Apache version or the GE70 2OE version (the one without SSD) ?
    8) My Brother has the GE70 2OE which has the 765m graphics card, but he only has around 60 fps when he's playing League Of Legends, and LoL isn't the most demanding game right.. The FPS sometimes even drops to 40 (even when he's ALONE with no one around him). It feels like his FPS is capped at 60? Because most of the time it's just 60. But when I look at the settings I saw the FPS is uncapped.. I believe with this graphics card he must atleast achieve a constant 70-80 fps on this game right? Might something be wrong in the settings of the graphics card?
    7) Is there anything I should know before I start gaming on this laptop? (something I should do to have best performance or something..?)
    Grtz

    Well...
    1. When you get the laptop, use MSI Burn Recovery and make the backup disks (I prefer DVD's myself...). This way if something happens, you can reinstall all the software like you just bought it.
    2. Haswell does produce quite a bit of heat. As long as you don't get much higher than 90C you should be ok. If you're getting into the high 90's or even 100C range, you probably need to replace the heatsink compound. MSI has had a number of issues with that aspect on notebooks. It is easily done though.
    3. The only way to really answer that question is probably to contact MSI about it.  >>How to contact MSI.<<
    4. Turbo boost isn't really user controlled. I wouldn't worry about it.
    5. You might have issues. I'm honestly  not too sure. I know most people haven't had issues recently, but that's all relative. The drivers seem to be working rather well right now to be honest.
    6. Depends what you want and what is available. Maybe the GE70 20E + buy an SSD will be cheaper than just buying the Apache version. I don't really know, but you could always look into it.
    8. The 765M is a decent card....but remember, it's NOT the same as a 760 on a desktop. It's roughly equivalent to a 750 in the desktop world. That's not a bad card by any means, but you aren't going to be able to get 60+ FPS at 1920x1080 in many games. LOL is rather demanding as a game though to be perfectly honest. (throwing my personal opinion in on this, I always buy the highest end item I can in this case, because you won't be able to get any better really in the end until the next laptop comes out).
    7. I would setup all your games in the NVidia control panel to use the NVidia high performance graphics processor. That way there is no confusion and it will use the right video card.
    You don't really need to update drivers UNLESS you're having an issue (like BSoD's or game freezes or something similar).
    The MSI customer service in the EU really seems to be hit or miss. Some people seem to get good service, some people get really crappy service. I'm honestly not sure what the problem is over there. =/

  • Satellite Pro A10 - need some info about RAM upgrade

    Dear Fourm members
    In regard to the above machine : please can anyone advise :- how many memory slots does it have.
    I think it is two but am not sure.
    Also what max size memory module can we have in this laptop please.
    If it is 2 @ 1gb per module, then we would have a total of 2gb.
    Is the hard drive on this machine a standard laptop hard drive. Can I take the small 20gb one out and replace it with a larger one. eg 120 gb etc
    Thank you so much for your help.
    Ian

    On satellite Pro A10 two memory slots are available. Notebook can handle with 1 GB RAM and you can use two compatible PC2100 512MB (PA3164U-1M51) modules.
    This old machine uses 2,5 HDD with old IDE connector. I found some info that it was delivered with 20GB, 30GB and 40GB HDDs. I think you can upgrade it with HDD up to 100 GB but just be sure it has the same HDD connector.
    If you have more questions you are welcome.
    For more info post exact model number please.

  • I Need some info about interfacing the PC or laptop to Spectrum analyzer using Labview

    we need to control  the spectrum analyzer using an interface   that will    be   developed  using  Labview  .
    Spectrum analyzer will be connected to tha PC using RS 232C and the waveform observed will be seen in the PC interface of spectrum analyzer.
    Pls send some info regarding dis.

    Using a spectrum analyzer with LabVIEW is a pretty common application, my first program 15 years ago did this. What we need to know to help you though is what model spectrum analyzer are you planning on using? Most of the ones I'm familiar with use the GPIB interface rather than RS232, but that isn't a major issue, the spectrum analyzers command set is the important one. There are a lot of LabVIEW drivers available for a larger number of analyzers, here on the National Instruments' site. Although most use the GPIB interface (or ethernet), they can be used as a starting point to develop an RS232 driver if one isn't available, assuming that there is a driver for the model that you have, or a closely related one (manufacturers frequently use similar command sets within a model type).
    So, what type analyzer are you using, and what types of things are you planning on doing with it?
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • I need some info about the Document Class.

    Hi,
    I need some information about the Document Class, can anybody
    tell me where I can find it.
    thanks

    Emad Zedan,
    > I need some information about the Document Class, can
    > anybody tell me where I can find it.
    The concept of the document class was introduced in Flash
    CS3. What it
    does is allow you to optionally associate a custom AS3 class
    with your FLA
    in the Flash authoring tool. Your document class effectively
    *becomes* the
    main timeline. This is your chance to influence the
    underlying behavior of
    the MovieClip or Sprite instance that serves as the
    foundation for your SWF.
    If you don't associate a custom document class with your
    FLA, the FLA is
    associated automatically with a default document class called
    MainTimeline,
    which extends MovieClip.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Need some info about Bappi's !!!

    Friends can anybody tell me a little bit about these BAPI's or Function Modules
    CHAR_FLTP_CONVERSION
    CONVERSION_EXIT_CUNIT_OUTPUT
    BAPI_TRANSACTION_COMMIT
    BAPI_PROCESS_MESSAGE_CREATEMLT and finallly
    BAPI_PRODORDCONF_CREATE_TT  In this one is the production order being confirmed partially or fully and can we add some logic to make it do conversion in the unit of measure we want?
    Please help !!!

    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    The following standardized BAPIs are provided:
    Reading instances of SAP business objects
    GetList ( )  With the BAPI GetList you can select a range of object key values, for example, company codes and material numbers.
    The BAPI GetList() is a class method.
    GetDetail()  With the BAPI GetDetail() the details of an instance of a business object type are retrieved and returned to the calling program. The instance is identified via its key. The BAPI GetDetail() is an instance method.  BAPIs that can create, change or delete instances of a business object type
    The following BAPIs of the same object type have to be programmed so that they can be called several times within one transaction. For example, if, after sales order 1 has been created, a second sales order 2 is created in the same transaction, the second BAPI call must not affect the consistency of the sales order 2. After completing the transaction with a COMMIT WORK, both the orders are saved consistently in the database.
    Create( ) and CreateFromData! ( ) 
    The BAPIs Create() and CreateFromData() create an instance of an SAP business object type, for example, a purchase order. These BAPIs are class methods. 
    Change( ) 
    The BAPI Change() changes an existing instance of an SAP business object type, for example, a purchase order. The BAPI Change () is an instance method. 
    Delete( ) and Undelete( )  The BAPI Delete() deletes an instance of an SAP business object type from the database or sets a deletion flag.
    The BAPI Undelete() removes a deletion flag. These BAPIs are instance methods.
    Cancel ( )  Unlike the BAPI Delete(), the BAPI Cancel() cancels an instance of a business object type. The instance to be cancelled remains in the database and an additional instance is created and this is the one that is actually canceled. The Cancel() BAPI is an instance method. 
    Add<subobject> ( ) and Remove<subobject> ( )  The BAPI Add<subobject> adds a subobject to an existing object inst! ance and the BAPI and Remove<subobject> removes a subobject from an object instance. These BAPIs are instance methods.

  • Need some info about Stor.e TV

    Hi,
    I'm considering buy a Stor.e TV 2TB unit and wondered if anyone with one could answer a couple of questions that i can find covered in the marketing info?
    1. Does the menu include grahics related to the files?
    if I rip and album(or DVD) to the device is the Album name, track name and cover automatically detected by the unit?
    2. Can anyone recommend a suitable external DVD (or minimum spec) to buy alongside the device, i read in the manual about the support for this and think that it's a good feature to prevent tying up the PC/Laptop whilst initially loading my DVD collection.
    3.I 'd like to be able to use the device on two different TV - one isn't a HD and only have a scart (and composite) connections.
    I've looked for a HDMI to SCART converter but haven't found one yet?
    Thanks a lot for taking the time to read.

    Hi
    I bought a STOR.E TV+ 1 TB and all i can say is :
    the menu does provide a preview of each file, if its a video clip then it starts playing a preview and with pictures it displays a small preview pic.
    It will not display the album cover but will display the file name that was copied.
    I would also like to know what external DVD player is recommended ?

Maybe you are looking for