HELP: URL content are different

Hi All,
I need some help for the below problem,
1. I am accessing a URL to get the content. The format of URL is like 'http://...../download.wml?id=2259096114'
2. This i have accessed from browser and using java program.
3. While accessing from URL i am getting a WML file, this is i require, but while accessing from the java program i am getting some different content.
4. The code is ,
private static void printUrlContent(String u) throws Exception{
                URL url= new URL(u);
                URLConnection connection = url.openConnection();
                connection.connect();
                BufferedReader in = new BufferedReader(new  
                                                         InputStreamReader(connection.getInputStream()));
                int i=-1;
                while ((i = in.read()) != -1)
                        System.out.print((char)i);
                in.close();
   }Please help me to understand why this is happinning and how to get the same content as i am accessing from browser.
Thanks in advance.

If you are sure that the URL is the same both times, the server might be sending back content based on a number of factors, the most like is what your application says it can accept (via the http accept header).
What content do you get using Java?

Similar Messages

  • HELP:  CHANGE CONTENT AREA

    Hi,
    I have extended my own border where I've modified the paintBorder method in order to display a rounded button. Also I want to modify the content area of the button(where the border is added) in such a way that the content area develops the same painting as the border but I can not find the way to change it. How can I make that the appearence of the button's content area was the same as the border's?

    Hi lexian,
    mehul is right. The portal theme editor is the tool you can use to change the color of the content area frame, the design bar and many many more settings.
    Find detailed instructions how to use the Portal Theme in the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/1a/d7c1617dd29e4d85064b467636fada/frameset.htm">SAP Library</a>. You should start with section <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d9/c67c91923a11d5b57d006094b9451c/frameset.htm">Changing Style Parameters and Saving Them as a New Theme</a>.
    Best regards,
    Martin

  • Dimension Table contents are different after cube copy - why?

    To all,
    I'm doing some work on a cube based on some bad dimensioning in it's original design.  We're running BI 3.50 - The original cube is INV_C01 - here is the table contents based upon SAP_INFOCUBE_DESIGNS report -
    INV_C01            rows:    243,680    density:              0.0  %            
    INV_C01            /BIC/DINV_C011      rows:        307    ratio:          0  %
    INV_C01            /BIC/DINV_C012      rows:     17,617    ratio:          7  %
    INV_C01            /BIC/DINV_C013      rows:         10    ratio:          0  %
    INV_C01            /BIC/DINV_C014      rows:          9    ratio:          0  %
    INV_C01            /BIC/DINV_C015      rows:         95    ratio:          0  %
    INV_C01            /BIC/DINV_C016      rows:         40    ratio:          0  %
    INV_C01            /BIC/DINV_C017      rows:          2    ratio:          0  %
    INV_C01            /BIC/DINV_C018      rows:      1,737    ratio:          1  %
    INV_C01            /BIC/DINV_C019      rows:      7,141    ratio:          3  %
    INV_C01            /BIC/DINV_C01A      rows:      1,737    ratio:          1  %
    INV_C01            /BIC/DINV_C01B      rows:      1,737    ratio:          1  %
    INV_C01            /BIC/DINV_C01P      rows:          2    ratio:          0  %
    INV_C01            /BIC/DINV_C01T      rows:         74    ratio:          0  %
    INV_C01            /BIC/DINV_C01U      rows:         24    ratio:          0  %
    INV_C01            /BIC/EINV_C01       rows:    243,680    ratio:        100  %
    INV_C01            /BIC/FINV_C01       rows:          0    ratio:          0  %
    The INV_C012 with a 7 % ratio (this is dev, production is much higher) is what I'm working to eliminate - it's too high.  I then made a copy of this cube and copied all the data to this copy with no structural changes.  I see this now in the copy -
    INV_C01_C          rows:    194,720    density:              0.0  %           
    INV_C01_C          /BIC/DINV_C01_C1    rows:        118    ratio:          0  %
    INV_C01_C          /BIC/DINV_C01_C2    rows:      1,755    ratio:          1  %
    INV_C01_C          /BIC/DINV_C01_C3    rows:         10    ratio:          0  %
    INV_C01_C          /BIC/DINV_C01_C4    rows:          9    ratio:          0  %
    INV_C01_C          /BIC/DINV_C01_C5    rows:         95    ratio:          0  %
    INV_C01_C          /BIC/DINV_C01_C6    rows:         40    ratio:          0  %
    INV_C01_C          /BIC/DINV_C01_C7    rows:          3    ratio:          0  %
    INV_C01_C          /BIC/DINV_C01_C8    rows:      1,737    ratio:          1  %
    INV_C01_C          /BIC/DINV_C01_C9    rows:      1,737    ratio:          1  %
    INV_C01_C          /BIC/DINV_C01_CA    rows:      1,737    ratio:          1  %
    INV_C01_C          /BIC/DINV_C01_CB    rows:      1,737    ratio:          1  %
    INV_C01_C          /BIC/DINV_C01_CP    rows:          2    ratio:          0  %
    INV_C01_C          /BIC/DINV_C01_CT    rows:         73    ratio:          0  %
    INV_C01_C          /BIC/DINV_C01_CU    rows:         13    ratio:          0  %
    INV_C01_C          /BIC/EINV_C01_C     rows:          0    ratio:          0  %
    INV_C01_C          /BIC/FINV_C01_C     rows:    194,720    ratio:        100  %
    Note that INV_C01_C2 now only has 1,755 rows, whereas the source cube has 17,617 rows.  Why is this?  I did a straight copy and the F table has approximately 50k less rows and this table is approx 10 percent of the source.
    Any explaination would be appreciated.   Ken

    Was data ever deleted from the first cube?  Either using selective deletion, or possilbly just the deletion of a Request.  Those dim IDs wouldn't be recreated in the cube copy. There is an RSRV test that checks for unused Dim IDs and can delete them if you want.
    If you use the option to load packets in parallel, it can lead to multiple Dim IDs being created for the same characteristic combination.  There is an RSRV check for duplicate Dim IDs, which can eliminate the duplicate Dim IDs if you tell it to.
    One other thin got keep in mind - SAP INFOCUBE_DESIGNS is using data from DB stats to provide the row counts, so if your DB stats for the dim table are not current, you could be seeing row counts that are old.

  • Blank page produced when clicking on title of Content Area Portlet in version 3.0.8

    We are getting a blank page when we click the title of the ContentArea/Folder portlet in a page. The problem is with the URL, which has _mode=6 as a parameter. When we reoved that parameter from the url content area is loaded accurately. Can you please tell us how to fix this bug. We are using 3.0.8.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    go to http://metalink.oracle.com/
    click on PATCHES and search for product PORTAL release 3.0.8, platform Sun Solaris. The result is:
    "ID:694095 Patch::1574770
    BLANK PAGE DISPLAYED WHEN CLICKING SOME PORTLET LINKS IN MONITOR TAB PAGE".
    Download the patch and follow the instructions.
    Bye,
    Ettore.
    null

  • Content Areas order

    we would like to order the content areas different from the creation order (ID generated by the time the content area was
    created) and different from alphabetic.
    We have tried to copy the content areas to new content areas, ordered as we want, with the built in functionality copy root
    folder but it didnt work because this is only good when copying from folders inside the same content area.
    Q: How can we do this?

    Kasia,
    There are a number of guides on the documentation tab for Oracle9iAS Portal that can answer your questions. Be sure to check out the FAQ!
    Rich

  • Issue after Migration: ID and Content-ID are different in SOAP Payload

    Hi Experts,
    I am facing a strange issue in the PI landscape after the migration from XI 3.0 to PI 7.1.
    The scenario is from R/3 system to TIBCO System (Proxy-to-SOAP). The TIBCO system receives the file in SOAP Format. The message is sent from PI via SOAP adapter to TIBCO System.
    There is a attachment coming from the R/3 System along with the main message and the main payload/message has a "attachment-ID" as a field. Earlier what used to happen in XI 3.0 that the "Attachment-ID" used to equal to the "Content-ID" when the SOAP payload was generated at the TIBCO end. Now after migration, in PI 7.1 the "Attachment-ID" and "Content-ID" are different. We have control over the "Attachment-ID" as it is coming from the source payload but we do not have any control over the "Content-ID" as we are not creating it.
    Can anyone of you please let me know how the SOAP Payload is created and how the content-ID gets populated in the Header of the SOAP Envelope? Also, can anyone help me to fix this issue? Is it something which needs to be handled by us or the BASIS Team?
    Thanks,
    Arkesh
    Edited by: Arkesh Sharma on Dec 16, 2011 12:53 PM

    Hi Ramesh,
    Thank You for the very Helpful Answer. Before I proceed and close this thread, I have one more question which comes to my mind:
    I create my own SOAP Header if I apply the solution provided by you then will the rest of the details in the SOAP Header payload will change or do I need to customize it for myself? For e.g., there is a field named MessageId in the SOAP Header. If I write a Java Mapping, do I need to manually populate the MessageId field in the SOAP Header of my java code or will it be automatically populated?
    My requirement is to change only the content ID of the SOAP Header Payload and the rest of the fields should remain the same as it is. Is it possible with the approach that you mentioned above?
    Thanks,
    Arkesh

  • Problem URL-IView - is not display in the Portal Content Area

    Hi!
    I have a problem. My URL-IView is not displayed in the Portal Content Area. The setting "launch in new window " is  "display in Portal Content Area". What can I do that the URL -IVIiew is not display in a separate window.
    Can anyone help me???
    Thank you very much
    regards

    Hi.
    You have to add your URL iView to a page. See URL iview - The page cannot be found for details.
    Best regards,
    Aliaksandr Zhukau

  • Rights on URL items in a content area

    Hi,
    Ok, so now I have my query to retrieve the main URL items (top level branches) in a content area for my treeview. This is the query:
    SELECT IT.Name,
    IT.MasterThingId,
    IT.ParentId,
    URL.Url,
    COUNT(IT2.Name) Subs
    FROM WWV_THINGS IT, WWSBR_URL$ URL, WWV_THINGS IT2
    WHERE IT.SiteId = (
    SELECT Id
    FROM WWSBR_ALL_CONTENT_AREAS
    WHERE Name = 'CA_NAVIGATION'
    AND Default_Language = 'us')
    AND IT.Active = 1
    AND IT.ParentId is null
    AND IT.Id = URL.Object_Id
    AND IT2.ParentId(+) = IT.MasterThingId
    GROUP BY IT.Seq,
    IT.Name,
    IT.MasterThingId,
    IT.ParentId,
    URL.Url
    How do I figure out if the current user has rights to view the item or not? Not all users may see all these URL's of course.
    I know how to find the current user, but I don't know how to limit this query to only those URL's granted to the current user.
    Could anybody please point me in the direction of the correct table/tables to use in this query?
    Thanks in advance,
    Joey
    null

    Hi,
    I've found several docs in the PDK. I've also found a reference to the WWSEC_API, function has_privilege.
    But I would like to know in which table I should look to check for rights of users and groups.
    In content area X, I have several URL's, each URL has several usergroups that can access the URL. How do I know which URL's to display when user Y belonging to usergroup Z logs in?
    Thanks in advance,
    Joey

  • Invalid URL Link in Content Area

    Hi,
    When I create a URL item which display directly on the Content Area. If I
    enter a invalid URL addres, the system will show an error when I view the
    folder, which is fine. However, it will disable me to see other item on the
    same folder and there is also no way to delete that invalid URL item at all.
    The only way is to delete the folder which will in turn delete all the items
    under that folder, which, is not acceptable. Is there some form of solution ?

    Alvin,
    Please see thread http://technet.oracle.com:89/ubb/Forum82/HTML/000067.html .
    I encourage everyone to search the forum to see if your question has already been answered.
    Thanks,
    Jerry
    null

  • How can URL links in Content Area be periodically checked ??

    Is there an automated way an to check for bad URL links in Content Areas??

    Guy,
    You should be able to browse through Oracle9iAS Portal with any link checker available on the market. Some products may only let you check public content.
    We have plans to add this functionality to the product directly in a future release.
    Good luck,
    Rich

  • F1 Help content are displayed in english instead of the language logged in

    Dear all,
    The SAP version is ECC 6.0 unicode system.
    we have imported chinese language and we logged in to SAP using chinese as the logon language.
    when my end user press F1(perfromance assistant), the help contents are getting displayed in English.
    We need the help contents also to be displyed in chinese.
    Do I have to perform any other imports or any other steps to be done.
    Kindly help me in this issue.
    Your help is highly appreciated.
    Regards,
    chandru.

    Dear Chandru
    For Chinese, Help is English..
    Generally Help is in English or German.
    If you need any specific language u need to install SAP Help in specific language on the application server and do help configuration in the system.
    Best Regards
    Deepak

  • Help: lost our content area portlet (site)

    On the "Oracle Portal Navigator" page under the "Content Area" tab someone deleted the "Site" portlet. How do I add the "Site" portlet back to the page?
    I clicked on the customize page and tried to find the portlet to add but it is not listed. I then went to the portlet repository to see if it was expired or something but it was not there.
    There is a "Content Areas" portlet that lets you select the content area to go to, but the navigate button takes you back to the "Oracle Portal Navigator" page to the "Content Area" tab.
    The same thing happens when you go to the Admin section of a site and try to see the categories for that site. I can't edit my categories anymore.
    They point to "Oracle Portal Navigator" page showing the "Content Area" tab, which is no longer the site portlet.
    Any ideas?
    Jeff Dalgliesh
    PS I know its called the "Site" portlet because on A DIFFERENT portal server if I click the customize link on the "Oracle Portal Navigator" page under the "Content Area" tab that is the name it shows the Provider is "Oracle Portal" and the portlet is called "Site". IE "Oracle Portal: Site"

    We are using 3.0.6.6.5
    I tried the query and got the following record
    <TABLE border="0" cellspacing=0 cellpadding=2 style="background-color:#E0E0D0">
    <TR>
    <TH ALIGN="Right" style="background-color:#C0C0A0" >ID</TH>
    <TH ALIGN="Right" style="background-color:#C0C0A0" >PORTLET ID</TH>
    <TH ALIGN="Right" style="background-color:#C0C0A0" >PROVIDER ID</TH>
    <TH ALIGN="Right" style="background-color:#C0C0A0" >PAGE ID</TH>
    <TH ALIGN="Right" style="background-color:#C0C0A0" >REGION ID</TH>
    <TH ALIGN="Left" style="background-color:#C0C0A0" >NAME</TH>
    <TH ALIGN="Right" style="background-color:#C0C0A0" >SEQ</TH>
    <TH ALIGN="Left" style="background-color:#C0C0A0" >USER ID</TH>
    <TH ALIGN="Right" style="background-color:#C0C0A0" >INCLUDE</TH>
    <TH ALIGN="Right" style="background-color:#C0C0A0" >CONTENT TYPE</TH>
    <TH ALIGN="Right" style="background-color:#C0C0A0" >CONTAINER ID</TH>
    <TH ALIGN="Right" style="background-color:#C0C0A0" >IS TAB</TH>
    <TH ALIGN="Right" style="background-color:#C0C0A0" >TIMEOUT</TH>
    <TH ALIGN="Left" style="background-color:#C0C0A0" >TIMEOUT MSG</TH>
    </TR>
    <TR>
    <TD ALIGN="Right" valign="TOP" WIDTH="0"><FONT >44</FONT></TD>
    <TD ALIGN="Right" valign="TOP" WIDTH="0"><FONT >23</FONT></TD>
    <TD ALIGN="Right" valign="TOP" WIDTH="0"><FONT >960254</FONT></TD>
    <TD ALIGN="Right" valign="TOP" WIDTH="0"><FONT >3</FONT></TD>
    <TD ALIGN="Right" valign="TOP" WIDTH="0"><FONT >69</FONT></TD>
    <TD ALIGN="Left" valign="TOP" WIDTH="0"><FONT >44_SITEEXPLORER_960254</FONT></TD>
    <TD ALIGN="Right" valign="TOP" WIDTH="0"><FONT >2</FONT></TD>
    <TD ALIGN="Left" valign="TOP" WIDTH="0"><FONT ><BASE></FONT></TD>
    <TD ALIGN="Right" valign="TOP" WIDTH="0"><FONT >1</FONT></TD>
    <TD ALIGN="Right" valign="TOP" WIDTH="0"><FONT >1</FONT></TD>
    <TD ALIGN="Right" valign="TOP" WIDTH="0"><FONT >3</FONT></TD>
    <TD ALIGN="Right" valign="TOP" WIDTH="0"><FONT >1</FONT></TD>
    <TD ALIGN="Right" valign="TOP" WIDTH="0"><FONT >(null)</FONT></TD>
    <TD ALIGN="Left" valign="TOP" WIDTH="0"><FONT >(null)</FONT></TD>
    </TR>
    </TABLE>
    The problem is on the nagivator page under the content area tab there is no portlet for manageing the content areas.
    Jeff

  • Content Area & Folder URL's

    I use to be able to link directly to a content area or folder area by using the Folder Properties to copy the URL. Now, when I try to use this method it always takes me to my home page? I have users that want to link directly to one of their folders in a content area. Any ideas?
    Thanks,
    AG

    1 From the Navigator click on the required Content Area
    2 Click on the properties sheet icon
    3 Cut and paste the URL
    4 Copy the URL into an email
    5 Send the email
    6 Click on the link from the email
    7 The link does not go directly to the folder but the home page instead
    This used to work but doesn't anymore, I've tried this in another 309 instance and it works OK.

  • URL for pages that contain content areas

    Hello
    I've created a Content Area that has many folders in it. I've created a new portal page with the content area and I want to use URL links to point to that page and a specific folder maintaining my portlets in their place. How can I construct the URL?
    Thanks

    Hi,
    I think I understand your question, however not sure.
    What you can do is url linking like:
    portalpages:
    http://localhost/pls/portal30/url/page/<pagename>
    (sub-folder) in contentarea's:
    http://localhost/pls/portal30/url/folder/<contentarea-name>/<subfolder>/<subfolder>etc
    Hello
    I've created a Content Area that has many folders in it. I've created a new portal page with the content area and I want to use URL links to point to that page and a specific folder maintaining my portlets in their place. How can I construct the URL?
    Thanks

  • Hi, I have a large number of products in one column and prices of the products in another. Most prices are different. I want to know if it is possible to increase all of the prices by 5% or 10% etc. Hope someone can help. From Stiffy

    Hi, This is my first time I hope someone can help.
    I am working with numbers and I have a large number of products in one column and the relevent prices in another. All the prices are different and I want to increase the price of everything by 5% or 10% etc. Is this possible?
    Thanks in advance
    Stiffy123

    Ad a new, temporary column (or one you can hide when not using). Let's say the current Prices are in column C and the new column is D.
    you can inflate the prices in column C by 5% by entering the formula in the first cell of column D as:
    =C2*105%
    likes this:
    to fill down, select D2, then copy, then select the D3 thru the end of the column, then paste.  Now select C2 thru the end of column C, now paste over the existing values using the menu item "Edit > Paste Values"
    you can now hide column D until you need to use it again.

Maybe you are looking for

  • Need help selecting new router

    I'm looking for a wireless router for a small nework to work with my desktop and laptop. Laptop has a n wireless card as does the desktop.  I';m not exactly sure what i should be looking for with a router beyond wanting it to be a n router.  Need som

  • Down payment request without PO possible?

    Hello, Is it possible to create a down payment request without having to use a PO. This concerns financial postings for services. Thank you for sharing your experience. Kind regards, Linda

  • Unable to open FR in PDF

    Hi All, We have upgraded our system to 11.1.2.2 from 11.1.2.1 and that moment we were able to open FR in PDF. But the moment we applied 300 patches. from when we are unable to open FR in PDF format. OS: Solaris Does any one else facing same issue or

  • Button on main stage target frame in mc

    This seems simple, but for some reason it is not working. I have a button on the main stage. I want to target my MC (McSlidey01) that is placed on the main stage. facts: McSlidey01 is a MC that is 50 frames long. On the last frame it has an action sc

  • Bex to Business Objects - Currency Conversion error in Webi

    Hello, I am attempting to transfer a Bex 7 key figure currency conversion to a Business Objects filter in a Universe for display in a Webi report.  The version of Business Objects XI 3.1 SP2.  The Bex Conversion Type is based off Calendar Month, and