Please Explain Struts Module

Hai all
i have a big doubt in Struts
what is meant by Modules ??!!!
i have a webapp mystruts where the dir structure is like
\mystruts
images
pages
tiles
WEB-INF
classes
lib
struts-config.xml
say i want admin module . what it means am i creating any extra folder strutct to do so or am just creating just another struts config xml file ?? liek
\mystruts
images
adminpages
admintiles
pages
tiles
WEB-INF
classes
lib
struts-config.xml
struts-config-admin.xml
is this ok ??? am i right
please help me its urgetn

Probably, like me, most of us never used that aspect of struts. I wasn't aware of it, actually, and would presume if this is a real thing, then there should be something in the Struts documentation... so what's that say?

Similar Messages

  • Please explain the MODULE in ABAP programming

    Hello SAP gurus,
    Kindly explain MODULES in programming...
    Thank you very much!

    hi there....
    before i go ahead, i take this as u know report programming. so chk this link to find differences between the two
    http://www.geekinterview.com/question_details/18029
    mostly, dialog programming helps the user to forget about the layout as it does this automatically for us. we need to concentrate on the logic. it sometimes gives a feel of visual basics. moreover, it can write on the database other than fetching data from it as in report programming.
    do reward if helpful or get back with further queries.

  • Could you please explain about the  chain and end chain and module

    hi experts
    could you please explain about the  chain and end chain and module keywords?

    Hi Naresh,
    Conditions for Multiple Screen Fields
    To ensure that one or more PAI modules are only called when several screen fields meet a particular condition, you must combine the calls in the flow logic to form a processing chain. You define processing chains as follows:
    CHAIN.
    ENDCHAIN.
    All flow logic statements between CHAIN and ENDCHAIN belong to a processing chain. The fields in the various FIELD statements are combined, and can be used in shared conditions.
    CHAIN.
    FIELD: <f1>, <f 2>,...
    MODULE <mod1> ON CHAIN-INPUT|CHAIN-REQUEST.
    FIELD: <g1>, <g 2>,...
    MODULE <mod2> ON CHAIN-INPUT|CHAIN-REQUEST.
    ENDCHAIN.
    The additions ON CHAIN-INPUT and ON CHAIN-REQUEST work like the additions ON INPUT and ON REQUEST that you use for individual fields. The exception is that the module is called whenever at least one of the fields listed in a preceding FIELD statement within the chain meets the condition. So <mod1> is called when one of the fields <fi> meets the condition. <mod2> is called when one of the fields <f i> or <g i> meets the condition.
    Within a processing chain, you can combine individual FIELD statements with a MODULE statement to set a condition for a single field within the chain:
    CHAIN.
    FIELD: <f1>, <f 2>,...
    FIELD <f> MODULE <mod1> ON INPUT|REQUEST|*-INPUT
    |CHAIN-INPUT|CHAIN-REQUEST.
    MODULE <mod2> ON CHAIN-INPUT|CHAIN-REQUEST.
    ENDCHAIN.
    The module <mod1> is called when screen field <f> meets the specified condition for individual fields. <mod2> is called when one of the fields <fi> or <f> meets the condition. If you use the addition ON CHAIN-INPUT or ON CHAIN-REQUEST with FIELD <f>, the condition also applies to the entire chain and module <mod1> and <mod2> are both called.
    In cases where you apply conditions to various combinations of screen fields, it is worth setting up a separate processing chain for each combination and calling different modules from within it.
    The functions of the FIELD statement for controlling data transport also apply when you use processing chains. Within a processing chain, screen fields are not transported until the FIELD statement. Processing chains also have another function for the FIELDS statements that they contain. This is described in the section on validity checks.
    Ex:
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    CHAIN.
    FIELD: INPUT1, INPUT2.
    MODULE MODULE_1 ON CHAIN-INPUT.
    FIELD INPUT3 MODULE MODULE_* ON *-INPUT.
    MODULE MODULE_2 ON CHAIN-REQUEST.
    ENDCHAIN.
    FIELD INPUT1 MODULE C1 AT CURSOR-SELECTION.
    CHAIN.
    FIELD: INPUT2, INPUT3.
    MODULE C2 AT CURSOR-SELECTION.
    ENDCHAIN.
    MODULE CURSOR AT CURSOR-SELECTION.
    Regards,
    Sunil

  • Hi any one please explain background job scheduling

    Hi any one please explain background job scheduling . Good answer can be rewarded.
    Thanks

    Background jobs are pgms that are scheduled to be run in the Background without user interaction. So this can be done only for Type 1(executable) Program and not for Module-Pool Programs. Typically, a variant is defined and the pgm is run using the same.
    The transaction code is sm36 -Define Background job. Using the Start Condition tab you can define when you want the job to run (specific time or if it has to follow after a particular job is done etc.,) Using the Step tab you can assign the pgm name and variant.
    After the job is scheduled, you can check the status in sm37, along with the Job log and Spool.
    For more info:
    http://help.sap.com/saphelp_bw30b/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm

  • EMET 5.1 crashes Outlook.exe, Photoshop.exe and Communicator.exe. Please explain why it would do that?

    Hi,
    EMET 5.1 is crashing/not opening these applications on two of our staff workstations (Both are Windows 7 x86):  Outlook.exe, Photoshop.exe and Communicator.exe.
    One computer, EMET crashes Communicator and Outlook.  The other Computer, the EMET crashes Photoshop only.
    Obviously, it works for everybody else.  Can someone please explain to me why would EMET crash these apps if it works for the rest?  Could it be that it found a possible threat/exploit to the machine? 
    How do I mitigate this problem?
    Please advise.  Below is a sample of the error.
    Fault bucket 1031393421, type 17
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: communicator.exe
    P2: 4.0.7577.4103
    P3: 4fd6bebb
    P4: EMET.DLL
    P5: 5.0.0.0
    P6: 545ffd74
    P7: c0000005
    P8: 00060310
    P9: 
    P10: 
    Attached files:
    C:\Users\xx\AppData\Local\Temp\WERD21D.tmp.WERInternalMetadata.xml
    These files may be available here:
    C:\Users\xx\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_communicator.exe_7fba75e97ffde076db3fe52dd74029de19dc38_15d4e56e
    Analysis symbol: 
    Rechecking for solution: 0
    Report Id: 97ed67e2-de0a-11e4-822e-00125a5e8f35
    Report Status: 0
    Faulting application name: Photoshop.exe, version: 15.2.2.310, time stamp: 0x5480306d
    Faulting module name: EMET.DLL, version: 5.0.0.0, time stamp: 0x545ffd74
    Exception code: 0xc0000005
    Fault offset: 0x0006714e
    Faulting process id: 0x15c4
    Faulting application start time: 0x01d0721e6fc383e7
    Faulting application path: C:\Program Files\Adobe\Adobe Photoshop CC 2014 (32 Bit)\Photoshop.exe
    Faulting module path: C:\WINDOWS\AppPatch\EMET.DLL
    Report Id: b159a74a-de11-11e4-86b9-1cc1de578f37

    One guess is that old Outlook plugins can sometimes cause issues with EMET.  Try starting Outlook in safe mode, by holding down the CTRL key when starting Outlook to see if that helps, and look in Outlook in File / Options / Add-Ins menu item to see
    the add-ons that are installed.  Verify that the OS and apps have all the latest patches if you haven't, though you have probably already done that.  If those don't work you could try unchecking the EMET application protection boxes for the
    application that isn't working, one by one.  Note that EMET 5.2 is out now so that might be something to try too. 

  • No ActionResult returned for action [/strutsModule/login] in Struts module

    Hi these are the steps followed by me in developing a struts portlet.<br>
    1) I created an Application <br>
    2)Created a new Portal project in the application.<br>
    3)I created a struts project and i placed all my jsps in the folder strutsModule.<br>
    4)In the WEB-INF src folder i placed my actoinClasses and actionForms.(package struture followed like com.portal).<br>
    5)Renamed struts-config.xml to struts-auto-config-strutsModule.xml.<br>
    6)Created a portlet and Portla Pages.<br>
    7)Build an ear and run.<br>
    <b><b><b>Directory struture is as follows.
    <br>strutsInter(Applicaton name)<br>
    data<br>
    strutsInter(Project name)<br>
    campaigns<br>
    framework<br>
    resources<br>
    strutsModule(all jsps kept inthis directory)<br>
    visitorTools<br>
    WEB-INF(.pageflow-struts-generated<br>
    classes<br>
    lib<br>
    -src<br>
    -com<br>
    +bea<br>
    -portal<br>
    +action(LoginAction.java)<br>
    +form(LoginForm.java)<br>
    ApplicationResources.properties<br>
    Controller.jpf<br>
    error.jsp<br>
    index.jsp<br>
    Inter.portal<br>
    Inter.portlet<br>
    Modules<br>
    Libraries<br>
    Security Roles<br></b></b></b>
    Still following these steps i get an <b>No ActionResult returned for action [strutsModule/login] in Struts module [strutsModule]. </b>
    <br>Any corrections else any basic struture i must follow to avoid these errors.Plz give me the directory struture i must follow.<br>
    Thankx,<br>
    RAGHU
    <b></b>

    hi ;
    if it's the first time you try to create a struts module portlet please ensure that you have the following node in your web.xml :
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>com.bea.wlw.netui.pageflow.PageFlowActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/.pageflow-struts-generated/jpf-struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>config/-global</param-name>
    <param-value>/WEB-INF/.pageflow-struts-generated/jpf-struts-config--global.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>moduleConfigLocators</param-name>
    <param-value>com.bea.netuix.servlets.controls.content.StrutsContentModuleConfigLocator</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>

  • Can you please explain about the vehicle management system?

    Hi ,
    i want to know about the module (vehicle management system) .please explain any one in details .
    Regards
    Venkata .

    Hi Venkata,
    The Vehicle Management system (VMS) is part of SAP IS - Auto. Generally it is said that it is used by importers, however I would rather put it like this – It can be used for an importer or a distributor’s business functions. So if an OEM is also performing a distributor’s business, he can also use VMS and get benefited out of it.
    The VMS facilitates to see a Vehicle like a Vehicle in the system.
    Following are the few high level features -
    It allows to capture all the attributes of a  particular vehicle as an unique object in the system
    All the transaction on a vehicle (sales, purchase etc.) can be carried out keeping vehicle as a central object, provides ease of operation to users. All business and technical data of the vehicle is available here.
    Strong configuration based vehicle search and vehicle history (transactions) helps in tracking the vehicle easily for any purpose in the distribution chain of OEMà Distributorà Dealerà End Customer.
    This is in brief about VMS.
    Regards,
    Aseem Baruaole
    Mahindra Satyam

  • Please Explain me  AcrionForm Flow

    ActionForm Flow in struts .
         <form-beans>
              <form-bean name="actionform1" type="ActionForm1" />
         </form-beans>
         <action-mappings>
              <action name="actionform1" path="/one"
                   type="ActionClass1" input="/input.jsp"
                             scope="request" validate="true" >
                        <forward name="fone" path="/display.jsp" />
              </action>
         </action-mappings>
    setp 1: when you try to call input.jsp. It will call reset method of the ActionForm1 method
    step 2: when click the sumbit method it will validate method of the ActionForm1.
    step 3: if Step 2 Validate Method returns actionErrors then is will go to input.jsp once again showing the errors.
    else ActionServlet "ActionClass1" will be called.
    please explain me if it is wrong.
    Thanks& regrads
    rathna

    setp 1: when you try to call input.jsp. It will call reset method of the ActionForm1 method
    step 2: when click the sumbit method it will first calling reset method after that validate method is calling.
    Please explain me how it will navigate

  • Enqueue and Dequeue consept----Please explain urgent

    hi all,
    i want to use sap locking mechanisn (Enqueue and dequeue consept) while updating database table....please explain how to use this while updating a database table.
    Thanks in advance
    Nandha kumar

    Nandha,
    Good document on this concept..
      Activating a lock object in the ABAP Dictionary automatically creates function modules for setting (ENQUEUE_<lock object name>) and releasing (DEQUEUE_<lock object name>) locks.
    The generated function modules are automatically assigned to function groups. You should not change these function modules and their assignment to function groups since the function modules are generated again each time the lock object is activated.
    Never transport the function groups, which contain the automatically generated function modules. The generated function modules of a lock object could reside in a different function group in the target system. Always transport the lock objects. When a lock object is activated in the target system, the function modules are generated again and correctly assigned to function groups.
    Parameters of the Function Modules
    Field Names of the Lock Object
    The keys to be locked must be passed here.
    A further parameter X_<field> that defines the lock behavior when the initial value is passed exists for every lock field <field>. If the initial value is assigned to <field> and X_<field>, then a generic lock is initialized with respect to <field>. If <field> is assigned the initial value and X_<field> is defined as X, the lock is set with exactly the initial value of <field>.
    Parameters for Passing Locks to the Update Program
    A lock is generally removed at the end of the transaction or when the corresponding DEQUEUE function module is called. However, this is not the case if the transaction has called update routines. In this case a parameter must check that the lock has been removed.
    Parameter _SCOPE controls how the lock or lock release is passed to the update program (see The Owner Concept for Locks). You have the following options:
    _SCOPE = 1: Locks and lock releases are not passed to the update program. The lock is removed when the transaction is ended.
    _SCOPE = 2: The lock or lock release is passed to the update program. The update program is responsible for removing the lock. The interactive program with which the lock was requested no longer has an influence on the lock behavior. This is the standard setting for the ENQUEUE function module.
    _SCOPE = 3: The lock or lock release is also passed to the update program. The lock must be removed in both the interactive program and in the update program. This is the standard setting for the DEQUEUE function module.
    Parameters for Lock Mode
    A parameter MODE_<TAB> exists for each base table TAB of the lock object. The lock mode for this base table can be set dynamically with this parameter. Valid values for this parameter are S (shared), E (exclusive) and X (exclusive but not cumulative).
    The lock mode specified when the lock object for the table is created is the default value for this parameter. This default value can however be overridden as required when the function module is called.
    If a lock set with a lock mode is to be removed by calling the DEQUEUE function module, this call must have the same value for the parameter MODE_<TAB>.
    Controlling Lock Transmission
    Parameter _COLLECT controls whether the lock request or lock release should be performed directly or whether it should first be written to the local lock container. This parameter can have the following values:
    Initial value: The lock request or lock release is sent directly to the lock server.
    X : The lock request or lock release is placed in the local lock container. The lock requests and lock releases collected in this lock container can then be sent to the lock server at a later time as a group by calling the function module FLUSH_ENQUEUE.
    Behavior for Lock Conflicts (ENQUEUE only)
    The ENQUEUE function module also has the parameter _WAIT. This parameter determines the lock behavior when there is a lock conflict.
    You have the following options:
    Initial value: If a lock attempt fails because there is a competing lock, the exception FOREIGN_LOCK is triggered.
    X : If a lock attempt fails because there is a competing lock, the lock attempt is repeated after waiting for a certain time. The exception FOREIGN_LOCK is triggered only if a certain time limit has elapsed since the first lock attempt. The waiting time and the time limit are defined by profile parameters.
    Controlling Deletion of the Lock Entry (DEQUEUE only)
    The DEQUEUE function module also has the parameter _SYNCHRON.
    If X is passed, the DEQUEUE function waits until the entry has been removed from the lock table. Otherwise it is deleted asynchronously, that is, if the lock table of the system is read directly after the lock is removed, the entry in the lock table may still exist.
    Exceptions of the ENQUEUE Function Module
    FOREIGN_LOCK: A competing lock already exists. You can find out the name of the user holding the lock by looking at system variable SY-MSGV1.
    SYSTEM_FAILURE: This exception is triggered when the lock server reports that a problem occurred while setting the lock. In this case, the lock could not be set.
    If the exceptions are not processed by the calling program itself, appropriate messages are issued for all exceptions.
    Reference Fields for RFC-Enabled Lock Objects
    The type of an RFC-enabled function module must be completely defined. The parameters of the generated function module therefore have the following reference fields for RFC-enabled lock objects:
    Parameters
    Reference fields
    X_<field name>
    DDENQ_LIKE-XPARFLAG
    _WAIT
    DDENQ_LIKE-WAITFLAG
    _SCOPE
    DDENQ_LIKE-SCOPE
    _SYNCHRON
    DDENQ_LIKE-SYNCHRON
    Pls. reward if useful

  • Please Explain Abt paramaeters in BAPI_MATERIAL_SAVEDATA

    Hi Experts,
      Can Any one please explain abt the parameters that are to be passed into the bapi_material_savedata function module

    Hi,
    Check the function module documentation..for the parameters explanation..
    OR
    Put a where used lise of that function module and then check how it is being passed
    OR
    Check this link for a sample program
    http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm
    Thanks
    Naren

  • What is the meaning for consumption account?-- Please explain

    When doing BDC , I am getting an error message
    S06138--> Not possible to determine a consumption account.
    How to rectify this error?
    I am new to PO. So please explain me guru's..

    Try to pass the error number into this function module
      data: msgtext(100).
        call function 'MESSAGE_TEXT_BUILD'
          exporting
            msgid                     = 'QV'
            msgnr                     = '116'
       MSGV1                     = ' '
       MSGV2                     = ' '
       MSGV3                     = ' '
       MSGV4                     = ' '
         importing
          message_text_output       = msgtext.
    just try this functiom module.
    you may see the reason in msgtext.
    kaki

  • Can any please explain the integration business process between PS and CS

    Dear Guru's
    Can any please explain the integration business process between Project systems (PS) and customer service (CS).
    Business Process: We do machinery Erection or commissioning, later we do provide service warranty for one year.
    How we map this Business scenario in sap.
    Regards,
    Bhanu

    basic steps for such a process would be
    1) Use PS functionality for your machinery erection or commisioning work. Once the physical work is completed then close porject
    2) Use CS functionality for warranty and service - set up the work as a functional location on customer site (PM/CS functionality)
    3) Use service order to manage any service calls on the object which could require billing via SD module - bill value may be zero if under warranty

  • In our enterprise MPLS network we are using 192.168.20.0/24 subnet, in this subnet we have not assigned the IP 192.168.20.200/30 & 204/30, But still these subnets are reachable . Are these NNI IP ...Please explain.

    In our enterprise MPLS network we are using 192.168.20.0/24 subnet, in this subnet we have not assigned the IP 192.168.20.200/30 & 204/30, But still these subnets are reachable . Are these NNI IP ...Please explain.

    I have checked with ISP, there response is like below:
    Those are the NNI to GBNET IPs for Dominican Republic. They are Network IPs. You should be able to ping them-that means they are working.
    WANRT01#show  ip route | include 192.168.20.20
    B        192.168.20.200/30 [20/0] via 192.168.20.226, 02:18:29
    B        192.168.20.204/30 [20/0] via 192.168.20.226, 02:18:29
    Here its shows from any of our MPLS site we are able to trace the IP and it seems like, 192.168.20.204/30 is one more site but in actual its not.
    INMUMWANRT01#ping 192.168.20.205
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.20.205, timeout is 2 seconds:
    Success rate is 100 percent (5/5), round-trip min/avg/max = 224/232/260 ms
    INMUMWANRT01#trace              
    INMUMWANRT01#traceroute 192.168.20.205
    Type escape sequence to abort.
    Tracing the route to 192.168.20.205
    VRF info: (vrf in name/id, vrf out name/id)
      1 192.168.20.226 24 msec 24 msec 24 msec
      2 192.168.20.206 [AS 8035] 232 msec 232 msec 252 msec
      3 192.168.20.205 [AS 8035] 224 msec 224 msec *

  • Please explain me how I can use Form feed(\f) and Carriage return(\r)

    what is Form feed(\f) and Carriage return(\r)?
    Please explain to me.
    Thank you.

    These control characters aren't used much these days except that if you example a Windows or MSDOS text file in a binary editor you'll find each line ends with "\r\n". However when reading or writing text through classes these carriage returns will be added and removed automatically so your program doesn't see them.
    The controlls date back to teletype machines which operated rather like typewriters. Cariage return, as it's name implied, caused the print head to move back to the start of the line, line feed advanced a line (without, necessarilly, returning the carriage) and formfeed skipped to the next page.
    Newline on these machines was always "return, linefeed" because executing the carriage return on these machine could take too long. The early machines had only a single character buffer so that they had to executed the characters as quickly as they arrived. So doing the linefeed after the carriage return gave the carriage more time to return. On some teletypes if you did "linefeed, return" then the first character of the new line would often be printed somewhere in the middle of the line.
    This is the origin of the MSDOS/Windows end of line sequence.
    Many printers will still respect formfeed if printing is direct. Some will take carriage return without linefeed to allow you to start again overprinting the same line.
    However printing, these days, is seldom direct but done in bitmap form.

  • Please explain me, how to remove an usb stick or memory chip? With experiences only in pc:s, I do not find on my first apple e.g. MacBook Air a solution. Until now I have succeeded to destroy one chip full of photos and - there's no life more in the port.

    Please explain me, how to remove an usb stick or memory chip? With experiences only in pc:s, I do not find on my first apple e.g. MacBook Air a solution. Until now I have succeeded to destroy one chip full of photos and - there's no life more in the port...
    Someone told me just to remove the chip in clicking it to the trash can and voilá - it would be done. But as I did so, on the screen appeared a text which let me know, that that way had been the wrong one...
    I should have clicked Finder plus something.... which I do not now remember but which was then not found behind the Finder.
    So please would someone be so kind and tell me, where I can find explanations for the most simple functions. The manual I got does not include a clue.
    Thank you!

    First make sure that no application is using or has open any files on the disk. Then:
    Click and drag the disk icon on the desktop to the trash. Wait for the system to recognize the action, and the icon should disappear from the desktop. It is then safe to remove the device.
    Alternatively, you can secondary click on the disk icon, and then primary click "Eject (name of disk)". Wait for the icon to disappear off the desktop, and then it is safe to remove the drive.
    Here is a detailed help document on the subject.
    http://docs.info.apple.com/article.html?path=Mac/10.7/en/mchlp1056.html

