Problem while closing IE which displays the PDF

Hi,
I have an application in which a PDF form is displayed through the portal on an IE instance.
The IE works fine until I open the pdf. Once I open the pdf im not able to close the IE. I have ti forcefully close it using the task manager.
If I try navigating to another view from that PDF view ( Same IE instance) , the IE closes automatically throwing the 'Microsoft error' message.
How do I avoid this??? What might be the problem?
I use IE version 6.0
Thanks in Advance,
Reena

Hi Reena,
I am not sure, please try these solutions.
1. Try to display the Adobe Interactive Form by adding the URL (of the Adobe Document Server) to the Trusted Sites of your MS Internet Explorer.
2. If you are experiencing problems opening pdf documents in IE,
then you need to  disable compression for pdf documents
To disable the compression. please follow the steps :
1. start the Visual Administrator in <J2EE Home>/admin directory  from the go script
2. In the Left pane :
   Click on the "Cluster" tab.
   Browse <System name> -> Server -> Services -> HTTP Provider
3. In the right pane
     - Make sure the "AlwaysCompressed" property does not contain any
     of the values
    *.pdf
    application/pdf
    - Make sure the  "NeverCompressed" property contains both values
    *.pdf
    application/pdf
4. Click the save button on the top of the right pane.  The new setting will have effect on all servers in the cluster.
configuration if you have made changes to the "AlwaysCompressed" or "NeverCompressed" properties.
In such case you will need to perform the described above configuration manually.
II. If you have been running custom code that relies on the pdf compression
then you will need to maintain the  "AlwaysCompressed" or "NeverCompressed" properties back to their  previous values ("AlwaysCompressed" including *.pdf and application/pdf and "NeverCompressed" excluding both entries) after upgrade  but you may face problems with opening of pdf files in IE  as a side effect.
//Raj

