Kind of approach to use..???

Hi All,
i am going to use report generation in java (Struts). The report o/p can be any format like pdf, html, doc, excel like this...
The problem is, if there is any link in the above downloaded file, if the user clicks on that link that report also need to be shown.
How can i do this..? which one is better solution..??
Thanks in advance,
Rajkumar

Hi,
we cant do all these in single tool...
so
use POI for word / excel
use FOP for Pdf
Generally create a template for all those reports and pass the dynamic value into that...

Similar Messages

  • Wanna know what kind of effect that used on this video?

    wanna know what kind of effect that used in transformation in this video or can we  just crop the effect .

    That transformation is a result of careful planning, 3-D modeling, and layering. It is not just an effect. 3-D tracking, camera tracking, match moving, rotoscope, keying, and other effects can be used to create this kind of transformation. Without careful preproduction planning this kind of a shot/effect is nearly impossible.
    If you already knew that then what part of the transformation is giving you troubl?

  • What kind of authentication is used on .mac accounts ???

    does anybody know what kind of authentication Apple uses to protect the Sites folder on a .Mac account?
    Is it "modauthbasic" or "modauthdigest"

    Quote from: Nichrome on 16-June-15, 00:31:36
    Hi
    I believe it's black plastic. Or at least feels like it's not painted but plain black plastic.
    Please note that if you paint it, you will void warranty. Unless you remove all paint before RMAing if you'll ever have to send it back for warranty (hopefully never).
    Duly noted, thanks for your help!

  • What kind of glass is used for the iPhone 6?

    I want to get a case before we upgrade to the iPhone 6.  Some of the cases we are looking at (Speck Mightyshell) do not come with screen protectors.  I was wondering what kind of glass is used for the iPhone 6 and if a screen protector is even necessary?

    The iPhone 6 currently uses Corning’s Gorilla Glass. There was some speculation that they would start using Sapphire glass but I guess they’re not ready yet. I have had my iPad 2 for years now and the glass is still perfectly fine. My new iPhone 6 uses a more developed version of the same glass. Will the glass break? Yes. Will the glass scratch? Yes, if you carry your phone in the same pocket as your car keys, the screen will scratch. It’s not impervious, just highly resistant.
    I do have a real life controlled experiment going on in the family. My wife and one son have their iPhone 6s in a case WITH a screen protector. Myself and my other son carry our iPhone 6s around without ANY protection whatsoever, no case and no screen protector. So far they all still look perfectly fine. We’ll se how this experiment turns out.

  • What kind software we should use under VISTA to creat new partition.

    hi,there. i've use the boot camp to install the window vista in my macbook. but the boot camp only creat one partition for it. therefore all the partition i have under vista is C partiton. i want to divide that C partiton into 2 or more partitons, but i just wonder will that gonna destroy the boot information for Mac OS? what kind software i should use to avoid that problem? thanks.

    Don't know. Never used it. You should probably post your question in the Boot Camp discussions
    http://discussions.apple.com/forum.jspa?forumID=1165

  • Which one is the Right Approach - Re Using Page Layouts or adding Web parts directly to pages instead of page layouts in SP 2013 online site ?

    Hi Team,
    I am SharePoint 2013 developer. Before asking question I would like to explain the requirement in clarity.
    We are developing one O365 SharePoint online site which is having 10 different page layouts with different and some common webparts and we are reusing these page layouts by deploying a sandboxed solution which is having page layouts. These page layouts contain
    filter and query to display data using some condition and predefined values. By using these layouts we have to create 100+ pages. All pages will show data according to that page name and category (if it belongs any). We have not written any code to develop
    the site, everything is OOB feature.
    We have used below feature/list/lib of SP Online 2013:
    - Document Library
    - Survey
    - Calendar
    - Lists
    - Discussion forum library
    - OOB Search feature
    Now, I would like to know whether this is the right approach to reuse the page layouts. Or can we add webparts directly where the logic resides in the webparts and add them to the pages instead of page layouts?
    Also how to deploy page layouts/pages from one server to another? Currently we are deploying everything as a feature using sandbox solution. 
    Could you please let me know the right approach to follow. I am asking this question because we are facing below issues:
    - Sometime page layouts gets corrupted, showing nothing.
    - All written filters/logic disappear when we open layouts in Designer
    - Deployment is pain using Sandbox solution
    Waiting for your reply.
    Thanks in Advance,
    Shifa Mittal

    Interesting question, to which i do not know a definitive answer.
    Output Caching is used to increase performance and to reduce load on the box. However since you're in the MS Cloud you don't need to worry about the latter and MS do the worrying about the former. I wouldn't be surprised if MS have updated the behaviour
    for O365 and not updated the documentation. That first office.com article is using 2010 screenshots which doesn't fill me with confidence about it's continuing relevance. Don't forget that SharePoint 2013 and O365 are technically different versions and have
    very different behaviour in places.
    Generally i'd say not to worry, but in this case if you do find any more information i'd love to see it.

  • Appropriate use of temporary table - or can pivot approach be used?

    I am relatively new to pl/sql. My problem is that I need to return one row of data (joining several tables, including a 1-many), but with a varying number of columns (from single values returned from the 1-many table), and record types cannot be dynamically defined or modified (such as with adding columns).
    I am not sure if pivoting the many table would work, because the range of values returned (albeit not expected to realistically exceed a dozen) do not fall within a small set.
    Would dynamically generating SQL to create a temporary table with the requisite number of columns be the best approach? Then I could select all the data into the table, iterate through the results from the 1-many and populate into the columns, and then select * from the temp table for the return resultset.
    Specifics: There is a document table which has a 1-many table containing the CC's for that document. Only one row will ever be returned from the master doc table, and 0-n rows from the CC table. There could be no CC's for the doc, or there could be any number. I need to be able to return all the columns from the document table PLUS the CC's as if they were all one row in a table.
    So example of a return row might be a doc with n # of cc's
    DOC_ID | DOC_TYPE | DOC_OWNER | <etc> | CC_1 | CC_2 | ... | CC_n
    or a doc with all its fields and no cc's
    DOC_ID | DOC_TYPE | DOC_OWNER | <etc>
    So I am thinking the pl/sql would have to
    1. declare the SQL statement to create a temporary table
    2. declare the SQL statement to insert data into the temporary table
    3. declare the SQL statement to query data from the temporary table
    4. fetch the count of CC's based on doc id from the CC table
    5. use that count to loop and
    1. append columns onto the sql that creates the temporary table
    2. append columns onto the sql that will query the temporary table
    6. query the CC's table and read the values into an array
    7. use the count again to loop and dynamically create the insert statement for the temporary table, using the values from step 6
    8. execute the insert statement
    9. query the temporary table using the sql generated in step 5.2 and return that rowset
    HUGE thanks to anyone who can provide input on this. I know it's not a new problem, I am just unsure of the best approach to the solution.

    It's not that I require a single SQL statement to do this; in fact I expected to have to execute at least 2 in the procedure to accomplish the goal. The problem I am running into is that I need to return a dynamic number of columns, based on the number of entries in the 1-many table.
    I'm guessing if I can look up the number of rows in the 1-many table that I need to pivot before I actually do the pivot, I will be able to use this technique?
    The reasoning for all this can be summed up in one word: legacy. The row is being sent back to a legacy component which only takes that one single row of data. Currently, we are only limited to 3 CC entries and are expanding the system to allow >3, hence the 1-many table. However, the legacy component isn't able to handle anything more complex than that one row. Our clients will be able to change their definitions easily to expand from CC1, CC2, CC3 to however many they want to use. However, changing to multiple rows wouldn't be an option because it would incur too much complexity.

  • What kind of alerts we use?

    hi friends,
    what kind of alerts we create in reporting?
    Thanking u
    suneel.

    Hi Suneel,
    We can create as per the requirements.
    One is E-mail alerts for Manager levels.
    Lets example in MM module:
           Material1(10-06-2007),  Material2(01-07-2007).
    In this scenario we have to set for materials i.e Material1 is going to expire on next 4 days and Materail2 is going to expire next 25 days.
    Hope this is useful....
    Regards,
    Venkat

  • What kind of approach for new XML-based clients

    Hi.
    Our firm is using Oracle-technology everywhere, and now we would
    like to find out what kind of XML-based technology would suit us
    best for a new generation of our products.
    Our products are now using old Forms 3-clients and we're doing a
    research on replacing this technology with Internet-based
    clients. Java-clients are one option, but now we'd really like
    to know about thin-clients which wouldn't have much code run on
    the server. We have already done extranet-clients with OAS
    PL/SQL-cartridges and have found out that HTML-clients require
    much work and can't have too much logic on them.
    So, we have already OAS running on Oracle 8.0.5.1.0 -server and
    would like to know what kind of XML-strategy would be a
    reasonable solution. I know about these tools: XML Parser for
    xx, XML SQL Utility for Java, XSQL Servlet.
    -But what would be a reasonable combination of these and what
    kind of thin-client could we use? XSL?
    -What kind of development tools could we use for clients (or do
    we have to use text-editors)?
    -Which of these tools require Oracle 8i and is it stupid to even
    think about XML-based applications without Oracle 8i?
    Thanks,
    Perttu Auramo, Network Banking Systems Oy
    null

    NO. Have you taken a look at the specs page for Mac Pro?
    Or when you go to OWC for Mac Pro Memory.
    http://eshop.macsales.com/shop/memory/Mac-Pro-Memory
    2GB modules are better, especially if you need more than 4GB, but you want to have 4 DIMMs, 4 x 2GB or 4 x 1GB.
    http://docs.info.apple.com/article.html?artnum=304492
    TechWorks:
    http://www.shopatbuffalotech.com/cart/product.php?productid=16655&cat=42077&page =1

  • Best approach to using command link from within a custom component

    I have created a navigation component "Menu" , used as follows:
    <custom:menu />The contents of menu are stored in an xml file and the Menu component delegates the rendering to a custom renderer, which basicaly writes out html links. (Actually, the component does a lot more, but I'm simplifying to get to the point.).
    Sometimes, I need to render a command link instead of a regular html link. I don't want to re-invent the wheel here, so I want to delegate this to the standard command link components.
    Approach 1: create child components within the Menu component constructor, e.g.
    HtmlCommandLink c = new HtmlCommandLink();
              MethodExpression e = FacesContext.getCurrentInstance().getApplication().getExpressionFactory().
                   createMethodExpression(FacesContext.getCurrentInstance().getELContext(),
                   "#{registrationEditor.enterSubmission}",
                   String.class,
                   new Class[] { });
              c.setActionExpression(e);
              c.setValue("TestLink");
              c.setTransient(true);
              getChildren().add(c);Approach 2: delegate to the CommandLinkRenderer within my custom renderer, e.g.CommandLinkRenderer delegate = new CommandLinkRenderer();
                        HtmlCommandLink link = new HtmlCommandLink();
                        ExpressionFactory elFactory =
                             FacesContext.getCurrentInstance().getApplication().getExpressionFactory();
                        MethodExpression actionExpression =
                             elFactory.createMethodExpression(context.getELContext(), c.getExpression(), String.class, new Class[] {});
                        link.setActionExpression(actionExpression);
                        link.setParent(component.getParent());
                        link.setValue(c.getLabel());
                        delegate.encodeBegin(context, link);
                        delegate.encodeChildren(context, link);
                        delegate.encodeEnd(context, link);Is either of these a respectable approach - they feel a little hackish. If so, which do you prefer. If not, what do you recommend?
    Thanks
    Richard

    I think either is a fine approach and not at all hackish. I prefer the second, although I couldn't tell you why (just a gut feeling). That said, I haven't tried either so there may be hidden problems. My main concern would be what happens when the request is submitted from the page, that the Restore View phase is done correctly so that the proper event is fired.

  • Approach of using Bulk Collect

    Hi Experts,
    how to use bulk collect for uncertain number of columns of select statement.
    Master table structure:
    Create table tabmst
    (id number,
    cls_input varchar2(2000),
    price number);
    insert into tabmst(1,'select product, price from product',500);
    insert into tabmst(2,'select product, price,purchase_dt from product',100);
    insert into tabmst(3,'select * from product',1000);
    Currently I want to store Select statement of cls_input column in a local variable like
    dyn_qry:= cls_input; by using a cursor.
    Now my question is how to use Bulk Collect by using "Execute Immediate" in Bulk collect variable as there is not certainity of the number of columns from "Select Statment". Please suggest.
    Sample code:
    I created TYPE variable for Bulk Collect also support blk_var;
    Declare
    dyn_qry varchar2(3000);
    cursor c1 is select * from tabmst;
    begin
    for i in c1 loop
    dyn_qry:= cls_input;
    Execute immediate dyn_qry into blk_var;
    End Loop;
    End;
    Now I want to store values of Each "Select statements columns" which is executing by dynamic SQL. but it is uncertain that how many columns with return from dynamic SQL.
    Please suggest the approach on the same. Thanks in advance.

    >
    I don't think you can use bulk collect with EXECUTE IMMEDIATE. They do two different things. EXECUTE IMMEDIATE allows the execlution of dynamic SQL. BULK COLLECT provides optimization of SELECT statements when loading the contents into collections. I am not aware of any support for BULK COLLECT with EXECUTE IMMEDIATE.
    You may be able to do this a different way. If you must use dynamic SQL (I suggest you don't unless it is absolutely necessary. Dynamic SQL is hard to write, hard to debug, hard to maintain, and hard to tune) use a reference cursor instead. You can use the BULK COLLECT with the standard fetch.

  • Deciding what kind of file to use to display a message

    I have an email system which is a pop system that basically pulls my emails from gmail. And I am trying to also view these emails. In particular cases, emails are just simple plaintext and so I can just display that in a JTextArea or something like that. But certain emails are much more complicated and I do not know how to display it. For example, here is the content from an email: (scroll all the way down for the rest of my question)
    --142215290.1247034890965.JavaMail.SYSTEM.sj-besreco038
    Content-Type: text/plain;charset=ISO-8859-1
    Content-Transfer-Encoding: quoted-printable
    eBay Inc. is located at 2145 Hamilton Avenue, San Jose, CA 95125.
    --142215290.1247034890965.JavaMail.SYSTEM.sj-besreco038
    Content-Type: text/html;charset=ISO-8859-1
    Content-Transfer-Encoding: quoted-printable
    <html><head></head><body><div id=3D"Header"><div><table border=3D"0" cellpa=
    dding=3D"0" cellspacing=3D"0" width=3D"100%"><tr><td width=3D"100%" style=
    =3D"word-wrap:break-word"><table cellpadding=3D"2" cellspacing=3D"3" border=
    =3D"0" width=3D"100%"><tr><td width=3D"1%" nowrap=3D"nowrap"><img src=3D"ht=
    tp://pics.ebaystatic.com/aw/pics/logos/ebay_95x39.gif" height=3D"39" width=
    =3D"95" alt=3D"eBay"></td><td align=3D"left" valign=3D"bottom"><span style=
    =3D"font-weight:bold; font-size:xx-small; font-family:verdana, sans-serif; =
    color:#666"><b>eBay sent this message .</b><br=
    rial, sans-serif; co=
    lor:#000" width=3D"15%" nowrap=3D"nowrap" valign=3D"top">Your maximum bid:<=
    /td><td style=3D"font-size:10pt; font-family:arial, sans-serif; color:#000"=
    valign=3D"top">$43.00</td></tr><tr><td colspan=3D"2"><font style=3D"font-s=
    ize:10pt; font-family:arial, sans-serif; color:#000"><a href=3D"http://sear=
    ch.ebay.com/search/search.dll?GetResult&ht=3D1&query=3DTiffany+%26+=
    Co.+Gift+Card.+%2457.67+credit+on+card%21%21%21&sim=3Dy&itemid=3D17=
    0351761886&itemstate=3D2&ssPageName=3DADME:B:EOIBUAA:US:1182">Searc=
    h for similar items</a> | <a href=3D"http://countdown.ebay.com/start.j=
    sp?ssPageName=3DADME:B:EOIBUAA:US:1">Win next time with Countdown</a></font=
    </td></tr></table></td></tr></table></div><td valign=3D"top" width=3D"185"=
    <div><span style=3D"font-weight:bold; font-size:10pt; font-family:arial, s=ans-serif; color:#000"><strong>Look for similar items</strong></span><table=
    border=3D"0" cellpadding=3D"0" cellspacing=3D"0" width=3D"100%"><tr><td><i=
    mg src=3D"http://pics.ebaystatic.com/aw/pics/s.gif" height=3D"4"></td></tr>=
    </table><a href=3D"http://cgi1.ebay.com/ws/eBayISAPI.dll?BuyHub&uid=3D3=
    43291963&ssPageName=3DADME:B:EOIBUAA:US:1122" title=3D"http://cgi1.ebay=
    .com/ws/eBayISAPI.dll?BuyHub&uid=3D343291963&ssPageName=3DADME:B:EO=
    IBUAA:US:1122"><img src=3D"http://pics.ebaystatic.com/aw/pics/buttons/btnFi=
    nd.gif" border=3D"0" height=3D"32" width=3D"120"></img></a><br><span style=
    =3D"font-style:italic; font-size:8pt; font-family:arial, sans-serif; color:=
    #000"></span></div></td></td></tr></table><br></div></div><div id=3D"OneCli=
    ckUnsubscribe"><div><style>.cub-cwrp {display:block; border:1px solid #dedf=
    de; font-family:arial, sans-serif; font-size:10pt; margin-bottom:20px}
    h3.cub-chd {margin:0px; padding:5px; display:block; background:#e7e7e7; fon=
    t-size:14px}
    .cub-ccnt {padding:0px 10px 10px 5px; display:block}
    ul.cub-ulst {margin:0px 0px 0px 10px; padding:0px 0px 0px 10px}
    ul.cub-ulst li, ul.cub-ulst li.cub-licn {list-style:square outside none; ma=
    rgin:0px; padding:10px 0px 0px 0px; line-height:16px}
    .c
    =3D"25" alt=3D"Marketplace Safety Tip" align=3D"absmiddle"></td><td style=
    =3D"font-weight:bold; font-size:10pt; font-family:arial, sans-serif; color:=
    #000" nowrap=3D"nowrap" width=3D"20%">Marketplace Safety Tip</td><td><img s=
    rc=3D"http://pics.ebaystatic.com/aw/pics/securityCenter/imgTabCorner_25x25.=
    gif" height=3D"25" width=3D"25" alt=3D"" align=3D"absmiddle"></td><td backg=
    round=3D"http://pics.ebaystatic.com/aw/pics/securityCenter/imgFlex_1x25.gif=
    " height=3D"1" width=3D"80%"></td></tr><tr><td style=3D"font-size:10pt; fon=
    t-family:arial, sans-serif; color:#000" colspan=3D"4"><ul style=3D"margin-t=
    op: 5px; margin-bottom: 5px;"><li style=3D"padding-bottom: 3px; line-height=
    : 120%; padding-top: 3px; list-style-type: square;">Received a Second Chanc=
    e Offer email? <a href=3D"http://pages.ebay.com/help/buy/personal-offer.htm=
    l">Double check that it's genuine</a>: Second Chance Offer emails come dire=
    ctly from eBay and are shown in your My Messages.</li></ul></td></tr><tr><t=
    d style=3D"background-color:#c9d2dc" colspan=3D"4"><img src=3D"http://pics.=
    ebaystatic.com/aw/pics/s.gif" height=3D"1" width=3D"1"></td></tr></table><b=
    r></div></div><div id=3D"Footer"><hr style=3D"HEIGHT: 1px"><table border=3D=
    "0" cellpadding=3D"0" cellspacing=3D"0" width=3D"100%"><tr><td width=3D"100=
    %"><font style=3D"font-size:xx-small; font-family:verdana; color:#666"><a h=
    refademar=
    ks and brands are the property of their respective owners. eBay and the eBa=
    y logo are trademarks of eBay Inc. eBay Inc. is located at 2145 Hamilton Av=
    enue, San Jose, CA 95125. </font></td></tr></table><img src=3D"" height=3D=
    "1" width=3D"1"></div></body></html>
    --142215290.1247034890965.JavaMail.SYSTEM.sj-besreco038--
    *So how would I display this email to the user. I tried placing this in a text file and then making that an html file, but that didn't work. What kind of file/what would I use to display this email in Java? Thanks for your help!*
    *Robert*

    did you put the entire content of the email in a file and try to load it as html? is so, that would be your problem. that email is a mime multipart, which means there are separate sections which are different types. if you take the second part, between the "<html>....</html>" tags, that should be a valid html. the first part is plain text. please read up on mime multipart encoding and that should give you a better idea how to handle these emails.

  • Which kind of navigation to use?

    Hi,
    my project / portal structure is as follows:
    - Role 1
      - Workset 1
        - Page 1
          - iView 1 (Web Dynpro)
    - Role 2
      - Workset 2
        - Page 2
          - iView 2 (Web Dynpro)
    Is it possible to navigate via absolute / relative navigation from "web dynpro iView 1" to "web dynpro iView 2" although they are part of different portal roles?
    Or do I object based navigation for such a navigation?
    Kind regards,
    Marc

    Hi,
    I tried with absolute navigation but without success so far! Nothing happens, when I trigger the navigation, i.e. the target window is not displayed. Unfortunately there is also no error displayed so I can only guess what is going wrong! I'm using the following code for navigation within an action handler method:
    String targetUrl = "ROLES://portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/com.sap.portal.support/com.sap.portal.web_dynpro_test_tools/com.sap.portal.portal_navigation";
            WDPortalNavigation.navigateAbsolute(
                targetUrl,
                WDPortalNavigationMode.SHOW_INPLACE,
                (String) null,
                (String) null,
                WDPortalNavigationHistoryMode.NO_HISTORY,
                (String) null,
                (String) null,
                (String) null,
                true);
    The code should be executed when user clicks on the "Navigate to..." button.
    I have already checked the following prerequisites:
    - used user has both, the source and target portal role assigned
    - the navigation target url is equal to the iView id displayed in "portal content administration quick info"
    I expected to get an error when executing my application as standalone application (outside of the portal) and triggering the portal navigation but curiously no error is displayed.
    Could you please explain me why and what I'm doing wrong?
    Kind regards,
    Marc

  • What kind of filters are used on this image?

    I'm trying to mimic the filters/colors of the photo of the football players. Any ideas?

    That transformation is a result of careful planning, 3-D modeling, and layering. It is not just an effect. 3-D tracking, camera tracking, match moving, rotoscope, keying, and other effects can be used to create this kind of transformation. Without careful preproduction planning this kind of a shot/effect is nearly impossible.
    If you already knew that then what part of the transformation is giving you troubl?

  • HT4865 Anybody know what kind of encryption is used for storage?

    The iCloud security and privacy overview says it uses encryption for storage, but doesn't mention what kind/strength. Any idea?

    Only Apple knows for certain, and they're not talking:
    Apple would not disclose to us the methods used to encrypt data on disk, and merely claimed to use industry standard practices to ensure user data is stored securely.
    from Ask Ars: how safe is my data stored in iCloud?

Maybe you are looking for

  • Tax code is not reflecting in invoice

    Hi Experts, Recently i have created VAT tax code 7k for condition type JIN6 with effect from date 01.04.2010. Old tax code there with end date as 31.03.2010. I have created material and order , i am trying to make the invoice of that. Tax is calculat

  • HT1551 Connected apple TV to Music.

    I'm connected to apple tv with my iPad (using Remote) but cannot play songs from Music. Any ideas?

  • Convert Data task issue

    Hello experts, We are facing one very weird problem. We are loading actuals from a flat file to consol application. We have transformation written to map all unavailable brands to NOT_ASSIGNED group. We have list of all  brands which are not maintain

  • Do I have the right drivers installed?

    & I have an X-Fi Xtreme Gamer (but the Dell version) that has the optical ports on it also. I'm running Windows 7 64 bit. The Device Driver says: Creative SB X-Fi 4/9/2009 6.0..374 I d/led and installed the beta drivers, so I thought it shoul;d be 2.

  • Have a error 148:3 problem, help!

    can not open my suite components and need to, help?