Show HashMap in Datatable. UIColumn with embedded Datatable. Help Needed

Hi,
I am trying to display a HashMap in a datatable where the values for each key is an ArrayList e.g.
        ArrayList al = new ArrayList();
        al.add("AA");
        al.add("BB");
        al.add("CC");
        HashMap hm = new HashMap();
        hm.put("ONE", al);
        ArrayList al2 = new ArrayList();
        al2.add("AA2");
        al2.add("BB2");
        al2.add("CC2");
        hm.put("TWO", al2);Now I have a Datatable with two columns. First column shows the key and the second column I again have
a datatable to show the ArrayList. So I will have one row with a key and the values again shown in a
datatable. So far I no luck and need some help on how to achieve this. Here is the index2.jsp code I have:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<f:view>
  <html>
    <head>
      <meta http-equiv="Content-Type"
            content="text/html; charset=windows-1252"/>
      <title>index2</title>
    </head>
    <body><h:form binding="#{backing_index2.form1}" id="form1">
    <h:dataTable value="#{backing_index2.entrySet}" var="var1"
                     binding="#{backing_index2.dataTable1}" id="dataTable1" border="1">         
          <h:column>
            <f:facet name="header">
              <h:outputText value="Keys"/>
            </f:facet>
            <h:outputText value="#{var1.key}"/>
          </h:column>
          <h:column>
              <f:facet name="header">
                  <h:outputText value="Values"/>
                </f:facet>
              <h:dataTable value="#{backing_index2.entrySet}" var="var2"
                         binding="#{backing_index2.dataTable2}" id="dataTable2">             
                  <h:column id="col2">
                    <h:outputText id="out3" value="#{var2.value}"/>
                  </h:column>
            </h:dataTable>
          </h:column>
        </h:dataTable>
    </h:form></body>
  </html>