Maybe you are looking for

  • Just Downloaded the New Version and Cannot Move it to the Applications Folder from the Desktop

    I have just downloaded the latest version of firefox to my iMac running on OS 10.5.8. The download comes in, but pops up on my desktop and when I go to move it to the applications folder - all that will move is an alias - the application remains on m

  • HP Photosmart Premium all in one Printer c309a series

    I am having and have had numerous problems with this product since the beginning and have communicated with HP and also have used the HP solution and also the HP installation process but sometimes with success but none to date, I have a Touchsmart 30

  • Alternative items during MRP run

    Hi,    I have seen discussion on alternative items in BOM. Thanks for all for sharing your knowledge. I knew alternative items will be choosen while creating / release of production order (material availability check) Requirement:       For material

  • Should I link to my RSS feed or to the iTunes page from my website?

    On A Story For Bedtime I want to put a link to a podcast of the stories, should I link to the apple iTunes music store magic launching URL like this or should I link directly to my XML like this . A fair percentage of my audience will not have a clue

  • Urgent ! Need to know a FM or a BAPI.

    Hello Peers, I have an urgent requirement where I need to get the <b>***.ATP Quantity</b>  which you can find in CO06 or CO09 T.Code  & display in the Report. I tried with FM : MD_STOCK_REQUIREMENTS_LIST_API  which will return  material stock details