Why can't  the JSP display the data with logic:iterate?

Hi,all
I am writing a web application with Struts framework. I dont know what's the problem when I use the tag logic:iterate in my application. I have created a form bean follow source code:
public class ProductsForm extends ActionForm {
     private Vector alist;
     public void reset(ActionMapping mapping, HttpServletRequest request) {
     this.alist = new Vector();
     public Vector getAlist() {
          return alist;
     public void setAlist(Vector alist) {
          this.alist = alist;
I also created action for the form
public class ProductsAction extends Action {     
public ActionForward execute(
          ActionMapping mapping,
          ActionForm form,
          HttpServletRequest request,
          HttpServletResponse response)
          throws Exception {
               String target = "success";
               if(form!=null){
                    ProductsForm aForm = (ProductsForm) form;
                    Vector aList = new Vector();
     //loadProductsList() method return the Vector object
// which is a array included Product object.
                    aList = loadProductsList();
                    if(!aList.isEmpty()){
                    request.setAttribute("aList",aList);
               return mapping.findForward(target);
JSP page follow:
<logic:iterate id="aitem" name="aList">
<tr>
<bean:write name="aitem" property="productname"/>
</tr>
</logic:iterate>
Anybody tell me why the JSP page can't display the result. Thanks.

Are you getting any error messages, or are you just not seeing anything in the page? If you get error messages, please post them.

Similar Messages

  • Why can't I connect to the ITunes Store?Also can't download any CD's.For 3 weeks now and no tech support to help on phone?what is up???

    Why can't I connect to the ITunes Store?Even through I troubleshooted with the info I was e-mailed,created new password,
    made sure date,keychain was correct etc and still cannot open store .I have MacOSX 10.4.11 and it does not let me download
    the latest version of iTunes.I need to speak to someone on the phone as it has been over 3 weeks now and this issue is still
    not resolved. also cannot download any CD's. After reinstalling disc 1 as told by 1 800 MY APPLE (as I was unable to cut and paste
    on my Mac)I ended up having to bring the computer in to the Apple Store on 5th Ave in Manhattan as it also required Disc 2 .
    Unfortunately I did not back up my music library and was not told it would be fully erased due to reinstallation. My 6 year music
    library got completely wiped out.iTunes had a history of my purchases but I received an e-mail stating about 35 songs and
    videos I purchased cannot be retroactive due to modification(I don't know what this means)I greatly appreciate if someone would
    help me clarify this issue.
    Thank you.
    Sincerely,
    Maria 

    Does it work at Starbucks and Public Library?
    Have you tried updating the router firmware?

  • Why can't i connect to the itunes store on my ipad?

    why can't i connect to the itunes store on my ipad?

    Hello gtsowen,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Troubleshoot issues on an iPhone, iPad, or iPod touch
    If you haven't been able to connect to the iTunes Store:
    Make sure your date, time, and time zone are correct in Settings > General > Date & Time.
    Note: Time Zone may list another city in your time zone.
    Make sure that your iOS software is up to date by tapping Settings > General > Software Update (iOS 5 or later) or connecting your iOS device to iTunes and clicking Check for Update on your device's Summary page.
    Check and verify that you're in range of a Wi-Fi router or base station. If you're on a device with cellular service, make sure that cellular data is turned on from Settings > General > Cellular.
    Note: If connected to cellular data, larger items may not download. You may need to connect to Wi-Fi to download apps, videos, and podcasts.
    Make sure that you have an active Internet connection. You can check the user guide for your device for help with connecting to the Internet.
    Make sure that other devices (portable computers, for example) are able to connect to the Wi-Fi network and access the Internet.
    Try resetting (turning off and then on again) your Wi-Fi router.
    If the issue persists, try troubleshooting your Wi-Fi networks and connections.
    Best of luck,
    Mario

  • Why can't I connect to the iTunes Store on my new iPad??

    Why can't I connect to the iTunes Store on my new iPad??

    Saw this on another post.
    Applecare Senior Advisor Txx Bxxx (I have his contact info in an email he just sent) just confirmed with me that the problem people are having with the App Store not loading is an apple issue with there servers, ITS NOT YOUR IPAD so don't go restoring it!   It's not happening to everyone however but they are looking into it, its really hit or miss.
    In the meantime ...........
    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • Why can I not connect to the itunes store on my iPhone?

    Why can I not connect to the itunes store on my iPhone? Heard that other people are having the same problem and that Apple needs to fix it.

    Hello sakif16,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Troubleshoot issues on an iPhone, iPad, or iPod touch
    If you haven't been able to connect to the iTunes Store:
    Make sure your date, time, and time zone are correct in Settings > General > Date & Time.
    Note: Time Zone may list another city in your time zone.
    Make sure that your iOS software is up to date by tapping Settings > General > Software Update (iOS 5 or later) or connecting your iOS device to iTunes and clicking Check for Update on your device's Summary page.
    Check and verify that you're in range of a Wi-Fi router or base station. If you're on a device with cellular service, make sure that cellular data is turned on from Settings > General > Cellular.
    Note: If connected to cellular data, larger items may not download. You may need to connect to Wi-Fi to download apps, videos, and podcasts.
    Make sure that you have an active Internet connection. You can check the user guide for your device for help with connecting to the Internet.
    Make sure that other devices (portable computers, for example) are able to connect to the Wi-Fi network and access the Internet.
    Try resetting (turning off and then on again) your Wi-Fi router.
    If the issue persists, try troubleshooting your Wi-Fi networks and connections.
    Have a nice day,
    Mario

  • I'm using iphone 4s with ios6, but why can't make facetime over the cellular networks?thanx for the answer

    i'm using iphone 4s with ios6, but why can't make facetime over the cellular networks?thanx for the answer

    Depends on your carrier and data plan.
    With ATT in the US for example, you can FaceTime via ATT's cellular network if you have a shared data plan only.

  • Why can't I connect to the Internet on my Adobe Reader? And why do websites tell me I don't have Adobe downloaded when I have an updated version on my computer? It is an IPad,does that affect it?

    Why can't I connect to the Internet on my Adobe Reader? And why do websites tell me I don't have Adobe downloaded when I have an updated version on my computer? It is an IPad,does that affect it?

    Also, download and open the free Adobe Reader app. Then read the Help section to figure out how to use it.

  • Why can I no longer open the App store on my MacBook pro

    Why can I no longer open the App store on my MacBook pro

    Welcome to the Apple Support Communities
    What happens when you try to open the App Store?

  • Why can't i connect to the itunes store

    why can't i connect to the itunes store?

    Dear
    I have this question around 1 week before I make the decision to upgrade my Ipad2 to the new version iOS 5 , however, the problem is same , I can not connect to ITUNES store
    I had tried all of the method you have presented that posted at Internet but no result
    I decided to return to i studio to ask them the reason, but when I gave my IPad to the staff, he just put his wifi password, then the iPad can work as ussually , then he told me maybe my Internet problem, but I can connect to surb my web, I can do everything except to connect the iTunes.
    Then after I call to the wifi provider company, they ask me o set up all the proxy then now I can connect to iTunes store as normally.
    Hope will help you

  • Why can't I connect to the iTunes store 9/24/2011?

    Why can't I connect to the iTunes store 9/24/2011?

    Dear
    I have this question around 1 week before I make the decision to upgrade my Ipad2 to the new version iOS 5 , however, the problem is same , I can not connect to ITUNES store
    I had tried all of the method you have presented that posted at Internet but no result
    I decided to return to i studio to ask them the reason, but when I gave my IPad to the staff, he just put his wifi password, then the iPad can work as ussually , then he told me maybe my Internet problem, but I can connect to surb my web, I can do everything except to connect the iTunes.
    Then after I call to the wifi provider company, they ask me o set up all the proxy then now I can connect to iTunes store as normally.
    Hope will help you

  • Why can't i connect to the itunes store on my ipad, why can't i connect to the itunes store on my ipad

    why can't i connect to the itunes store on my ipad

    What have you tried to fix it ? e.g. have you tried :
    - logging out and back into your account on it
    - disconnecting and reconnecting to your network
    - a soft-reset (i.e. a reboot)

  • Why can't I connect to my  iphone5 with my iPad, Snote2 or another iPhone5  through wifi as a hotspot, only through Bluetooth?  My Snote2 can't even find the iphone5 as a hotspot.

    Why can't I connect to my  iphone5 with my iPad, Snote2 or another iPhone5  through wifi as a hotspot, only through Bluetooth?  My Snote2 can't even find the iphone5 as a hotspot, even on Bluetooth.
    I've reset, restored and updated everything but no go.

    WiFi is preferable for use as a hotspot to Bluetooth.
    Have you tried Settings > General > Reset > Reset Network Settings?
    If you have and it didn't work I would take the iPhone in for service.

  • Why can't I connect to the itunes store on my windows 7 64 bit pc

    Why can't I connect to the itunes store on my windows 7 64 bit pc?

    perfect, thanks.
    When I try to connect to the itunes store, it says 'accessing itunes store' and just hangs there.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Why can't I connect to the update server?  If I download manually, how do i update the phone?

    Why can't I connect to the update server?  If I manually download SW, how do I update phone or ipad since it is not in iTunes?
    Thanks

    I assume all of your network connections are OK,  you can get to the internet and that you aren't blocked by something like an enterprise firewall.  Are those assumptions correct?  .  My experience has been that from time to time, the update server get's "maxxed out", and if you try later it will work. 

  • Why can't I connect to the game server

    why can't I connect to the game server from my ipod touch?

    Do you have Wi-Fi connection? Start any app with Game Center feature.

Maybe you are looking for

  • Getting SQL Server Express Running

    I'm trying to get SQL Server Express running on my home computer that runs Window 7 Professional. So far, I have downloaded and installed SQL Server Express. The Windows Start list shows Microsoft SQL Server 2008 and Microsoft SQL Server 2008 R2. I'v

  • Windows Media Player to iTunes

    I have several media files on Windows Media Player, and I want to load them onto my iPod. Can that be done, and if so, how? I tried a direct transfer from my computer hard drive to the iPod, but none of the music showed up on the iPod. This lead me t

  • Why I can`t import media file to my second disk?

    I install ssd on my mbp as startup disk,when I try to import media,I can`t select my HDD as save path? What should I do?

  • Error downloading large patches

    We've been having an issue with Patch Wizard failing on the patch download for large patches and I'm wondering if anyone else has experienced similar problems. The patch would start to download and fail after about 1120k. In doing research to determi

  • Beta Testers

    First, Id like to say this is a pretty loust business move on Apples part. I was using Apple products before some people on here were even born, up until the late 90's when I switched from my perform 636 to an HP. Ive been looking at Apple products f