</f:view>And here is the backing bean Index2.java I have:
package project1.backing;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import javax.faces.component.html.HtmlDataTable;
import javax.faces.component.html.HtmlForm;
public class Index2 {
    private HtmlForm form1;
    private HtmlDataTable dataTable1;
    private HtmlDataTable dataTable2;
    private List entrySet;
    private HashMap hm;
    public Index2() {
        ArrayList al = new ArrayList();
        al.add("AA");
        al.add("BB");
        al.add("CC");
        hm = new HashMap();
        hm.put("ONE", al);
        ArrayList al2 = new ArrayList();
        al2.add("AA2");
        al2.add("BB2");
        al2.add("CC2");
        hm.put("TWO", al2);
        entrySet = new java.util.ArrayList(hm.entrySet());
     //here it only prints two rows as i have two keys but on the output it
     //does not come up fine
        for (int i = 0; i < entrySet.size(); i++) {
            System.out.println("==== " + entrySet.get(i));
    public void setForm1(HtmlForm form1) {
        this.form1 = form1;
    public HtmlForm getForm1() {
        return form1;
    public void setDataTable1(HtmlDataTable dataTable1) {
        this.dataTable1 = dataTable1;
    public HtmlDataTable getDataTable1() {
        return dataTable1;
    public void setDataTable2(HtmlDataTable dataTable2) {
        this.dataTable2 = dataTable2;
    public HtmlDataTable getDataTable2() {
        return dataTable2;
    public void setEntrySet(List entrySet) {
        this.entrySet = entrySet;
    public List getEntrySet() {
        return entrySet;
    public void setHm(HashMap hm) {
        this.hm = hm;
    public HashMap getHm() {
        return hm;
}Now when I run this application the keys are shown in the respective column but values are coming up as
[AA2, BB2, CC2] in one row rather in a separate Row as I am using a Datatable inside UIColumn to show the values.
Here is what I see in the output:
keys        Values
TWO         [AA2, BB2, CC2]
            [AA, BB, CC]
ONE         [AA2, BB2, CC2]
            [AA, BB, CC] As above output is not correct as it shows both list values in front of each key rather than what those
keys are tied to. I wanted the following output:
keys        Values
ONE         AA
            BB
         CC
TWO         AA2
            BB2
         CC2So I can do sorting pagination on the values datatable. But currently the output is not shown correctly. Any help
is really appreciated. My hashmap will be populated dynamically so wants to show the key and values in separate column
but also need to show the values in an embedded datatable as the list can be huge.

Rather use a Collection of DTO's. See http://balusc.xs4all.nl/srv/dev-jep-dat.html for some insights. There is also a section "Nesting datatables".

Similar Messages

  • EDI IDOC generation for interface with Vendor software help needed.

    EDI IDOC help needed.
    We are NOT an EDI shop, but have a project to output data to Sales Force.com
    Sales Force requests IDOC output - eg. 810 Outbound Invoice.
    We will need to do a historical load of Orders/Quotes/Invoices from the past 2 years.
    Is there a function module or series of FM's that are used to generate the E2EDKxxxxx type segments?
    I have been testing using the IDOC_OUTPUT_INVOIC and IDOC_OUTPUT_ORDRSP FM's, but they generate segments begining with E1EDKxxxxx.
    Basicall we have a report program that the user enteres in the date range of Order/Quotes/Invoices they wish to extract, the the program needs to output a flat file (.txt) on the server which is then picked up by Sales Force.com.
    Also, is there a way to have in the Partner Profile a generic Partner under the "Type KU" that can be used for all orders/invoices so I don't have to create a KU Partner Type for each and every Sold-To customer we have?
    I am very new to EDI so any help would be greatly appreciated.
    Thanks.
    Scott.

    Hi Scott,
    We will need to do a historical load of Orders/Quotes/Invoices from the past 2 years.
    I know it's very tempting to use an interface for such loads if you anyhow have to create one. However, often the volume alone speaks against interface usage for such scenarios.
    Is there a function module or series of FM's that are used to generate the E2EDKxxxxx type segments? I have been testing using the IDOC_OUTPUT_INVOIC and IDOC_OUTPUT_ORDRSP FM's, but they generate segments begining with E1EDKxxxxx.
    Well, the E2* segments basically reflect the external name of the IDoc segment, whereas the function modules you're referring to basically just create an internal version of the IDoc. Once the IDoc framework then passes the IDocs to the partner, the segment names usually (depends on how the IDocs are passed on) get converted to their external name. If there are multiple versions of a segment, then the version number will be appended to the segment name.
    Note that IDoc segment definitions are only partially stored in the data dictionary. If you want to see all versions you should always use transaction WE31 to look at segments. There you can also see for example for E1EDK01 the several versions and when you then use in SE37 function module SEGMENT_EXTERNAL_NAME_GET you will see what SAP produces as the external name for segment E1EDK01. This function module is basically the one that handles the segment name translations.
    Ignore the comments for subsystem, this is basically an option in SAP to possibly trigger further external tools (e.g. mapping etc.) for handling the outbound IDocs.
    Again, the funny thing is that via the WE30 transaction, if i put in INVOIC02 as the Obj. name and see the segments, i can see that E2EDK01 there is a version 005, but if i go to SE11 and put in E2EDK01005 structure line and i get a "not found". We just have up to E2EDK01002.
    In the old days SAP used to generate E1, E2 and E3* structures in the data dictionary (SE11). The E1* structure reflected the character type representation of an IDoc segment, whereas the other two (definition and documentation) contained actual references to data elements (e.g. if you used a quantity field). However, in newer releases those dictionary structures (E2* & E3*) are no longer generated, because they're superfluous (meta data defined via WE31 is sufficient).
    Cheers, harald

  • Trouble with new G570 - help needed

    Dear All,
    I am a new, rather unhappy, customer of Lenovo UK as of this week, via a dealer called www.saveonlaptops.co.uk .
    I'm terribly disappointed to have had such a bad experience...
    I purchased a Lenovo G570 (product code M5143UK)  from the above vendor on their website using my credit card on 17th July 2011...
    I eagerly awaited delivery on 19th July 2011.
    Unfortunately, upon setting up the laptop and switching it on, it became quite clear that there are hardware issues with the laptop.
    It took me 3 hours to get the laptop working, after it repeatedly attempted to install/configure software and OS updates and repeatedly failed midway through often shutting down of its own accord too early to allow update to complete.
    3 hours after, I had got it working, but immediately noticed how SLOW the laptop is...The 3 year old Dell laptop I sold last week ran much much faster than this Lenovo ever has.
    The boot time averages over 2 minutes just to get to login screen, and applications are unacceptably slow loading/running.
    I had spoken with Lenovo UK support whom suggested that it should run no slower with a retail version of Windows 7 64-bit OS on it, which at the consent of them, I duly installed.  Unfortunately, a further 4 hours of waiting for repeatedly failing OS updates to install took place, before this version of Windows 7 (clean install) ran even worse than the original OS image. 
    Lenovo UK support have said that I need to return the laptop to the vendor to be assessed, but the vendor is currently refusing to accept any come back as such, and saying that due to the clean install carried out (at the consent of your support guys remember) that they will not return and swap for a brand new like-for-like laptop.
     I have been assured previously by Lenovo that clearing a partition off of the HDD and applying a fresh install will not invalidate warranty...!!!!!!!!!
    I have never received such poor service from a hardware vendor or a how manufacturer, especially seeing as I had fully researched the brand/model I was to purchase for weeks prior to final purchase.
    I am writing to your goodself in the hope that you can arrange for a brand new laptop of the same spec to be sent to me, and arrange for the courier to collect the faulty one at the same time to stop me being without a laptop.
    The vendor has been rude, unhelpful, dishonoring towards me and Lenovo and I wish I had not approached them to purchase this laptop.  The price though was £80 odd cheaper than with Lenovo direct.
    All I want is a non faulty laptop to last me 5 years before i change for a new Lenovo (if the service is good!) model.
    You will find a copy odf my order attached.
    I look forward to hearing from you soon.
    Kindest regards
    Invoice Date:
    18/07/2011
    Customer Name:
    Order Number:
    Invoice Address:
    Delivery Address:
    Stock Code
    Description
    Price
    Qty
    Sub Total
    M5143UK
    Lenovo G570, Intel® Core™ i5-2410M Dual Core Processor, 15.6" HD Screen, Windows 7 Home Premium Edition 64-bit, 6GB DDR3 RAM, 750GB HDD, Blu-Ray, Dedicated Graphics, M5143UK
    £563.78
    1
    £563.78
    DEL-000011
    £9.98 - Next Day (UK MAINLAND Mon-Fri) PARCEL NEXTDAY
    £9.98
    1
    £9.98
    Surcharge:1.50% Card Surcharge>>
    £8.62
    1
    £8.62
    Price (Exc):
    £485.32
    Price (Inc):
    £582.38

    welcome to the forum,
    It's regrettable to read about your experiences to date, obviously not an invigourating experience, reads very much like a pillar to post scenario
    Firstly; a clean windows install does not invalidate the warranty regardless of what the reseller says. The warranty covers the hardware, unless explicity stated and purchased there is no warranty on software whatsoever.
    IMHO your first point of contact should have been the retailer to ask if they were in a position to offer a possible solution. Should they then have at some point instructed you to contact Lenovo support you would be in a stronger position to argue that they should resolve the issue. Whatever, you did the right thing by contacting support. Did support issue you with a call number which you noted down and could share? Against the call number there will be notes logged by the service rep. and you could ask the retailer to call and validate the instructions you were given by support.
    As this is a peer to peer forum, provided by Lenovo in order that members may seek assistance from others and share their experiences, there is a Lenovo presence which deals with some of the broader issues, it's not always possible for them to assist on all individual issues. Members will certainly be glad to and be able to assist you diagnose any possible hardware fault with the system which would then hopefully provide you with the facts you need to hopefully reach a speedy resolution.
    You're probably pretty miffed at the moment and don't want to read the following, but it's meant well.
    As a first step I'd like to suggest downloading the mediacreator from this site and use the media you create to test the system's hard drive, please let us know the results.
    Best Regards
    edit; typo
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Site lookup columns that contain a list with lookup columns help needed

    Here is the theoretical scenario,
    I have a list called Shirts. The list contains name,color, and size columns.
    I have a list called Pants This list contains name, color and size columns as well.
    These two lists are contained at the root level of the site. I created site lookup columns for these two lists and used the name, color and size columns as additional fields on both lookup columns. Lets call these lkupPants and lkupShirts.
    On a sub site I have a list called people. It contains name,date,lkupPants and lkupShirts columns.
    The list looks something like this is dataview:
    Name Date lkupPantsName lkupPantsColor lkupPantsSize lkupShirtName lkupShirtColor lkupShirtSize
    This is the behavior I expected. The additional columns selected in the site lookup columns appear in the list.
    I now create another site lookup column this one is based on the list called people at this subsite level. When creating the site lookup column, the data from lkupPants and lkupShirts are not available.
    How can one create a lookup column that contains list data and any lookup columns contained in the list as additional fields.
    If anyone can see where I am going with this, can they provide another means to accomplish what I am trying to do?
    fr0stsp1re

    create additional columns in people list.  look up values are available in the workflow so populate the additional columns with the values you need.  this will allow you to create another look up column based on this list and all the fields needed.
     just a thought.
    kashif

  • How can i get a photoshop file that is compatible with my mac help needed....... imac G5 power mac 8,2

    photoshop file that is compatible with my imac g5 help needed much..............

    If you go to the Apple menu and then click on About This Mac, that should tell the Mac OS X Version
    and type of Processor
    Chances are for a PowerPc processor, photoshop cs4 is the newest version you can use
    What about your laptop?
    Is it a mac as well?

  • Exporting to flash with embedded video HELP

    I am working on a presentation that includes a video I shot and edited on FCP. I used compressor to resize and reformat to a mpeg4, which I thought would be a very universal format. However, while it does play nicely in my Keynote presentation, it refuses to export to flash. groan.
    Can anyone suggest a video format that will play nicely in my keynote presentation and export to flash?
    Note: If it matters or helps: I always post my presentations in flash for my non-mac co-workers. They are able to view them in explorer from the intranet. They can also download, place them on usb flash drives and give them to potential clients. Everything was fine until I started to add video (which of course everyone wants).
    Thank you very much
    MacBook Pro Mac OS X (10.4.8)

    Welcome to the discussions, jimfospace.
    Anytime you export to Flash, it will not include the video so, no, there's not a format that will play at all when exported to Flash.

  • Watch Folder doesn't work with cineform codec - help needed

    My computer is a:
    2x Intel Xeon Processor E5-2650 (2000 MHz, 20MB);
    16x Kingston DIMM 8 GB PC3-8500 ECC Reg.;
    PNY Quadro 4000 with 2048 MB GDDR5-RAM;
    2x 2000 GB Western Digital RE4 (7200 UPM/S-ATA II) as a RAID I
    1x 120 GB OCZ Vertex 3 SSD
    1x 240 GB OCZ Vertex 3 SSD (system disk)
    Tyan S7050GM4NR motherboard
    Windows 7
    with the actual version of media encoder cc and as codec I use cineform GoProStudioPremium-2.0.1.319
    I have about 2000 files to be converted from cineform avi with 4k resolution to cineform avi with 1920x1080.
    All files are pre-keyed and have rgb+alpha (4:4:4:4).
    When I add the folder to the "watch folder"-list then it encodes the first few clips and then I get the error message:
    the AMEEncodingErrorLog shows:
    - Encoding Time: 00:00:00
    03/26/2014 12:27:49 AM : Encoding Failed
    A low-level exception occurred in: CineForm AVI File (Exporter)
    A low-level exception occurred in: CineForm AVI File (Exporter)
    Export Error
    Error compiling movie.
    Unknown error.
    My cineform settings are:
    Does anybody know how to solve the problem or any workaraound?
    What I already tried is to drag and drop a "few" files, for example 50 clips manually into the ame. What then happens is that the media encoder crashes completely.
    I've got a client that needs all those files converted until the end of this week, so I would be really happy if anybody could help me.
    Or has anyone an idea for another encoder I could use? I also tried it with telestream episode but it does not support avi container with cinepro-codec...
    VirtualDub doesn't support alpha channels, so which program could work?
    Best regards,
    Wolfram

    Hello Nariman,
    thanks for your answer
    1. Exactly what version does it say you have?
    Version 7.2.0.43
    2. what happens if you open other types of files like .MOV or WMV and convert to Cineform?
    I tested it with mov- and wmv-files:
    No, same problem: [..\..\Src\LegacyTime.cpp-101]
    3. what happens if you take your Cineform files and convert them to other formats like H264?
    This works fine.
    4. How large or small are your files?
    The size of the files is between 70MB and 300MB, but 90 % of them are between 90MB and 130 MB.
    5  Are these stills or movies ?  How many minutes?
    All items are pre-keyed movies (which I exported from after effects via media encoder to the 4k-cineform files). The length of all files is between 2 und 5 seconds.
    6. Are you using 3rd party plugin to import and export Cineform?
    I have got the cineform studio premium codec installed. It shows up directly in the media encoder options. So I don't use anything else than media encoder and the cineform codec

  • FCPX crashs with 2nd disk, help needed

    Hi Everyone,
    My FCPX keep crashing on launching.
    FCPX 10.0.2
    Lion 10.7.2
    MBP 15' with two disks, SSD for system and HD for media (replaced the dvd).
    I know there might be thousands reason to lead the crashs, but here's the excatlly repo on my MBP.
    1. Unmount HD, run FCPX, everyting goes well.
    2. Mount HD, run FCPX, crashs everytime before I can see the UI.
    3. Unmount HD, run FCPS, mount HD, FCPX crashs in 2~3 sconds.
    Workaround applied.
    fresh install FCPX, even trial version
    delete event and performances
    repeir and verify disk premessions
    I'd like to appreciate all the guys that read my thread and specially who could share some lights on this issue.
    attached crash log:
    Crashed Thread:  17  MIO Mounting Thread
    Thread 17 Crashed:: MIO Mounting Thread
    0   com.apple.MPEG2RADPlug         0x0000000122b5860d IsValidMPGDir + 8613
    1   com.apple.MPEG2RADPlug         0x0000000122b594c8 IsValidMPGDir + 12384
    2   com.apple.MPEG2RADPlug         0x0000000122b55d14 0x122b54000 + 7444
    3   com.apple.MPEG2RADPlug         0x0000000122b56239 0x122b54000 + 8761
    4   com.apple.MPEG2RADPlug         0x0000000122b55fb0 0x122b54000 + 8112
    5   com.apple.MPEG2RADPlug         0x0000000122b55fe6 0x122b54000 + 8166
    6   com.apple.MPEG2RADPlug         0x0000000122b55fe6 0x122b54000 + 8166
    7   com.apple.MPEG2RADPlug         0x0000000122b55fe6 0x122b54000 + 8166
    8   com.apple.MPEG2RADPlug         0x0000000122b55fe6 0x122b54000 + 8166
    9   com.apple.MPEG2RADPlug         0x0000000122b55d9f 0x122b54000 + 7583
    10  com.apple.proapps.MIO         0x000000010161db42 -[PluginLockPair volumeWithPath:error:] + 530
    11  com.apple.proapps.MIO         0x000000010161df54 -[PluginLockPair createVolumeForPath:error:] + 52
    12  com.apple.proapps.MIO         0x000000010161e3df -[PluginLockPair mountPath:] + 639
    13  com.apple.proapps.MIO         0x000000010161ec7c -[PluginLockPair scanPaths] + 332
    14  com.apple.Foundation           0x00007fff8d8a27fe -[NSThread main] + 68
    15  com.apple.Foundation           0x00007fff8d8a2776 __NSThread__main__ + 1575
    16  libsystem_c.dylib             0x00007fff8985b8bf _pthread_start + 335
    17  libsystem_c.dylib             0x00007fff8985eb75 thread_start + 13
    Thread 17 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000001  rbx: 0x0000000124a2d8cc  rcx: 0x0000000000000000  rdx: 0x0000000000000000
      rdi: 0x00000000ffffffff  rsi: 0x0000000000000000  rbp: 0x00000001231edc90  rsp: 0x00000001231edb10
       r8: 0x0000000000000000   r9: 0x0000000000000064  r10: 0x0000000000000001  r11: 0x0000000000000000
      r12: 0x0000000124a2d8b8  r13: 0x0000000124a2d870  r14: 0x0000000124a2d870  r15: 0x0000000000000001
      rip: 0x0000000122b5860d  rfl: 0x0000000000010246  cr2: 0x0000000114b6d000
    Logical CPU: 1

    it connected... in side, originally
    I just removed the DVD and put a SSD into that room as my system drivers. The HD is untouched.
    As you seen in screenshot (show hidden file), if I deleted the .fcpuser and .fcplock, it'll autmatically create every time I run FCPX, even i mount this driver after FCPX launchs.
    All the video file is store in lightroomlibrary. and tones photos are in photos folder.
    Is it possible that FCPX will scan the file on my disks and happneds that one of video files is broken?
    I'm removing all the files to my mobiledrive, it'll take some minuts to see the result.

  • ICal not syncing with Outlook correctly - Help needed

    Hi there,
    I have just bought an iPhone 4S (last week), and I've decided to set up iCloud so that it syncs my calendars and contacts between my phone, my iMac, and my Macbook.
    I am running Outlook Home 2011 for Mac, and I have it working so that iCal and Address Book can read contacts and calendar entries from Outlook, but for some reason it won't work in return.
    I want to be able to update something on my phone, that to in turn update my iCal/Address Book on my macs, and that in turn to update Outlook. That is the only step I can't seem to get working. My phone will update iCal, but it won't then push that update to Outlook for some reason.
    Any ideas why this would be? As I say, I can create an event in Outlook and almost immediately view it on my phone, but when creating an event on my phone, nothing shows up in Outlook?
    Any help would be great.
    Thanks!

    Hi thomohawk85
    If your Office 2011 is under warranty just call teh Microsoft Support desk.  During a 45 minute call they explained tha there were problems with set up that MS are now getting a handle on and took me through routines (involving multiple reboots andd deletions of pst file etc) whih result now in perfect sync between Outlook and iCal/Address Book.  One caveat - I cannot now use iCloud as this creates an alternative iCal/Address Book account and will delete any entries in Outlook.

  • What is wrong with this javascript with jsp - asap help needed

    <script language="javascript">
    function checkSubmit(form){
                    // Loop from zero to the one minus the number of radio button selections
                    for (counter=0; counter < document.submitform.authortitle.length; counter++){
                        if (form.authortitle[counter].checked){
                            var splitStr = document.submitform.authortitle[counter].value;
                            alert(splitStr);
                            var splitStrArray = new Array();
                            splitStrArray = splitStr.split(","); alert(splitStrArray[2]);
                            splitStrArray[2].trim();
                            if(splitStrArray[2].equals("null")){
                                alert("true");
                                //replace the form action with somefile.jsp
                                document.forms[0].action="searchAmazon.jsp";
                                form.submit();
                            }else{
                                document.forms[0].action="isbnSearch.jsp";
                                form.submit();     
            </script>the above javascript method is acting stupid.. it shows the first two alerts but does not go in the if statement "if(splitStrArray[2].equals("null")){ " and does not show the third alert. i do not c any problems pls help... when i click the option and submit it gives me a jasper exception pointing to some line which does not involve this code...

    it has started working now basically the problem was the trim() method which i have removed and have changed .equals("null") to == ..
    BUT NOW it always does the else command and goes to the isbnsearch page even if the value is null (if null then it should go to another page)...

  • Problem with jasper. Help needed urgently!

    Hi everybody. I'm trying to run jasper reports in a new web applicattion i've done. The problem is that the jasper runs perfectly in my pc i've developed the apllicattion but it doesn't work in the server. The error message that I show is:
    [Error de servlet]-[net/sf/jasperreports/engine/fill/JRVerticalFiller]: java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/fill/JRVerticalFiller
    java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (Throwable.java:85)
    java/lang/Error.<init>(Ljava/lang/String;)V+1 (Error.java:41)
    java/lang/NoClassDefFoundError.<init>(Ljava/lang/String;)V+1 (NoClassDefFoundError.java:38)
    net/sf/jasperreports/engine/fill/JRFiller.createFiller(Lnet/sf/jasperreports/engine/JasperReport;)Lnet/sf/jasperreports/engine/fill/JRBaseFiller;+44 (JRFiller.java:147)
    net/sf/jasperreports/engine/fill/JRFiller.fillReport(Lnet/sf/jasperreports/engine/JasperReport;Ljava/util/Map;Ljava/sql/Connection;)Lnet/sf/jasperreports/engine/JasperPrint;+1 (JRFiller.java:57)
    net/sf/jasperreports/engine/JasperFillManager.fillReport(Lnet/sf/jasperreports/engine/JasperReport;Ljava/util/Map;Ljava/sql/Connection;)Lnet/sf/jasperreports/engine/JasperPrint;+3 (JasperFillManager.java:402)
    org/apache/jsp/_listado_5F_jasper._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+503 (_listado_5F_jasper.java:173)
    com/ibm/ws/webcontainer/jsp/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (HttpJspBase.java:89)
    javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (HttpServlet.java:848)
    com/ibm/ws/webcontainer/jsp/servlet/JspServlet$JspServletWrapper.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+225 (JspServlet.java:396)
    com/ibm/ws/webcontainer/jsp/servlet/JspServlet.serviceJspFile(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/Throwable;ZLjava/lang/String;)V+97 (JspServlet.java:880)
    com/ibm/ws/webcontainer/jsp/servlet/JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+352 (JspServlet.java:978)
    javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (HttpServlet.java:848)
    com/ibm/ws/webcontainer/servlet/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictServletInstance.java:105)
    com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:160)
    com/ibm/ws/webcontainer/servlet/IdleServletState.service(Lcom/ibm/ws/webcontainer/servlet/StrictLifecycleServlet;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:313)
    com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:116)
    com/ibm/ws/webcontainer/servlet/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ServletInstance.java:250)
    com/ibm/ws/webcontainer/servlet/ValidServletReferenceState.dispatch(Lcom/ibm/ws/webcontainer/servlet/ServletInstanceReference;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ValidServletReferenceState.java:42)
    com/ibm/ws/webcontainer/servlet/ServletInstanceReference.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ServletInstanceReference.java:40)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (WebAppRequestDispatcher.java:936)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+0 (WebAppRequestDispatcher.java:268)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (WebAppRequestDispatcher.java:155)
    org/apache/struts/action/RequestProcessor.doForward(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (RequestProcessor.java:1058)
    org/apache/struts/action/RequestProcessor.processForwardConfig(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/struts/config/ForwardConfig;)V+0 (RequestProcessor.java:428)
    org/apache/struts/action/RequestProcessor.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (RequestProcessor.java:217)
    org/apache/struts/action/ActionServlet.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (ActionServlet.java:1481)
    org/apache/struts/action/ActionServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (ActionServlet.java:525)
    javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (HttpServlet.java:733)
    javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (HttpServlet.java:848)
    com/ibm/ws/webcontainer/servlet/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictServletInstance.java:105)
    com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:160)
    com/ibm/ws/webcontainer/servlet/IdleServletState.service(Lcom/ibm/ws/webcontainer/servlet/StrictLifecycleServlet;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:313)
    com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:116)
    com/ibm/ws/webcontainer/servlet/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ServletInstance.java:250)
    com/ibm/ws/webcontainer/servlet/ValidServletReferenceState.dispatch(Lcom/ibm/ws/webcontainer/servlet/ServletInstanceReference;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ValidServletReferenceState.java:42)
    com/ibm/ws/webcontainer/servlet/ServletInstanceReference.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ServletInstanceReference.java:40)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (WebAppRequestDispatcher.java:936)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+0 (WebAppRequestDispatcher.java:268)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (WebAppRequestDispatcher.java:155)
    com/ibm/ws/webcontainer/srt/WebAppInvoker.doForward(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (WebAppInvoker.java:79)
    com/ibm/ws/webcontainer/srt/WebAppInvoker.handleInvocationHook(Ljava/lang/Object;)V+0 (WebAppInvoker.java:159)
    com/ibm/ws/webcontainer/cache/invocation/CachedInvocation.handleInvocation(Ljava/lang/Object;)V+0 (CachedInvocation.java:66)
    com/ibm/ws/webcontainer/srp/ServletRequestProcessor.dispatchByURI(Ljava/lang/String;Lcom/ibm/ws/webcontainer/srp/ISRPConnection;)V+0 (ServletRequestProcessor.java:126)
    com/ibm/ws/webcontainer/oselistener/OSEListenerDispatcher.service(Lcom/ibm/ws/webcontainer/oselistener/api/IOSEConnection;)V+0 (OSEListener.java:317)
    com/ibm/ws/webcontainer/http/HttpConnection.handleRequest()V+0 (HttpConnection.java:56)
    com/ibm/ws/http/HttpConnection.readAndHandleRequest(Z)V+0 (HttpConnection.java:575)
    com/ibm/ws/http/HttpConnection.run()V+0 (HttpConnection.java:375)
    com/ibm/ws/util/ThreadPool$Worker.run()V+0 (ThreadPool.java:654)
    I'm running the applicattion with jasperreports1.2.2.jar and the other needed libraries as it's explained in sourceforge.
    Should I have missed any .jar? What's the problem? Why the applicattion runs perfectly in my pc but doesn't run in the server?

    Yes, because if i hadn't put each and every library required in WEBINF/lib it hadn't work in my pc. There is something in the server different but i don't know what it is. The ear file i export contains the libraries required in the places that they're needed.

  • Urgent Iphone with new laptop help needed!

    ok so i did a fresh reinstall of leopard on my macbook without thinking about syncing my iphone.
    now whenever i plug my iphone into my laptop it thinks its a camera and opens image capture and asks me what photos i want to download off it. It wont show up on the desktop or in itunes.
    I have all the music, apps etc backed up on my machine. i do not however have backups of my contacts!
    i have a backup of the iphone in itunes, but i cant get to a point of restoring the phone to the back up i have, as plugging it in does nothing.
    there is a setting to erase all content and settings on the iphone, will this render it as if i had just bought it out of the shop, meaning i can resync with my 'new' laptop?
    HELP!

    I managed to fix it myself in the end, with a slight work around. once i had reinstalled leopard, i noticed a utility called migration assistant. I used that to transfer my old user account off my time machine and restore all the settings etc. now my iphone syncs with my laptop again. hoorah!
    Interestingly, i tried the migration assistant when installing leopard (the whole 'setting up your computer' process) but it refused to do anything. I would tell it what to restore from time machine, it would accept, and then sit there with an empty progress bar that did not move all night. And i mean all night!

  • Problem with printing - Please help, need to be able to print!!

    I am having a bit of a nightmare trying to get printing to work in OS X Tiger and would really appreciate some feedback.
    I need to connect 2 network printers. Have managed to install one of them with a driver on the Xerox website but when I go to print a page from Firefox I get the following appear on the first page (followed by several blank pages):
    %!PS-Adobe-3.0
    %RBINumCopies: 1
    %%Pages: (atend)
    %APLDSCEncoding: UTFS
    %%Title:
    I also get the same problem using a generic driver on either of the printers. If someone can tell me where I am going wrong I would really appreciate it!!

    Postscript is the page description language that OS X printing is based on. A postscript printer is one that has a postscript interpreter built-in. Non-postscript printers use some other page description language, such as HP's PCL language.
    The Workcentre uses PCL (postscript is a paid option). So does the PSC. You'll need a PCL "CUPS" driver. I'd install hpijs (a 3 part install) from:
    http://www.linux-foundation.org/en/OpenPrinting/MacOSX/hpijs
    For the PSC, I'd try the PSC 2175 driver,
    for the Workcentre, try the HP Color LJ 5000 driver.
    A guide for Windows printing:
    http://www.ifelix.co.uk/tech/3015.html

  • Re: Including Applet in JSP with Dynamic input| Help needed

    Hi All,
    We are into a project in Oracle Portal Server where in we want to embed a result of a standalone application in Portal page.
    We can do that once we can embed the result of the standalone application which generates applet based on the input it gets from the current application's database.
    If it was static we could have used jsp:plugin but, it fails in our case!
    We are clueless as to how to embed an applet which will pick up the data dynamically.
    Can anyone of you help me in this regard?
    Thanks & Regards
    Arthi

    Hi Arthi,
    I think this might help you to get an idea why jsp:plugin tag does not allow for dynamically called applets.
    <jsp:plugin type=applet height="100%" width="100%"
    archive="myjarfile.jar,myotherjar.jar"
    codebase="/applets"
    code="com.foo.MyApplet" >
    <jsp:params>
    <jsp:param name="enableDebug" value="true" />
    </jsp:params>
    <jsp:fallback>
    Your browser does not support applets.
    </jsp:fallback>
    </jsp:plugin>
    The plugin example illustrates a <html> uniform way of embedding applets in a web page. Before the advent of the <OBJECT> tag, there was no common way of embedding applets. This tag is poorly designed and hopefully future specs will allow for dynamic attributes (height="${param.height}", code="${chart}", etc) and dynamic parameters. Currently, the jsp:plugin tag does not allow for dynamically called applets. For example, if you have a charting applet that requires the data points to be passed in as parameters, you can't use jsp:params unless the number of data points are constant. You can't, for example, loop through a ResultSet to create the jsp:param tags. You have to hand code each jsp:param tag. Each of those jsp:param tags however can have a dynamic name and a dynamic value.
    I think you can get better information if you look in to the below link
    http://pdf.coreservlets.com/CSAJSP-Chapter12.pdf
    Many Thanks,
    Ramesh.

  • Problem with clustering with JBoss server---help needed

    Hi,
    Its a HUMBLE REQUEST TO THE EXPERIENCED persons.
    I am new to clustering. My objective is to attain clustering with load balencing and/or Failover in JBoss server. I have two JBoss servers running in two diffferent IP addresses which form my cluster. I could succesfully perform farm (all/farm) deployment
    in my cluster.
    I do believe that if clustering is enabled; and if one of the server(s1) goes down, then the other(s2) will serve the requests coming to s1. Am i correct? Or is that true only in the case of "Failover clustering". If it is correct, what are all the things i have to do to achieve it?
    As i am new to the topic, can any one explain me how a simple application (say getting a value from a user and storing it in the database--assume every is there in a WAR file), can be deployed with load balencing and failover support rather than going in to clustering EJB or anything difficult to understand.
    Kindly help me in this mattter. Atleast give me some hints and i ll learn from that.Becoz i could n't find a step by step procedure explaining which configuration files are to be changed to achieve this (and how) for achiving this. Also i could n't find Books explaining this rather than usual theorectical concepts.
    Thanking you in advance
    with respect
    abhirami

    hi ,
    In this scenario u can use the load balancer instead of fail over clustering .
    I would suggest u to create apache proxy for redirect the request for many jboss instance.
    Rgds
    kathir

Maybe you are looking for

  • A730 Install Windows 8.1 on mSATA Issue

    Installed the Crucial 240GB M500 mSATA drive and was able to install Windows 8.1 from a USB drive. When machine restarts it give the "Error 1962 : No Operating system found. Boot sequence will automatically repeat." If you hold down F12 or go into BI

  • HTML Mashup works fine in Silverlight, but not in UI5

    Hello community, we are building an integrated Customer Service Management solution for a Client of ours, via the SAP Cloud for Customer platform (solution for Services). Currently, we are trying to embed some external Business Process activities in

  • Problem with Class.getResource()

    I am trying to load a jar file dynamicaly like, ClassLoader prevClassLoader = Thread.currentThread().getContextClassLoader(); URLClassLoader m_ClassLoader = new URLClassLoader(new URL[] {new URL(sV1JarPath)}, prevClassLoader); But after doing this if

  • Trouble updating to 5.1.1

    Hi. Updated to 5.1.1 today, and after reboot the phone is not visible by computer. It itself shows the USB cable with iTunes sign. Restart, recovery mode, DFU mode did not help. iPhone 4s, previously on 5.1 PC on Win7 64. Any ideas?

  • Set-up website, hand-over output to developer

    Hello all, I would like to know your opinion regarding handing over the output of Adobe Edge Animate/Reflow to a developer. Personally I like the fact that Adobe Edge is fast and intuitive for me. However I am aware that the output isn't that great i