Can we keep one action file for all jsp files in struts?"

I have 5-6 Jsp pages and all are inter connected.
If any one make changes, these changes should be display in the database.
In this case, I need only one Action class which can hold or manipulate all changes from all jsp pages. I am not sure "Can we keep one action file for all jsp files?"
If yes, then how can we configure struts-config.xml file.
If no, then pls suggest me any altenative solution.

hai
go for DispatchAction class and then pass as parameters
refer struts complete reference...
it will solve ur problems..

Similar Messages

  • HT1660 how can I use one single library for all users on the same laptop?

    how can I use one single library for all users on the same laptop?

    You are most of the way there. Each user having access to hard drive is the key. If users are limited in file privileges this is harder.
    Any files you add to your library and any files she adds to her library are available to the other. Just not automatically. Each user must add the files to their own library using the add file or add folder option from menu bar.
    What I have done is set library location to a location outside of My Documents\My Music. On my network storage I have a folder names s:\itunes. Both accounts iTunes are set to use this location for the library.

  • HT4436 My family has multiple iPhones.  Can we use one Apple ID for all of our phones?

    My family has multiple iPhones.  Can we use one Apple ID for all of our phones?

    If you use the same AppleID for iMessage and iCloud though, you will all be sharing the same message account and iCloud email account.  You can use a common AppleID for purchased content, but each create your own unique AppleID for iMessage and iCloud so you each have your own private accounts for those services.

  • HT2506 How can I turn off editing feature for all pdf files?

    The editing feature is annoying because when I read pdfs, I select randomly with mouse on the file, which creates "editing behavior". What' s more annoying is it saves to the pdf file directly without asking me, which causes sync services like dropbox to sync the file, generating unnecessary traffic and disk usage.  I never need to edit pdf files. Please give me an option to disable the feature permanently.
    See this link for other people getting annoyed:
    http://apple.stackexchange.com/questions/145009/how-to-disable-pdf-editing-in-pr eview-app

    ok after another hour of playing around i might have half solved this...I turned match off via my account within the store which didn't seem to work properly, but then found another option to "turn off" via the store dropdown in the menu bar which does seem to have worked on my mac (but not yet on my iphone so still need to figure this out). Now I have turned it off on my mac it seems to offer me the option to buy it again - but as i've already paid for the year I don't know if there is the option to turn on again if I choose to later?

  • 1 configuration file for all control files

    I happen to use sqlldr many times in my automation work. Most of the times few things in all my control files are same like
    LOAD DATA
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    However if for some reason, something like delimiter changes, then I have to change the second line in all my control files and this makes maintenance tough.
    Was just wondering if its possible to store the common configuration settings in 1 config file and making sqlldr ctl files picking those common settings from 1 single file?
    Regards,
    Parag
    Edited by: Parag Kalra on Jul 25, 2010 12:15 AM
    Edited by: Parag Kalra on Jul 25, 2010 12:22 AM

    Of course you don't mention a version. Type four digits and three dots: too much work.
    Anyway: if you submit it as a feature request on Metaclunk, it might be arranged in release 13<whatever>, two years from now.
    Sybrand Bakker
    Senior Oracle DBA

  • HT1203 Can I share one iTunes account for my iPad and two I phones? If so, how can I get the purchased apps and music on all three devices? Do I need a home computer,

    Can I share one iTunes account for my iPad and two I phones? If so, how can I get the purchased apps and music on all three devices? How do I sync all the devices to have the same music and apps?

    You can set up an iCloud account on each one (the SAME iCloud account using the same AppleID on each) and then sync via iCloud.
    http://support.apple.com/kb/HT5262\
    However, an iCloud backup nor sync contains purchased content - that is available for redownload from the iTunes and App stores (so no need to waste iCloud space storing it for you).
    So, for purchased content, you will have to download it on each device - just use the same AppleID and download each item on each device.
    Without a computer to aid the sync'ing, downloading the purchased content on each device is the only way.
    P.S  audiobooks cannot be re-downloaded once purchased (all other content can be), so without a computer to save, store and move the audiobook files around, you will only be able to put those on one device - the one you first purchase it on.

  • HT201251 I want to use 30  ipads to run kiosk software in my restaurant. Can I use one Apple ID (and one credit card) for all devices

    I want to use 30  ipads to run kiosk software in my restaurant. Can I use one Apple ID (and one credit card) for all devices?

    Alternatively you can always manage your iPads (does not matter how many) with a single apple id and all reporting to your account under "find my device" service. Keeping an eye on all your units. Additionally as you mentioned these are for your Restaurant you may find the solutions offered by this company who creates apps and hardware for this purpose: http://www.spartakioskpro.com
    Additionally if you expand beyond those 30 iPads to say 300 you will want to enable or plan on MDM as your best option to automate every ipad to use the same profile and app and ios configuration while also keeping a close eye on all of them via online MDM services like: https://meraki.cisco.com/products/systems-manager
    Here is a pic

  • HT3669 I only have a HP printer and why I need to install a file for all the HP printers drivers 590MB??? if normally the size of my file should be 5MB.  some one could me help to avoid installation of 590MB for my new mountain lion software???

    Hi guys..!!
    I would like to know if someone could help on this:
    I just have a HP printer (HP Designjet 100) and for some reason I need to install a file for all the HP printers drivers in total 590MB to be able to use my printer in my mountain lion???
    If normally the size of my files in the for previous software was more or less 5MB why now i need to install 590?
    Some one could help me how to avoid installation of 590MB for my new mountain lion software???
    Thanks

    If you go to http://support.apple.com/downloads and locate the HP Printer Drivers installer, you will find that it is 473.4 MB (for version 2.11). If you install this, it will install the full set of drivers for every model of HP printer that is supported by the drivers distributed through Apple. The disk space occupied once installed will probably be larger than the download, since the downloaded file is compressed.
    On the other hand, if you have an HP printer connected and you use Software Update (or the Update tab in App Store), that should offer you a much smaller set of HP drivers, which are only applicable to your printer (and possibly a few similar ones). These updates are typically only tens of megabytes rather than hundreds of megabytes.
    If Software Update doesn't offer you any HP drivers then it either thinks you have the latest drivers installed already, or the printer model is not supported by the drivers available from Apple.
    This article lists all of the printer models for which Apple distributes the driver:
    http://support.apple.com/kb/HT3669

  • How can I move one years worth of Raw photo files to a different hard drive and perserve the edits

    How can I move one years worth of raw photo files to a different hard drive (to manage space) and preserve the develope module edits and still see them in  the Library module?

    The easiest situation, is where this year's worth of images is grouped physically inside one parent folder (something many people build in from the start, in any case).
    If there is a parent folder on disk, but you are not currently seeing that inside LR's Folders panel, you can make this visible to LR by right-clicking on one of the folders which live immediately inside that, and selecting "show parent folder". This gives you a single "handle" by which to manipulate the whole grouping.
    Then it is just a matter of moving this parent folder. It's usually as simple as dragging it from one place to another inside LR's Folders panel, however this is a little more difficult when it's a question of another drive which does not yet appear there.
    So an alternative method will likely prove more straightforward: physically move the whole year folder into the other drive using your operating system's Explorer/Finder. The folder (and subfolders, and all the contained images) will change with ? icons inside LR, and it all goes "offline". This is because LR's records of where everything is, are known not to currently work (the former location is now not available). But all the edits, thumbnails, keywords, collections etc are still in place because these things are still remembered in the Catalog - and the fullsize previews are still cached also.
    Then right-click on the parent folder in LR's Folders (the top folder which shows a "?") and select Update Folder Location. Then browse to the other disk and identify where this folder is now to be found. LR updates all its records and the whole grouping carries on just as before, only using a new  storage location for each image concerned.

  • How to force RH9 to use only one master stylesheet for all Word imports?

    I have set a stylesheet (css) as the default for my RH9 WebHelp project in project settings. When I import Word documents into the project, the edit import setting dialog does not show this stylesheet in the list of available stylesheets for the import.
    What is happening instead is a proliferation of unwanted stylesheets derived from all the imported documents. I then have to manually re-set all the new topics to the master stylesheet.
    How can I stop this, and force RH9 to use only the one master stylesheet for all imports?

    cid:[email protected]
    Hi Peter,
    That’s what I thought I was doing in the Project Settings>Import tab>CSS for Style Mapping selection. Maybe that isn’t what it’s meant to do. It’s just getting annoying having all these unneeded files popping up in the project manager so that I have trouble distinguishing the “real” topics from the extra stuff.
    Michael West | Business Improvement | Aurecon
    Ph: +61 3 8683 1996 | Fax: +61 3 8683 1444 | Mob: 0407 485 228
    Email: [email protected]
    PO Box 321, South Melbourne | VIC 3205 | Australia
    http://www.aurecongroup.com
    http://www.aurecongroup.com/apac/groupentity/

  • Publication using "one database fetch for all recepients" is a failure

    Hi,
    I have created a Publication in *CMC* with Crystal Reports as Source Document. When I schedule it with option " One database fetch per recipient" it is a Success. But while using the option "One database fetch for all recipients" it is a Failure.
    I tried this with Personalization value Parameter as well as Filter. But both combinations throw an error message when used with Reporting Bursting Method "One database fetch for all recipients".
    Anybody who has worked with Publication please let me know in which scenario one can use the Advanced setting:
    Report Bursting Method
    "one database fetch for all recepients"
    Regards,
    Amogh.

    Howard,
    The method I use is to put the connection script in a file outside the web root. Although the file has the same name on both the local and remote servers, the details are specific to that particular connection. Then each page in the website has the following PHP script.
    require_once '../outside_folder/.db.php';
    This method is also more secure than including the connection details inside the web root. Also note that the file name begins with a period and ends with the php extension, both for added security.

  • Publication using 'One database fetch for all recipients' is a Failure

    Hi,
    I have created a Publication in CMC with Crystal Reports as Source Document. When I schedule it with option " One database fetch per recipient" it is a Success. But while using the option "One database fetch for all recipients" it is a Failure.
    I tried this with Personalization value Parameter as well as Filter. But both combinations throw an error message when used with Reporting Bursting Method ""One database fetch for all recipients"".
    Anybody who has worked with Publication please let me know in which scenario one can use the Advanced setting:
    Report Bursting Method
    "one database fetch for all recepients"
    Regards,
    Amogh

    Howard,
    The method I use is to put the connection script in a file outside the web root. Although the file has the same name on both the local and remote servers, the details are specific to that particular connection. Then each page in the website has the following PHP script.
    require_once '../outside_folder/.db.php';
    This method is also more secure than including the connection details inside the web root. Also note that the file name begins with a period and ends with the php extension, both for added security.

  • ActionListener,action  called for all buttons.

    hi,
    I have developed my own toolbar in that i have my own buttons as input type='image' I have attached action and actionListener for that tag.
    Problem...
    If i give action or actionListener to one button it is invoked for all the buttons but i did't speacified for other buttons. Where the problem lies??
    plz help me i am stuck in my work.
    here's my jsp.
    <av:toolbar enabled="true" id="tbar" rendered="true" bar="lower">
                        <av:tbItem enabled="true" type="delete" actionListener="#{registar.countryChanged}" action="third_page"></avaya:tbItem>                         
                        <av:tbItem enabled="true" type="edit" actionListener="#{registar.countryChanged}" action="second_page"></avaya:tbItem>                                             
                        <av:tbItem enabled="true" type="convert" actionListener="#{registar.countryChanged}" action="third_page"></avaya:tbItem>                         
                        <av:tbItem enabled="true" type="print" actionListener="#{registar.countryChanged}" action="third_page"></avaya:tbItem>                         
                        <av:tbItem enabled="true" type="view" actionListener="#{registar.countryChanged}"action="second_page"></avaya:tbItem>                         
                        <av:tbItem enabled="true" type="seprator" ></avaya:tbItem>                         
                        <av:tbItem enabled="true" type="sched" action="third_page"></avaya:tbItem>                         
                        <av:tbItem enabled="true" type="move" action="third_page"></avaya:tbItem>                         
                        <av:tbItem enabled="true" type="copy" action="second_page"></avaya:tbItem>                         
                        <av:tbItem enabled="true" type="design" actionListener="#{registar.countryChanged}"action="third_page"></avaya:tbItem>                         
                        <av:tbItem enabled="true" type="ddbtn" actionListener="#{registar.countryChanged}" value="#{toolbarBean.list}" action="third_page"></avaya:tbItem>                                                                                                                             
                   </av:toolbar>     
    Here see some where i have given action ,actionListener somewhere not but both of the attributes are invoked on every button.
    Message was edited by:
    prashantak

    You are on the right track.
    Implement a diaolgListener for the dialog. It'll be called when you click the ok button of the dialog. delete the record from the listener. If the user clicks the cancel button, the dialog just closes without giving you any event. This is OKif you just want to cancel the deletion of the record (no rollback needed, just abort the action). If you need more control over the process use a panelWindow inside a popup. There you can use the normal action listeners for buttons.
    Timo

  • Move the Cache files for all user in the domain, which work with the PC

    Is there a possibility to chance the Cache file for all User.
    If i logon with a new user the Cache is written automatically in Proflie of the user.
    can configure to Java in such a way that with announce a user the Cache file get automatically moved to c:\temp.
    Thanks for your help

    oh, too bad, it is part of the requirement-we need to do it automatically through web.
    Any easier method to change the client machine deployment.properties through web?
    Need to deploy the application to thousands PC and the PC configuration may be different one by one.
    oldguy

  • I have a purchased cd of Photoshop CS6. Can I keep one copy on my pc and one on my mac?

    I have a purchased cd of Photoshop CS6. Can I keep one copy on my pc and one on my Mac? Adobe says they will send me a new Mac cd once I uninstall my pc version. But since Photoshop comes with 2 licenses I don't understand why I have to uninstall from my pc.

    While Adobe employees do visit, we are forum volunteers and can only give you this information:
    The deal you are agreeing to is an exchange of license, Mac for a PC.
    From the platform swap helpdoc: You must give up all licensing rights to your current platform or language version.
    Order product | Platform, language swap
    What will happen is that your old serial number will be retired.
    If you want one on your Mac and one for your PC, go with this: Lightroom and Photoshop | Adobe Creative Cloud Photography Plan

Maybe you are looking for