I'm confused with the struts.action and those in the actions package-help
hi all
looking at the struts framework particularly the org.apache.struts.actions package, i am a bit of confused as to which abstract action class i need to extend in my application. is there any guideline that shows in what scenario i will need to extend which action? how would i ever know the purpose of each one and how and when to extend it?
and also i am even more confused when i saw org.apache.struts.action.action class. doesn't this one handle all? most tutorials i have seen reference this class. why do we have others in the actions package?
your help is much appreicated . thanks.
Simple actions just extend org.apache.struts.action.Action.
Those actions in the org.apache.struts.actions package are utility Actions that provide you with extra functionality.
The [url http://struts.apache.org/api/org/apache/struts/actions/package-summary.html]struts api describes the basics of each one.
Commoonly used ones that (to me) are of more interest:
ForwardAction is pretty much just a placeholder that lets you specify a url to forward to when you don't want to write an entire Action.
Dispatch action (and its siblings LookupDispatchAction, MappingDispatchAction) are most interesting because they let you use the same action for multiple events.
In effect it is writing multiple "execute" methods in one action. The Dispatch action determines which one to call. It is useful for writing CRUD actions and keeping all that code in one class.
Hope this helps some,
evnafets
Similar Messages
-
My iPad, Macbook and Apple TV are all set up with the same iCloud email address. I bought the iPhone 6 and accidentally set the iCloud up with a different email. My phone will not let me change the email address to be the same as my other devices, it tells me that email is already being used. How do I delete the iPhones iCloud account and reinstall it to match my other devices.
Yes it will, just sign out, then sign back in with the correct address.
Settings>iCloud>Sign Out. -
I have an iphone 4S and i cant download apps onto it. Everytime I click to install, the icon appears on the homescreen with 'waiting' under it and then disappears. Can anyone help? Its driving me mental!
I found this very good
http://ipadhelp.com/ipad-help/iphone-ipad-apps-stuck-waiting/ -
My laptop died so I've installed itunes onto another PC and my music is all on an external hardive which is connected to the new PC. How can I sync my ipod with the new itunes and get all the music onto itunes?
You might consider itunes match for moving CDs you've copied into your itunes library if you dont have a way to use home sharing.
iTunes match is an optional service offered by apple that costs about $25 a year. It scans your music library and if it finds music that is already in apple's itunes catalog it'll automatically "unlock"/"store" these in the cloud for you. Items that it does not find in the catalog it'll upload and store these in the cloud for you and you can download them on your devices. See http://www.apple.com/itunes/itunes-match/ -
I have changed my Apple ID name and I want to change it on iCloud, however I am not able to delete the previous account because I need to turn off the Find my iPhone - and for that I need to log in with the old name and that is not working. Help anyone?
Hey tulgan,
This link will provide information on what to do after you change your Apple ID:
Apple ID: What to do after you change your Apple ID
http://support.apple.com/kb/HT5796
Welcome to Apple Support Communities!
Take care,
Delgadoh -
I can't get my music to play in my itunes. It comes with a exclamation mark next to the song numbers and says that the original songs can't be played cause cant find the file. How do I get the songs back? (I found the files
You get exclamation marks or dead tracks because iTunes can’t find the file. This can happen for a number of reasons:
The song file or a folder in its path was renamed
The song file or the folder it is in has been moved
The song file has been deleted
The device containing the song files e.g. external drive is not accessible or the drive letter has changed.
If you use an external drive, a change in drive letter is a common cause and you need to change it back.
AS a way of working out what has happened, right click on a track and select the summary tab (you will have to go past an error message). The summary tab will tell you where iTunes thinks the track is located. How does that compare with where the track actually is?
The xml library file is not used by iTunes, it is created to allow other programs to access the library. You can recreate the iTl file from the xml file, but there is no point if the location of the files is wrong.
There is a simple way of getting you music back in iTunes, but it loses all playlists counts and rating. To do this drag iTunes library.itl and iTunes Library.xml to your desktop. Then open iTunes and an empty library is created. Add you iTunes Media folder to it.
If you can't work out what went wrong and how to fix it, you may have to do this. -
I just got the iPhone 5 and noticed that the message alerts will only alert once . I have it set up as 3 times and its not working . Please help. I'm running 6.0.2 and I really starting to get ****** off with apple products
Instead of getting annoyed, read the User's Guide and try basic troubleshooting.
-
I have a 160GB Hard Drive in my MBP and use VMWare Fusion and had a 60GB Virtual Machine running Windows XP. Deleted the Virtual Machine and CANNOT find the 60GB space I desperately need! Anybody out there with a similar problem? Help!
Thanks - Of Course the first thing I checked and did.
Disc Utility reads as follows:
Capacity : 159.18 GB (159,182,127,104 Bytes)
Format : Mac OS Extended (Journaled) Available : 11.47 GB (11,472,896,000 Bytes)
Owners Enabled : Yes Used : 147.71 GB (147,709,231,104 Bytes)
Number of Folders : 139,540 Number of Files : 511,832
Activity Monitor(Disc Usage) shows something quite interesting. Mac HD and Ramanan (Main User) - My hard drive is only 160GB! Would the retired engineer gentleman please note as well. Many thanks. Rams -
Why the ISTORE of Malta is not up to date with the latest movies and series like the UK & USA and why old movies are being uploaded .
I believe the apple should be universal in all the products and a small island like Malts should have the same products for sale on ISTORE like of the UK and USA.The iTunes and App stores are inherently different in different countries. Local laws on copyright and other limits on the distribution of intellectual property make it impossible for Apple to simply put everything in every store. Sometimes, the owner of the intellectual property does not allow it to be distributed everywhere. Keep in mind that Apple does not own the music, books, movies and such that they allow for sale in their store front, so they do not necessarily have any say in what may, or may not appear in what store.
-
I am running a MacBook Pro with 10.7.5 and I downloaded the OS X 10.10.2 Update Combo.
When I try and open the package after accepting the lincence-agreement and upon choosing the install-volume the error message appears: "This volume is used for TimeMachine-backups".
Which is not true. I´m using a timecapsule for backups.
How can I proceed?I am using a MacBook Pro (2010) with 2.53 GHz Intel Core i5, 4GB, 1067 MHz, DDR3, Startvolume Macintosh HD.
After downloading the package and starting upgrading it asks acceptance of the license-agreement. After that it asks for the volume were to install. And when I click on the Startvolume Macintosh HD (which is the only available on the machine) it says: "The volume is already being used for Time Machine-Backups".
It doesn´t offer to skip that point or to reconfigure the Time Machine settings.
The point is that my Time machine is not and has never used the Mac HD for Backups. In the past I have used an external drive and since 05/2014 I am using a Time Capsule which is appropriately addressed in the Time Machine settings. -
How do I send an email with a group address and not show the addresses/names of the recipients?
Use BCC. That's blind carbon copy. And copy paste the address into the BCC field. It really depends what e-mail program you use how to enable BCC.
-
I am creating a slideshow with elements using photos and videos but the video sound doesnt play?
Hello jive
I am playing it back in the slideshow editor/setting up part of
programme where you determine photos/video to be included gaps between
slides, music to play etc This goes through each phot and when comes
to a video the background sound doesnt play, I am using windows 7 and
elements 10.
regards gins51 -
Creating a template in Pages is straight-forward as answered here previously. Is there an equivalent for iBooks Author which can start with a blank page and build up the template as required? or can one only adapt a ready made template? This has proved unsatisfactory to me so far. Lines are left in etc.
There are two basic menus for fonts - one from the main menu bar and one from the toolbar. You can also bring up the font manage dialog.
I don't recommend trying to hard to force an otherwise foreign font, as it inevitably needs to be usable/supported on iOS as well, and that can get tricky w/3rd party fonts, as an example, even with the expanded font support in the latest iBA.
If you need to discuss fonts more, I suggest starting a new thread....preferably with a slightly more brief title, thanks. -
Hi! Why is the version file smaller than the original file, although I didn't make changes in the file? And why is the keywords don't exporting with original files?
Wild guess: you're using the the wrong export settings. You'll need to tell us more before we can help you - like the export settings you're usng, the size and format of the originals etc.
-
I'm an artist with a number of CDs in the itunes store and most of the customer reviews and ratings are missing or hidden. I know there have been reviews posted but I can't see them on my computer in the itunes store. Anyone have a solution?
You aren't being left in any lurch. Your hardware is obsolete, and the software world has moved on. If you have a qualm about the matter then discuss it with the software's developers. Apple is not responsible for software they do not develop. This is technology, and you will just need to get used to it.
Maybe you are looking for
-
10.5 Finder search windows no longer find files!!!!
We have a new X Serve with OS 10.5 Server and Three Macs running OS 10.5 Family pack. The X Serve holds all of our work files. The other Macs are simply work stations. Up until recently we have been able to search the X Serve for files by typing in a
-
ITunes doesn't let me rename imported voice memos
iTunes 10.5.2 (11) I'm finding that I can't rename tracks I've imported from iPod (Voice Memos) since updating to latest iTunes. I type in the new name for the track then, when I click another track, the renamed track reverts to the original name aga
-
Blue screen with Hyper-v on T410
Since Microsoft did not put Hyper-V on Win7, my company was forced to install Server 2008 R2 on quite a few machines. My sales people need to do demos and in some cases project them so I installed the Intel 8.15.10.2104 driver (meant for Windows 7 bu
-
How to CIF product locations for many parts from R/3 to SCM SPP
We are trying to CIF product locations of 2500 parts. We are able to take only 10 parts in one transfer. Can anyone help us with this. How do we transfer all these parts in a single attempt.
-
The new Itunes 6.0 won't play any songs
Since i downloaded the new i tunes software, neither quicktime nor itunes will work. itunes opens but won't play any of my songs, and i think it has to do with quicktime.when i click on quicktime, it won't open and says that there is an error. maybe