View a document from jsp through a link

Hi!
Is it possibile open a document(any kind of document) simply by clicking on a link in a jsp? How can I do that?
Thnks!

If you document is accesable through the application server you could. You must create an Click here text tag. This works only ig the document is reachable via http.
Marc

Similar Messages

  • How to view word document from report?

    We have one table with blob datatype and manage to save some document by creating form on this talbe. Through form we can see the document as default functionality of portal forms. But now we want to allow user to view this document from report as well.
    We tried one Solution on WWDOC_DOCUMENT and its working for WWDOC_DOCUMENT table but we want to display from our user table's word document. ( Any relation between user table and WWDOC_DOCUMENT table of PORTAL30).
    Thanks

    Found way around but facing another problem. Its worked fine for first time (means when i inseted documents and created report on same table).
    But subsequent session it giving HTTP 404 file not found error.
    Any clue?

  • How to open the pdf document from KM  through Link to URL UI element

    Hi All,
    I have Link to URL UI element  in webdynpro java layout - on click of the link we need to open the pdf document from KM respository.
    KM Document location : irj/go/km/docs/documents/RHPortal//USA/A/Test/Employee_details.pdf.
    Once this is transported to Test and Production portals , we need to retrieve the KM document from the respective portal location through the Link to URL UI element .
    Thanks,
    Portaluser100

    Hi,
    If you set the link to your document in a Context attribute by using a relative path this should work just fine.
    Example:
    wdContext.currentContextElement().setUrl("/irj/go/km/docs/documents/RHPortal//USA/A/Test/Employee_details.pdf");
    Bind that attribute to the reference property of the LinkToURL element.
    Cheers,
    Leo

  • Failure to sync contacts and calendar from Outlook through BlackBerry Link after update

    Hi everyone,
    I have both z10 and z30. I have been syncronizing my Outlook contacts and calendars to both of them through Blackberry Link. My z10 automatically updated several days ago and I lost everythiing on the phone including contacts, calendar, texts, phots, etc. And then the same thing happend to my z30...
    Now I am trying to sync my Outlook contacts and calendars to them through Blackberry Link as I always did but it turned out unsuccessful. It stops at 'Getting status from Blackberry calendar' and it also pops out a message saying 'BLACKBERRY-7D1B Sync was unsuccessful. An error has occurred during an attempt to access to device data.'
    I already tried to reinstall Blackberry Link and reset my phones but neither of these worked out.
    Please help. Thank you!

    This is exactly what I am dealing with. Blackberry Link will work great for awhile and then something happens and I can not sync my contacts. I have spent many hours and days trying to fix this to no avail. BB support has been great but I still go through a long process each time. This week I finally gave up and started using the Microsoft Hotmail Outlook Connector since my company does not offer Active Sync or Exchange. It works flawlessly. I would dedfinitely check it out. If you swith to a Widows Phone or Android this is one of the options they recommend you use.
    In a nutshell Link is awful and BB should be ashamed of the product they put on the market. I will only use it for syncing pictures and documents. Good luck!

  • Sending mail from JSP through Microsoft Outlook

    Hi all,
    i want to send an e-mail from JSP by clicking on link or button through Microsoft's Outlook..
    Can anyone guide me..

    something like this,
              try{
                   props = new Properties();
                   props.load(this.getClass().getClassLoader().getResourceAsStream("contact.properties"));
                   int i=0;
                   String referer = props.getProperty("contact.allow.referer."+i);
                   email = props.getProperty("report.email.error");
                   while(referer != null){
                        i++;
                        contact.put(referer, "true");
                        referer = props.getProperty("contact.allow.referer."+i);
              }catch(Exception e){
                   e.printStackTrace();
              try{
                   Session session = (Session)new InitialContext().lookup(this.props.getProperty("reports.jndi.email"));
                   SMTPMessage m = new SMTPMessage(session);
                   m.setFrom(InternetAddress.parse(this.props.getProperty("report.email.from"))[0]);
                   m.setRecipient(RecipientType.TO, new InternetAddress(this.email));
                   m.setSubject(this.getSub());
                   StringBuffer msg = new StringBuffer();
                   msg.append("Employee Name: "+fn + " " + ln +"\n");
                   msg.append("Employee ID: "+this.getId()+"\n");
                   msg.append("Message: "+this.getMsg()+"\n");
                   m.setText(msg.toString());
                   m.setReplyTo(InternetAddress.parse("no-reply"));
                   m.saveChanges();
                   Transport trans = session.getTransport();
                   trans.send(m);
                   trans.close();
              }catch(Exception e){
                   e.printStackTrace();
              }          contact.properties:
    reports.jndi.email=java:comp/env/globalMail
    report.generation.timeout=3000
    report.email.subject=Some Subject
    [email protected]
    [email protected]

  • Adobe document from JSP

    Hi all
    Can anybody be able to help me to create an Adobe Document from a JSP. That is, I want the JSP to generate an Adobe Document instead of the HTML.
    Timely help is appreciated greatly.
    Raj

    You will have to use XSL-FO (formatting objects) to generate dynamic Adobe PDF files. Try to use Cocoon or Xalan and Xerces with FOP packages from Apache at http://xml.apache.org. You also have to specify the content type in your JSP to PDF example..
    <%@page contentType="application/pdf"%>

  • How to generate Word document from JSP ?

    Hi,
    I want to generate Word documnet from JSP. I am using Neva objects to generate Word document. Now my problem is Word doc generation code works alright as a Java application but when I place that piece of code in a JSP bean it throws an exception. The reason seems to be unavailibility of DLLs and other files of Neva in Tomcat environment. I do not want to use other complex packages like JIntegra, I would prefer any freeware solution. There is not much info. about Word document generation on POI project in Jakarta site.
    Could anyone suggest way out ? Any Java examples doing the same would be of great help.
    Thanks,
    Akash

    Hi Saurabh,
    Thanks for the reply.
    I have tried that too. Problem with that solution is that if you have used CSS in your JSP code MS word does not understand it and generates word doc which is not the same as HTML which JSP otherwise would have generated.
    Akash

  • How do I email a web document from firefox through MS Outlook. Not just the link but a duplicate of the send function in Explorer

    Need to email the web page not just the link to the page.

    Using '''Windows Live Mail''' you just have to: (1) Go to the Web page you want to send; (2) "Select All" the Web page content; (3) "Copy" all the selected content; (4) "Paste" the selected Web page content on the new e-mail body field (must be under Enriched Text (HTML) mode).
    Another way is using a Firefox Add-on for it, located at: [https://addons.mozilla.org/en-us/firefox/addon/email-the-web/]

  • Accessing View Object Information from JSP

    Hi!
    I know that my question it's a basic one, but I'm having some problems. Let me start by describing my problem.
    I need to implement an navigation select box to one table (this table will be a result of a query). I'm "building" the select box with a <c:forEach> iterator. Well, the problem starts where:
    <%-- Makes a kind of Math.ceil(double) --%>
    <c:set var="resultInDouble" value="${(binding.estimatedRowCount-1)/binding.rangeSize +1}" />
    <c:set var="resultInDoubleZero" value="${resultInDouble - resultInDouble % 1}"/>
    <fmt:formatNumber value="${resultInDoubleZero}" var="resultInt" pattern="0"/>
    <select name="select" >
    <c:forEach var="SelectBoxItems" begin="1" end="${resultInt}">
    </c:forEach>
    </select>
    As you can see, first I need to calculate the number of "<option> ... </option" I need to put on the select box, and I do that by making an ceil method emulation (for those that doesn't know ceil, it rounds up a division, like 7/3 = 3). To do this ceil I need to call the estimatedRowCount. And that's the problem: when I call estimatedRowCount, the query that I previous made is repeated to calculate the numberOfRows returned. As you can imagine, I don't want to re-execute the query, but only get the number of all rows.
    One solution that I thought, was in the Java Controller File for this page, use the method associated with the ViewObject getRowCount(), that doesn't re-execute the query. With this idea, I would construct the select box with java code, something like this:
    <select name="select" >
    <%
    int ceilResult = Math.ceil(viewObject.getRowCount(),viewObject.getRangeSize());
    for (i = 0;i<ceilResult;i++) {
    %>
    <option> ... </option>
    <% } %>
    </select>
    But with this idea, I hanged with a problem: "How do I in JSP, can "see" the view object?".
    Basically i only need a small example source, that in Java Controller File can get the iterator to make the return of the ViewObject getRowCount method.
    Does anyone have any idea how to solve this problem, or maybe a new approach ?
    Tiago Soares
    P.S. I've already tried some others (attempts of) solutions, but they didn't worked. I didn't posted their description, because I was afraid that anyone would read this post, because of the size of it. :)

    First of all, please stop reposting this question. Post it once and someone will probably reply to it.
    Secondly, you can expose methods of a view object through it's dialog (I think) or you will have to do it in the Application Module.. But it may suit your need better to create a transient column on you VO (one that exists only in memory) and store your value in that.

  • Printing document from jsp

    Hi All,
    I am trying to print a document(For example .doc file) from local system using JSP/Servlet. Please note that I dont want to print the current window and I dont want to use applet also. My requirement is that I have to use only JSP/Servlet or javascript for printing the document at client system.
    Please help me with how to do this. Thanks in advance.
    Regards
    Utpal

    That´s not possible. It´s up to the application in which the client is opening the doc file. Which is usually MS Word. That application (un?)fortunately doesn´t understand HTML/Javascript.
    If you have a hard head in this, then you need to create a Java application which does the desired task at the local machine and then embed it as an applet or webstart application in your JSP page. Which is fairly cumbersome imho. Not worth the effort.

  • Create Document from Data Load and Link to Transaction Record for Long Text

    Hi,
    I have a DBConnect Oracle datasource which contains a large text field.  I would like to build a process that will, as part of the load, create a text file from the content of this large field, upload the file into BW and create the document association with the transaction record.
    Is anyone aware of a HOW-TO to create the BW document entries and upload the files using ABAP?  I thought that I had seen a HOW-TO or instructions approx a year ago, but cannot locate them now.
    Thanks in advance,
    Mel W.

    Hi,
    I hope this is the how to document you were looking for:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/8046aa90-0201-0010-5e99-962948c83331
    -Vikram

  • Viewing Word documents from attachments in email

    I received a Word document as an attachment via email. I clicked on the document (.doc) and my iPhone doesn't allow me to view it. Any suggestions?

    People can not open my pages attachments in their emails. It was working fine but now they cant be opened. What is going on?

  • View CRM document in ECC through document flow

    Hi ,
    we have a requirement where we need to show a CRM document in document flow of another document in ECC. There is no replication for these documents. I also need to display the CRM document in ECC when it is selected from document flow.
    Can any one please help on this?
    Regards,
    Sharf.

    This is all going to be custom development but here is the idea:
    In theory, you can read the docflow of the CRM parent document (which is in ECC) by an RFC into CRM and get the subsequent documents. The major assumption I am making here is simple: the docflow is established between the parent and the child in CRM.
    Once you have the docflow, you can show the document numbers in the R/3 and again access the individual documents and show relevant header and item details of the "CRM" docment in the ECC screen.
    FYI, an exactly "reverse" feature is available in CRM Web Channel (E-Commerce application). Here, you can see the Invoice details in the web, even though the billing documents are never replicated from ECC. We even see the document flow about the Shipping documents (Deliveries).
    Easwar Ram
    http://www.parxlns.com

  • Documents from external system

    Hi experts.
    I would like to aks You how can I solve following problem:
    1. I have an aplication in ABAP
    2. There is an external aplication for optical archive of documents
    3. We are ucing JaCo to communicate with external aplication.
    And, main problem is, that I need to view scanned document from external aplication in our SAP aplication.
    I have two ideas:
    1. through HTML viewer - I will get an URL addres of HTML code of the scanned document - but, there is an problem with rights. To view this URL i need this url has to be a public (user's browser must "see" it). but, this is not possible to public this url, because there are scanned agreements. And, when this url is private only for SAP server and external application, the HTML viewer cannot find it ..... I have thinking about using username and password in HTML code and url addres, but, that is not what I prefer ...
    2. through PDF - the external application create an PDF document on their directory. But, how can I view this PDF in SAP (from external directory in other system).
    Many many thans for any answer.
    Have a nice day .....

    Hi,
    From your description, you want to get numerous files into SharePoint Document Libraries.
    After you log on to the SharePoint document library->click Actions->followed by
    Open with Windows Explorer. After Windows Explorer opens, you can upload and download files and folders using the standard copy-and-paste operation.
    Refer to the article:
    http://windowsitpro.com/systems-management/easy-way-get-numerous-files-and-out-sharepoint-document-libraries
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • OBIEE 11g - APEX Integration through Action links

    Hi All,
    We are trying to achieve SSO between OBI and APEX. We got this working by the below process.
    1. Integrate OBI domain with AD
    2. Integrate APEX with the same AD ( Perform standalone configuration)
    3. Create Action Link in OBI pointing to APEX form
    4. Accessing Action Link does not prompt the credentials
    5. APEX form opens up in a separate tab in browser
    We checked this by logging into OBI using an AD ID and jumping to APEX from there through action link. However the user context is not getting carried forward to APEX. For example if we login as "d123456" AD user in OBI, when we access APEX form the user name is appearing as "NO BODY" at the top right corner. We have a use case where in we want to capture the ID who is accessing the APEX form. The field is updated as NOBODY.
    But if we login to APEX stand alone URL, then the actual AD user name can be seen on APEX pages.
    Can some one help on how to carry forward the user context from OBI to APEX.
    Thanks in advance.

    Hi,
    I'm rearching the integration between Siebel Sales 8.1 and and obiee 11g, can you please share how to do the integration between the two? Some issue we can discuss together.
    Any docs or points would be very helpful.
    Thanks.

Maybe you are looking for

  • Vendor create process using workflow

    hello, I have been assigned a project to desgin a process to automatically create a vendor. below is what I think has to be done. can this be reviewed to see if this is the correct approch and if not, suggest a better approach. 1) the vendor will sig

  • Business Process Push and Org Structure

    Hi experts, When using Business Process Push with email, do I need to assign the specific group of agents to the same org unit for a particular (email) queue that the email is pushed to? How does that affect the reporting side? Thanks, Dave

  • App Tabs Duplicated on Startup - SOLVED

    I love the app tab feature and have about 5 of my most common sites pinned as App Tabs. However...every time I start FF4 it opens the App Tabs (as expected) and ALSO opens regular tabs for each of those 5 sites. I've tried just opening one, unrelated

  • Error querying dba_data_files

    Hi all, when i give the below mentioned query i got the following error... select FILE_NAME from dba_data_files where TABLESPACE_NAME='TS_IIMS_REP_DAT_01'; Error select FILE_NAME from dba_data_files where TABLESPACE_NAME='TS_IIMS_REP_DAT_01' ERROR at

  • Managed datasources, Global transactions and XA

    I have a question regarding the use of managed datasources and global transactions with oc4j 10.1.3. From the documentation at: http://download-west.oracle.com/docs/cd/B25221_04/web.1013/b14428/servdats.htm#CHDGJECC I conclude that managed datasource