Similar Messages

  • Urgent: Issue while displaying the PDF Reports Using XDO Common region

    Hi all,
    In our product code we are trying to display the PDF Reports, using the xdo common region.
    Previously we were writing the pdf reports direclty onto the response direclty.
    This displays the report onto the browser but if navigate throw browser back button, it doesn't displays the report as the response stream is empty while navigating through back button.
    So to solve this issue, i tried to write the report using the OAHTMLWebBean and xdo common region. Here is the code:
    ByteArrayOutputStream xdoOutput = new ByteArrayOutputStream();
    XDOUtility.retrieveReport(xdoOutput,
    parameters,
    prop,
    appMod
    BlobDomain bxdoOutput = new BlobDomain();
    bxdoOutput.setBytes(xdoOutput.toByteArray());
    String redirectURL = DocumentHelper.getOutputURL(pageContext,
    bxdoOutput,
    "Report",
    "PDF");
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean (pageContext, OAWebBeanConstants.HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src", redirectURL);
    outRegion.setHTMLAttributeValue("width", "100%");
    outRegion.setHTMLAttributeValue("height", "100%");
    outRegion.setHTMLAttributeValue("title","Report");
    outRegion.setHTMLAttributeValue("name","Report");
    pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    This successfully displays the report in the XDO Common region. But now the issue is that there are hyperlinks in the Report displayed where from where the user can navigate to other detail pages.
    When we click on these links, a new session starts in the xdo common region.
    Is it possible that when the user click the links in the report displayed, instead of starting a new session in the xdo region, the detail pages is displayed with in the older session.
    Regards
    Sandeep

    Hi all,
    In our product code we are trying to display the PDF Reports, using the xdo common region.
    Previously we were writing the pdf reports direclty onto the response direclty.
    This displays the report onto the browser but if navigate throw browser back button, it doesn't displays the report as the response stream is empty while navigating through back button.
    So to solve this issue, i tried to write the report using the OAHTMLWebBean and xdo common region. Here is the code:
    ByteArrayOutputStream xdoOutput = new ByteArrayOutputStream();
    XDOUtility.retrieveReport(xdoOutput,
    parameters,
    prop,
    appMod
    BlobDomain bxdoOutput = new BlobDomain();
    bxdoOutput.setBytes(xdoOutput.toByteArray());
    String redirectURL = DocumentHelper.getOutputURL(pageContext,
    bxdoOutput,
    "Report",
    "PDF");
    OAHTMLWebBean outRegion = (OAHTMLWebBean)createWebBean (pageContext, OAWebBeanConstants.HTML_WEB_BEAN, null, "IFRAME");
    outRegion.setHTMLAttributeValue("src", redirectURL);
    outRegion.setHTMLAttributeValue("width", "100%");
    outRegion.setHTMLAttributeValue("height", "100%");
    outRegion.setHTMLAttributeValue("title","Report");
    outRegion.setHTMLAttributeValue("name","Report");
    pageContext.getPageLayoutBean().addIndexedChild(outRegion);
    This successfully displays the report in the XDO Common region. But now the issue is that there are hyperlinks in the Report displayed where from where the user can navigate to other detail pages.
    When we click on these links, a new session starts in the xdo common region.
    Is it possible that when the user click the links in the report displayed, instead of starting a new session in the xdo region, the detail pages is displayed with in the older session.
    Regards
    Sandeep

  • Displaying the PDF ByteStream on to the browser?

    Hi,
    I want to display a pdf on the browser.
    I have with me the byte stream, using which I need to display the pdf
    directly on the browser.
    Currently, I am storing it in my local file system by creating a file
    output stream. But its taking a lot of time.
    I don't want to create any intermediate files.
    Is it possible to display the PDF directly on the browser?
    If yes, then can some one point how can this be achieved in SunSeeBeyond......
    Regards,
    Renga

    The questions really are
    1."how do I get the web browser to GET a PDF data stream from SeeBeyond"
    2."how do I return a PDF data stream from SeeBeyond so that the browser
    interprets it as PDF".
    Question 2.
    PDF data can be supplied to the browser the same as any other content.
    Content-type header will be application/pdf - see RFC3778
    If your "web application" is completely outside Java CAPS but you need
    Java CAPS to provide the PDF data then the simplest thing to do is to
    develop a JCD or a BP that uses the HTTP Server eWay, accepts the GET
    request, gets the data, sets the data in the HTTP Response, sets the
    content-type in the HTTP Response and sends the lot back to the browser.
    If you are using eVision then you need to consider where within your
    eVision page you would like to display the PDF. A couple of choices are
    a) in a popup window, b) in an inline frame, c) in an independent
    browser window. In all of these you can specify the URL of the PDF and
    the browser will send the GET request to whatever provides the PDF data,
    Java CAPS or otherwise. All this has plenty to do with HTTP, HTML and
    client-side scripting and rather little to do with Java CAPS. If you
    don't understand these underlying technologies you will have
    difficulties working out by yourself what can/needs be done.
    Question 1.
    Again, if your "web application" is developed outside Java CAPS you
    cause the link, button, or some such, to get the web browser to issue a
    HTTP GET request with the appropriate URL that points to the Java CAPS
    infrastructure component that will return the PDF data with the
    appropriate HTTP Headers. If your application is eVision-based then
    again you need to consider where the PDF content is to be displayed and
    get the eVision page to issue the GET request for you, have the pageflow
    construct the eVision page so that it embeds the PDF, etc., etc..
    All of this is well beyond a simple answer to a simple question. This
    takes time to analyse and respond so don't expect a cookbook answer from
    anyone.

  • The "portable document format" icon is a Word 2010 icon, so selecting Adobe Reader as action does not work to display the PDF.

    In the Applications tab -- Content Type -- the "portable document format" icon is a Word 2010 icon (not Adobe), so selecting Adobe Reader or preview in Firefox as action does not work to display the PDF. I can see this Applications difference because my other Firefox laptop has the Adobe icon, and I can view PDFs. Essentially, a PDF is coming in as a Word document -- and the computer tries to open it up as a Word file.
    How do I get the correct PDF icon in the Applications list -- the same way it displays (and works) on my other laptop.

    Adobe PDF Plug-In For Firefox and Netscape 10.1.7 ?
    I think you need to add this to the list of applications and the action to take on the type of content. This can also be managed in the about:permissions page. [[Permissions Manager - Give certain websites the ability to store passwords, set cookies and more]]

  • IPAD3/IPAD2 :PDF files/ attachments  sent in an email  displayed inline ( embedded within the main email) in the message text on both my Ipad2 and Ipad three, however the same email displayed the PDF File icons/ attachment on both my Iphone and a friend's

    IPAD3/IPAD2 :PDF files/ attachments  sent in an email  displayed inline ( embedded within the main email) in the message text on both my Ipad2 and Ipad three, however the same email displayed the PDF File icons/ attachment on both my Iphone and a friend’s PC. How do i get both my IPAD devices to display the PDF icons/attachments? Bearing in mind if i open the same email over the internet the PDF Icons/attachments display OK!
    Has anyone come across this? Your advice/help would be most appreciated

    This happens to me all the time.
    If is a one page PDF it seems as though it comes over already open and inline in the body of the email. Multiple page PDF files show as the PDF icon.
    I can't find any official documentation of this - other than based on my own experience with PDF attachments in my various email accounts.
    Message was edited by: Demo

  • Hey there, is there an app for I tunes available which displays the song lyrics. If not it would be a good idea

    Hey there, is there an app for I tunes available which displays the song lyrics. If not it would be a good idea

    If the lyrics aren't in the ID3 tags (track info) they won't display.
    https://www.macupdate.com/app/mac/25390/get-lyrical  THAT may or may not work. It's a pretty old link.

  • Basic problem in displaying the pdf and images in Application express

    Hi,
    I have oracle 10g and application express.
    I have already stored the images and pdfs using PLSQL in table with following columns
    TableA(vessel number, cruise number, image blob, pdf blob)
    now for every vessel, cruise combination there is a particular image and pdf.
    so in my htmldb page.
    I have created 2 select list for vessel and cruise respectively.
    now on selecting these lists i want to diaplay their corresponding image and pdf.
    How can i do this? I just somehow miss the basic knowledge of how to do this.
    Should i create a html region or a report region for the image and pdf.
    under what region the image and pdf goes. and on sleecting the vessel, cruise can i show hyperlinks and upon selecting the hyperlinks a image and pdf opens in a new window.
    or can i create 2 regions and display the image and pdf right in the region itself.
    Can someone please guid eme please.
    Thanks,
    Philip.

    Hi Philip.
    I suggest switching to the Application Express forum.
    Pretty sure it'll be easier for you to find the answers over there
    Oracle Application Express (APEX)

  • Problem while opening Bex query on the web

    Hello BW experts,
    I have a problem while opening Bex query from my SAP Favorites.See below.
    When i double click on the query, i get the following page, with the server name KBWS01QX.
    But, from RSRT Tcode, select the query > query display as HTML > Click on ABAP Web , click execute as shown below, it is going to the correct URL as in the 2nd screen shot below.
    My question is why is it going to the wrong URL when i open it from  SAP Favorites menu?
    I want it to open the same URL as it opened from RSRT(which is the right one)
    What is the Config needed to make it to work from SAP favorites.
    Any help would be appreciated.
    Thanks alot.
    SV

    Hello,
    Thank you all for your responses.
    See below some additional info.
    From RSRT, this time I clicked on JAVA WEB, and i get the below URL, which is the same URL i was getting when i executed the query from SAP favorites.
    http://kbws01qx.xxxxxxx.com:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=ZCONSUMPTION
    Also, i have executed the Function module : RSBB_URL_PREFIX_GET and i get the below values.
    It seems that it is trying to connect to Java portal something services may be, but i want it to open in ABAP web only.
    Please help.

  • Problem while opening a link of a PDF that points to a specific page to another PDF

    PDF links whose URIs include backslashes are interpreted by Acrobat Reader browser plug-in as local file-system links even when they are not.  This means that a link that points to a specific page number will open the file but not automatically jump to the desired page .  In our browser-based viewing tool, this means that the links are perceived as not working.
    for example :  from IE Browser When we tried to open the link in PDF 1 which has the URL of the 5th section of PDF2 and the URL includes the backslashes then the Specific section of PDF2 is not getting opened . The link just opens the PDF2 first page. This Specific problem does not arrives if we try to open the link through Adobe Reader or if the URL mentioned in the PDF is formed using  forwordslashes instead of backslashes.
    Regards
    Yeshwant

    > not sure if i have explained this very well.
    You have not.
    But tables cells cannot wrap.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "cheers mate" <[email protected]> wrote in
    message
    news:e7obon$nim$[email protected]..
    > lets say i have a table one row deep and 10 columns
    wide, and while
    > viewing it
    > your window may allow only 3 of the first tables at the
    top and three on
    > the
    > next and three the next and finally one on the last.
    (the number of boxes
    > is
    > not an issue)
    >
    > the way the tables are shown is.
    >
    > lets say the window is resized to allow 4 boxes in the
    top row and so on
    > down
    > the page till all boxes are shown.
    >
    > not sure if i have explained this very well.
    >
    > if you do not understand please ask and i'll create a
    few pages to explain
    > what i am trying to do.
    >
    > i have seen this once or twice around some sites, but
    this was ages ago
    > and
    > have no idea what sites so i can not look to see how
    they did it.
    >
    >
    > please take a look at this link i have described what i
    am trying to do.
    >
    >
    http://pro-freelancers.com/cascadingboxes.htm
    >
    > Hope someone can help.
    >
    >
    > thanks
    >

  • FireFox 33.1 will not display the PDF file from Bank online site after 33.1

    I asked this question in an unrelated support ticket so I want to give more detail here. I have tried uninstalling Adobe reader and reinstalling it and it did not help. This was working before with all the exact same addins I had before. I called the Bank and asked if they had any problems and they say no. I can go to the Firefox PDF display for this file and click on download the PDF then double click it in Windows explorer and Adobe reader comes up and displays the file just fine. Don't mind doing that for now. What happens is the bank loads the file then Adobe reader displays with a white screen and a little circle going round and round, like a video is trying to play, and it just sits there forever. I never see the file contents. Anyway I hope your have a good of a day as I am and I know it get better. Thanks Firefox programmers for such a wonderful program.
    Update: While I was writing this I remembered to go into Firefox options, then Applications, and wouldn't you know it, a PDF document was set to "Preview in Firefox". I changed that to Adobe reader and now it works just fine. Guess there's something wrong with the Preview code in Firefox. So I'm happy now. Hope this helps someone.

    Yes, the built-in PDF viewer is a work in progress. Glad you found a workaround, or got back to your preferred configuration, depending on how you look at it.

  • 11.0.10 Update Issue -  Problem saving documents - getting message "This document could not be saved.  There was a problem reading this document (21)."  The PDF documents are being created by Esker VSIFax and the problem is only occuring with updated vers

    Our IBM Unix system uses a program called VSIFax (Esker) to create PDF documents such as invoices.  Users that have updated to Acrobat version 11.0.10 can open the PDF but then when trying to save the document the get a message "This document could not be saved.  There was a problem reading this document (21)."  The problem is only occuring with updated version 11.0.10 (11.0.9 works fine).

    More information about this issue can be found here:
    https://forums.adobe.com/thread/1672655
    A "quick" fix that worked for me was to uninstall Adobe... then download the base install for Adobe Reader 11.0.
    Then download each of the individual updates and run them sequentially. 
    I've installed back up to the last security update which is version 08 and have been able to do normal Save As operations.
    You will have to disable automatic updates in order to stay at version 08 until Adobe resolves this issue in a later release.
    http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows
    Adobe Reader 11.0 - Multilingual (MUI) installer    AdbeRdr11000_mui_Std
    Adobe Reader 11.0.01 update - Multilingual (MUI) installer    AdbeRdrUpd11001_MUI.msp
    Adobe Reader 11.0.02 update - All languages    AdbeRdrSecUpd11002.msp
    Adobe Reader 11.0.03 update - Multilingual (MUI) installer    AdbeRdrUpd11003_MUI.msp
    Adobe Reader 11.0.04 update - Multilingual (MUI) installer    AdbeRdrUpd11004_MUI.msp
    Adobe Reader 11.0.05 security update - All languages    AdbeRdrSecUpd11005.msp
    Adobe Reader 11.0.06 update - Multilingual (MUI) installer    AdbeRdrUpd11006_MUI.msp
    Adobe Reader 11.0.07 update - Multilingual (MUI) installer    AdbeRdrUpd11007_MUI.msp
    Adobe Reader 11.0.08 security update - All languages    AdbeRdrSecUpd11008.msp

  • Problem while sending/Receiving request using the HttpURLConnection obj

    Hi,
    We are facing the problem while passing the request in Weblogic.
    Looks like there is some problem with Weblogic while sending/Receiving the request using the HttpURLConnection object.
    Currently we are migrating 2 applications to WebLogic. Application1 to application2 request should pass.
    Below is some example we tried:
    "When we send a request to our code using the SSOAdaptor code (which handles the request/session in our application) which is on the SunOne server the request parameters are received by our code successfully. And also in Create User Functionality of application1 we are sending a request to webpass(which is on Sunone Server) using the HttpURLConnection object and the SOAP request is received successfully by the Webpass."
    Looks like when we send request (using HttpURLConnection) from a server other than Weblogic to a servlet in a Weblogic the request parameters are received with out issues.
    Where as when the request is sent from WebLogic to WebLogic the request parameters are missing some how.
    Is there any issue in Weblogic? Please helpus on this.
    Thanks,
    Nagesh
    Edited by: user9307541 on Mar 15, 2010 5:08 AM

    Hi,
    Please find below scenario for testing.
    We have tested the SSOAdaptor code (it is the fucntion name which will send the data from source) locally by hittiing the WPS adaptor URL in a Java client program(TestRequest.java) and the request parameters were reaching the WPS Adapter successfully.
    Then we have written two test servlets to test the communication between SSOAdaptor(TestServlet.java) and WPS adaptor(WPSServlet.java).
    Functionality of TestSevlet: It is sending a request to WPSServelt similar to the way we are doing it in SSOAdaptor.
    Functionality of WPSServlet: It will receive the request parameters and write the parameter Map to console.
    We have deployed and these two servlets(in a single webapplication) on Tomcat server and the request parameters are reaching the WPSServlet successfully.
    Output on Tomcat server:
    before sending request
    **********************Inside WPS Servlet -- the request Map is:{TypeAcc=[Ljava.lang.String;@14e3f41, ServiceName=[Ljava.lang.String;@1acd47, GMEPortalUserID=[Ljava.lang.String;@19b04e2, UserID=[Ljava.lang.String;@5dcec6, Country=[Ljava.lang.String;@b25b9d}
    after sending request
    After this we have deployed these two servlets (with in a single webapplication) on the Weblogic server in Dev machine(path: /apps/usmport/domains/usmport/servers/usmport_admin/upload/ssoAdaptor/WEB-INF/classes/com/gm/gmeportal/security/adaptor) and
    now the request parameters are not reaching the WPSServlet.
    Output on Weblogic Server:
    before sending request
    **********************Inside WPS Servlet -- the request Map is:{}
    after sending request
    Looks like there is some problem with Weblogic while sending/Receiving the request using the HttpURLConnection object.
    When we send a request to WPSAdaptor using the Old SSOAdaptor code which is on the SunOne server the request parameters are received by WPS successfully. And also in Create User Functionality of Portal we are sending a request to webpass(which is on Sunone Server) using the HttpURLConnection object and the SOAP request is received successfully by the Webpass.
    Looks like when we send request (using HttpURLConnection) from a server other than Weblogic to a servlet in a Weblogic the request parameters are received with out issues. Where as when the request is sent from weblogic to weblogic the request parameters are missing some how.
    Please find below javs source code used to test this:
    TestRequest.java
    import java.io.BufferedReader;
    import java.io.DataOutputStream;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.net.HttpURLConnection;
    import java.net.MalformedURLException;
    import java.net.URL;
    public class TestRequest {
         * @param args
         public static void main(String[] args) throws Exception{
              // TODO Auto-generated method stub
              excutePost("http://localhost:8080/Testing/TestServlet", "GMEPortalUserID=captest.wss@it0555&UserID=bl1133&Country=it&TypeAcc=256&ServiceName=Logon");
              //System.out.println("********** Now the request is from SSO *****************");
              //excuteGet("http://10.156.0.173:7013/channel21/wpsadapter", "GMEPortalUserID=captest.wss@it0554&UserID=bl1133&Country=it&TypeAcc=256&ServiceName=Logon");
         public static String excutePost(String targetURL, String urlParameters)
         URL url;
         HttpURLConnection connection = null;
         try {
         //Create connection
         url = new URL(targetURL);
         connection = (HttpURLConnection)url.openConnection();
         connection.setRequestMethod("POST");
         connection.setRequestProperty("Content-Type",
         "application/x-www-form-urlencoded");
         connection.setRequestProperty("Content-Length", "" +
         Integer.toString(urlParameters.getBytes().length));
         connection.setRequestProperty("Content-Language", "en-US");
         connection.setUseCaches (false);
         connection.setDoInput(true);
         connection.setDoOutput(true);
         //Send request
         DataOutputStream wr = new DataOutputStream (
         connection.getOutputStream ());
         wr.writeBytes (urlParameters);
         wr.flush ();
         wr.close ();
         //Get Response     
         InputStream is = connection.getInputStream();
         BufferedReader rd = new BufferedReader(new InputStreamReader(is));
         String line;
         StringBuffer response = new StringBuffer();
         while((line = rd.readLine()) != null) {
         response.append(line);
         response.append('\r');
         rd.close();
         System.out.println("Response is:" + response);
         return response.toString();
         } catch (Exception e) {
         e.printStackTrace();
         return null;
         } finally {
         if(connection != null) {
         connection.disconnect();
         public static String excuteGet(String targetURL, String urlParameters) throws Exception
              URL url = new URL(targetURL);
              HttpURLConnection httpurlconnection =
                   (HttpURLConnection) url.openConnection();
              /*httpurlconnection.setRequestProperty(
                   "cookie",
                   constructRequestParams(httpservletrequest.getCookies()));*/
              httpurlconnection.setDoOutput(true);
              httpurlconnection.setDoInput(true);
              httpurlconnection.setRequestProperty(
                   "Content-length",
                   String.valueOf(urlParameters.length()));
              OutputStream outputstream = httpurlconnection.getOutputStream();
              outputstream.write(urlParameters.getBytes());
              outputstream.flush();
              //Get Response     
              try{
         InputStream is = httpurlconnection.getInputStream();
         BufferedReader rd = new BufferedReader(new InputStreamReader(is));
         String line;
         StringBuffer response = new StringBuffer();
         while((line = rd.readLine()) != null) {
         response.append(line);
         response.append('\r');
         rd.close();
         System.out.println("Response from SSO is:" + response);
         return response.toString();
         } catch (Exception e) {
         e.printStackTrace();
         return null;
         } finally {
         if(httpurlconnection != null) {
              httpurlconnection.disconnect();
    TestServlet.java
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    * Servlet implementation class TestServlet
    public class TestServlet extends HttpServlet {
         private static final long serialVersionUID = 1L;
    * Default constructor.
    public TestServlet() {
    // TODO Auto-generated constructor stub
         * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              doPost(request,response);
         * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
         protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              //System.out.println("********************** the request Map is:" + request.getParameterMap());
              try {
                   System.out.println("before sending request");
                   excuteGet("http://localhost:7003/ssoAdaptor/WPSServlet", "GMEPortalUserID=captest.wss@it0554&UserID=bl1133&Country=it&TypeAcc=256&ServiceName=Logon");
                   System.out.println("after sending request");
              } catch (Exception e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public String excuteGet(String targetURL, String urlParameters) throws Exception
              URL url = new URL(targetURL);
              HttpURLConnection httpurlconnection =
                   (HttpURLConnection) url.openConnection();
              /*httpurlconnection.setRequestProperty(
                   "cookie",
                   constructRequestParams(httpservletrequest.getCookies()));*/
              httpurlconnection.setDoOutput(true);
              httpurlconnection.setDoInput(true);
              httpurlconnection.setRequestProperty(
                   "Content-length",
                   String.valueOf(urlParameters.length()));
              OutputStream outputstream = httpurlconnection.getOutputStream();
              outputstream.write(urlParameters.getBytes());
              outputstream.flush();
              //Get Response     
              try{
         InputStream is = httpurlconnection.getInputStream();
         BufferedReader rd = new BufferedReader(new InputStreamReader(is));
         String line;
         StringBuffer response = new StringBuffer();
         while((line = rd.readLine()) != null) {
         response.append(line);
         response.append('\r');
         rd.close();
         //System.out.println("Response from SSO is:" + response);
         return response.toString();
         } catch (Exception e) {
         e.printStackTrace();
         return null;
         } finally {
         if(httpurlconnection != null) {
              httpurlconnection.disconnect();
    WPSServlet.java
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    * Servlet implementation class WPSServlet
    public class WPSServlet extends HttpServlet {
         private static final long serialVersionUID = 1L;
    * @see HttpServlet#HttpServlet()
    public WPSServlet() {
    super();
    // TODO Auto-generated constructor stub
         * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              System.out.println("**********************Inside WPS Servlet -- the request Map is:" + request.getParameterMap());
         * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
         protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              doGet(request,response);
    Thanks,
    Nagesh

  • How to create a conditional report variable, which displays the conditional

    Hi Experts,
    Could you please guide me how to build a conditional report variable
    For ex:
    I have the data for ATM and POS in the table. I will only get the data of ATMS because of the filters, I still want to display the POS in the report and the values for the POS will be 0.
    Actual Output:
    Description    Vaule
    ATM                100
    Desired Output
    Description    Vaule
    POS                 0
    ATM                100
    Thanks in advance...
    Regards,
    Sadiq.

    Hi Gaurav,
    I have a table which has columns and data as follows
    Year               Description          Trans.Amount                Trans.Count
    2009               ATM                     1000                               50
    2010               ATM                     5000                               200
    2010               POS                     1500                               100
    If I build a report and fetch the data for year 2010, report will display ATM and POS transaction amount and count.
    Whereas, for 2009 there are no POS transaction, report will display only ATM transactions.  But user needs the POS also to be displayed in the report with 0's for trans.amount and Trans.count.
    Could you please guide me how to achieve this, if it is possible
    Regards,
    Sadiq.

  • More problems while converting hyperlinks in word to pdf - missing first words

    I'm using Microsoft Office Word 2007 and Adobe Acrobat 9 Pro Extended (I think on Windows XP).
    If I have a word document with a working hyperlink when I convert it to PDF (using the Acrobat button in Word)I end up with a working hyperlink in the pdf file but it is missing the first word. For example :
    in Word the hyperlinked phrase will be http:/tinyurl.com/MarinaBloj but in the pdf version it will be :/tinyurl.com/MarinaBloj
    or
    in Word the hypelinked phrase will be "Sensitivity to luminance and chromaticity gradients in a complex scene." but in the pdf version it will be " to luminance and chromaticity gradients in a complex scene." with an extra blank space.
    worse, if in the word it is a single word, say "PDF" then all you get in the created pdf document is " " i.e. a blank space that is actually is a hyperlink (you can see the corresponding address if you hover the mouse).

    I am experiencing the exact problem...hyperlinks work after conversion from Word to pdf however first word is missing. I can only reproduce the problem on one computer. Other computers I have tried it on do not have that problem. Here is a work around i found....You can select the entire document (Ctrl + Shift + End from the beginning), then go to "Create PDF". Go into Options and select the "Selection" option. Then proceed to convert the document. It's a workaround but I'd like to know what the cause of the problem is.

  • How to generate and display the pdf form as a web dynpro abap view

    Hi,
        I filled the value in the table and displayed in the view,In that view i have one button"TOPDF".
        My requirement is,if i click that button,i want to display the table in the PDF output.
        For the above requirement,i created another view with interactive form,In that view i created one "pdf" Node and  "soure" as a attribute of Type-xstring.Then i binded the soure attribute withe "pdfdatasoure" of my interactive form  view.
        Now my doubt is how and where can i pass the table values to pdf output.
        can any body cleare my doubt with some sample code.
    Thanks in Advance.
    Regards,
    Ravi.

    Hello Ravi,
    Best would be to bind the dataSource of the InteractiveForm ui element to the parent node containing the table's data. Then specify a name of a template to be created in the templateSource and hit <enter>. Some popups later, the system will have created a template from the structure of the context. All you need to do now is to drag&drop the data structure inside the template designer to the template itself. This will result in a table. Save, activate and return the Web Dynpro view. Don't forget to unbind the pdfSource and enjoy.
    Best regards,
    Thomas

Maybe you are looking for

  • Nikon D3100 NEF Files w/CS4

    Hopefully someone can help me. This is the first time I will (hopefully) be using RAW files. I have installed the Camera Raw 5.7 plug-in into my copy of CS4 (Photoshop), but can't load the NEF files ... am I missing a step? Thanks! Mark

  • Nikon RAW (.nef) files

    I have both Windows version and Mac version of CS4 and neither Photoshop or Bridge will open my Nikon RAW files from my new D3x. Anyone have any suggestions?

  • GIS integration with ISU

    Hi, Does anyone has any step wise ( high level) document for the GIS integration with ISU ) billing side only. Thanks, DK

  • JButton not showing

    Hi all, I've tried really hard to figure this one out and am just not getting it. All I want to do is add a JButton to a JPanel and then add that panel to the ContentPane of a JApplet. The button doesn't show though, unless I add it directly to the C

  • Workflow overhead

    Hi Experts, I have always struggled to find a method/tool that can give me an estimate of system overhead if i am implementing a workflow. Though I know that the answer for the most of the part 'depends' on number of things like, scope of the impleme