How to retrieve Sales report on Web page

hi,
   I want to fetch sales report on web page and accessable only admin,so how to do this ?

import java.net.*;
import java.io.*;
public class httptest
    public static void main(String[] args) throws Exception
     URL url =
         new URL("http://www.bonjour.fr/bonjour_fichiers/affichepa2.cfm");
     HttpURLConnection c = (HttpURLConnection)url.openConnection();
     c.setDoInput(true);
     BufferedReader br = new BufferedReader(new InputStreamReader(c.getInputStream()));
     String line;
     while( (line=br.readLine()) != null ) {
         System.out.println(line);

Similar Messages

  • How to retrieve data from a web page through php scripts..........

    kindly suggest me the php parsing script so that i can fetch the data from a web page.....
    suppose we have a url.........
    http://abc.com/news/companydetails.aspx?sskicode=x&Exchange=y
    and the page contains the various fields.........like
    xyz 10
    xyz1 20
    xyz2 30 etc...
    then we have to retrive data from this page trough php script and insert it into database.....
    value of xyz , xyz1 n xyz2 should be retrived and further inserted into database.......
    thanx ......

    Should be nice..
    But its not working i think..

  • How to retrieve complete report output in HTML format

    Hi,
    I'm looking for how to retrieve complete report output in HTML format.
    I have tried the following and it only give me first page of the report output where in the actual report output should be 5 pages. Is there something I'm missing.
    CallbackOption[] boCallOpt = new CallbackOption[1];
    ImageManagement boImgMan = new ImageManagement();
    boImgMan.setCallbackScript("getImage.jsp");
    boImgMan.setImageManagementHolder("imageName");
    boImgMan.setDocumentReferenceHolder("docRef");
    boCallOpt[0] = boImgMan;
    RetrieveData oRetrieveData = new RetrieveData();
    RetrieveView oRetrieveView = new RetrieveView();
    oRetrieveView.setCallbackOption(boCallOpt);
    oRetrieveData.setRetrieveView(oRetrieveView);
    Action[] oActions;
    oActions = new Action[1];
    oActions[0] = fillPrompts;
    oReportEngine.getDocumentInformation(boDocInfo.getDocumentReference(), null, oActions, null,oRetrieveData);
    Testing this on BOE XI 3.0
    Thanks,

    For Web Intelligence, HTML is an interactive viewing format and not an export format such as PDF.
    Note that the HTML will be embedded with postback URLs to the application for images and drill downs.
    Closest you'd get is to be able to specify HTML output of an entire REPORT rather than REPORT_PAGE in the ViewSupport.setViewMode method.  But this brings back just one report in the document, and will have postback URLs mentioned above.
    Sincerely,
    Ted Ueda

  • How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000

    Post Author: ltkin
    CA Forum: WebIntelligence Reporting
    Hi,
    How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000 ?
    Regards,

    Hi ltkin,
    Unfortunately, it is not possible in Xir2 to create Webi reports from stored procedures.
    Webi reports can only be created from Universe. So in Business Objects XIR3 we can create a special universe that enables Web Intelligence user's to access stored procedures residing in the database. This is the only way that Web Intelligence user's can access stored procedures.
    Please let me know if the above information helps.
    Regards,
    Pavan

  • How can I delete an old web page ??

    How can I delete an old web page ?? I have created a web page some time ago and now I want to delete it but i do not know how to do it: can anyone help me ?

    Delete the web page where it is published.
    If it is published to MobileMe, then you need to log into MobileMe and go to your iDisk or mount it on your desktop and then delete it from your Web/sites folder.
    If you have published to a server, then you'll need to download Cyberduck, Filezilla or Transmit - all dedicated ftp programmes to connect with your host/server and then delete your old files from the server.
    It really is not hard.

  • How do i Hyperlink to a web page from a java application?

    How do i Hyperlink to a web page from a java application using internet explorer as my default web browser?

    It's very simple.You can start any Application with the class Runtime. The command is an array consisting of the path of .exe and the file to be open.
    String [] cmd={path of IE+Filename.exe,"URL of your website"}
    try
    Runtime.getRuntime().exec(cmd);
    catch (Exception e)
    System.err.println(e.toString());
    }

  • How do I close the current web page in Safari?

    UPgraded to IOS 8 because a friend said it cured his problems, so I took the plunge.
    BIg mistake.
    THis question concerns Safari.
    how do I close the current web page?

    I just found how to do this on my iPad!  At the top right are two squares overlapping.  Click on that and you will get your page hanging in space.  There is an X on the top (I think) left.  Click on that and TaDa!  Lost of hoops, but glad I found it.

  • How to create progress bar in web page!!!

    Dear,
    I do not know how to create progress bar in web page?
    Please show me the way to solve it.
    Best regards,
    Huy

    God your lucky/lazy
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import javax.swing.*;
    import java.util.*;
    import java.io.*;
    public class ProgressBar extends Applet
      private boolean isStandalone = false;
      private int width;
      private int height;
      private double percentComplete;
      private double fundsTarget;
      private double fundsRaised;
      private Properties values;
      private String propertiesFile;
      private JPanel jPanel1 = new JPanel();
      private JProgressBar PB_FUNDS_PROGRESS = new JProgressBar();
      private GridLayout gridLayout1 = new GridLayout();
      private BorderLayout borderLayout1 = new BorderLayout();
      private JPanel jPanel2 = new JPanel();
      private JLabel jLabel1 = new JLabel();
      private JLabel jLabel2 = new JLabel();
      private JLabel jLabel3 = new JLabel();
      private GridBagLayout gridBagLayout1 = new GridBagLayout();
      private JPanel jPanel3 = new JPanel();
      private JLabel jLabel4 = new JLabel();
      //Construct the applet
      public ProgressBar()
      //Initialize the applet
      public void init()
        try
          jbInit();
        catch(Exception e)
          e.printStackTrace();
      //Component initialization
      private void jbInit()
      throws Exception
        fundsTarget = new Double( 100 ).doubleValue();
        fundsRaised = new Double( 50 ).doubleValue();
        PB_FUNDS_PROGRESS.setBackground(Color.green);
        PB_FUNDS_PROGRESS.setForeground(Color.red);
        this.setLayout(gridLayout1);
        jPanel1.setLayout(borderLayout1);
        jPanel2.setLayout(gridBagLayout1);
        jPanel1.setBackground(Color.white);
        jPanel2.setBackground(Color.white);
        jPanel3.setBackground(Color.white);
        jLabel2.setBackground(Color.white);
        jLabel1.setBackground(Color.white);
        jLabel3.setBackground(Color.white);
        jLabel4.setText(" ");
        jLabel1.setText(" ");
        jLabel2.setText(" ");
        jLabel3.setText(" ");
        this.setBackground(Color.white);
        this.add(jPanel1, null);
        jPanel1.add(PB_FUNDS_PROGRESS,  BorderLayout.CENTER);
        jPanel1.add(jPanel2, BorderLayout.SOUTH);
        jPanel2.add(jLabel2, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(5, 0, 5, 0), 0, 0));
        jPanel2.add(jLabel1, new GridBagConstraints(2, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(5, 150, 5, 5), 0, 0));
        jPanel2.add(jLabel3, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0,
         GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(6, 5, 4, 150), 0, 0));
        jPanel1.add(jPanel3, BorderLayout.NORTH);
        jPanel3.add(jLabel4, null);
        propertiesFile = this.getCodeBase().getFile().replaceAll("%20", " ")+"funds.properties";
        System.out.println("Properties file at " + propertiesFile);
        values = new Properties();
        try
          values.load(new FileInputStream(propertiesFile));
          fundsTarget = new Double( values.getProperty("TARGET", "100").toString() ).doubleValue();
          fundsRaised = new Double( values.getProperty("RAISED", "50").toString() ).doubleValue();
          System.out.println("target: " + fundsTarget + " raised: " + fundsRaised);
        catch (IOException ioe)
          System.err.println(ioe.getMessage());
        percentComplete = (fundsRaised/fundsTarget)*100;
        System.out.println(percentComplete);
      //Start the applet
      public void start()
        PB_FUNDS_PROGRESS.setMaximum(new Double(fundsTarget).intValue());
        PB_FUNDS_PROGRESS.setMinimum(0);
        repaint();
      //Stop the applet
      public void stop()
      public void paint(Graphics g)
        Graphics2D g2 = (Graphics2D)g;
        PB_FUNDS_PROGRESS.setValue(new Double(fundsRaised).intValue());
        String percent = Double.toString(percentComplete).substring(0, 4);
        jLabel4.setText("Currently At " + percent + "%");
        jLabel1.setText("100%");
        jLabel2.setText("50%");
        jLabel3.setText("0%");
      //Destroy the applet
      public void destroy()
      public String getAppletInfo()
        return "Funds progress applet by A really nice person";
    }

  • HT1349 How do I get rid of web pages I'm through viewing?

    How do I get rid of web pages I'm through viewing?

    Not sure exactly what you mean but while you are using Safari, just tap the X on the left side of the tab to close a it. Only the active tab shows the X. You have to tap on a tab to make it active or the foremost window.
    If you want to clear the history - Settings>Safari>Clear History.
    These are instructions for Safari in iOS 5. What version are you running?

  • How can I make photos on web page enlarge with mouse-over?

    How can I make photos on web page enlarge with mouse-over?

    There's a couple of recent topics which mention MagicZoom and JQZoom...
    https://discussions.apple.com/message/17438064#17438064
    https://discussions.apple.com/message/17440847#17440847
    A very simple method is shown here...
    https://discussions.apple.com/message/17440847#17440847

  • How to temporary block list of web pages?

    Hi While working I need access to web pages (I am developing web applications) but same time often I got distracted and spend my time reading interesting articles on web instead doing my job. I was using LeechBlock addon for Firefox, but now I migrated to chrome. So my question is:
    Is there simple way how to temporary block list of web pages for all browsers?
    It is OK to block http/https access only, but no problem to block all traffic from/to this sites. I need to by able to easily start/stop this block.

    No. Each domain has (or has not) its own IP address. The IP address of a parent domain has no influence on the IP address of subdomains.
    If you want to be able to use willcard, the best way is probably to base the filtering on HTTP level traffic.
    That is directly in the client (firefox/chrome extensions)
    Or, using an http proxy (squid).
    Or, may be, using iptables with rules that match the URL.
    eg
    sudo iptables -A OUTPUT -p tcp --dport 80 -m string --string "google.com" --algo kmp -j DROP
    will block outgoing traffic matching "google.com". You can of course tune better rules.
    sudo iptables -F OUTPUT will flush all rules.
    You can then add many "iptables -A OUTPUT" lines in a script, and associate a key shortcut to this script...
    Well, an extension to the browser is probably preferable. I give this solution only for the fun

  • How can a customer edit a web page that I have made?

    How can a customer edit a web page that I have made?  The customer should edit the text or pictures by himself. Is this possible? 

    First you can search in this forum "in browser editing".
    Second you may be interested in this video:
    http://tv.adobe.com/de/watch/designtools-in-der-creative-cloud/bearbeitung-im-browser-in-a dobe-muse/

  • More than one column retrieved in "report and form" page

    HELLO!
    let's see if anybody can help me with this... i'm sure it's a stupid problem but i really don't know how to solve it.
    when i create a new application with APEX, i want to add a "report and form" page. i select the table where de data is, and then click on add page. then i go to the page definition for the form that just has been created but there's no option for selecting more than one column as the link column...
    i mean, i want to show a report with all the columns from the table and then, by selecting one of them, the form should display that column but the problem is that the primary key of the table is formed by 6 columns and i always receive the "more than one column retrieved" message as it's trying to retrieve the information using only one column. is there any way to make the link column be composed by 6 or 7 columns??

    APEX can handle 2 primary key for one table (if you are using the automated fetch row and the automated process row).
    In your case, you'll have to create your own "fetch process (page rendering)" and "DML process (page processing)".
    Flex
    Homepage : http://www.insum.ca
    InSum Solutions' blog : http://insum-apex.blogspot.com

  • How to use sql report server web service (SSRS) in flex/actionscript

    Hi,
    I am trying to create a web page, that displays a report from my company's report server. I manage to import the ReportExecutionServiceService, but can't figure out how to get the report. anyone know where i can find good documentation of SSRS's WSDL (not on MSDN it didn't do much good)? or better does anyone know what steps are needed (what fields to use / initialize etc.)?

    Hi Sanjay
    First you create a report using the data source in Crystal Reports DesignerStand Alone Application and then save it to repository.
    This is the easiest way to do it.
    You can refer to Crystal Reports User guide and also BOXI Admin guide for the version you are using.
    You can download the above from help.sap.com
    Hope this helps!!
    Regards
    Sourashree

  • How to add sound recorder in web pages?

    Hello everyone, can anyone help me on how to embed a sound recorder in my web page? I'm using Netbeans 6.5.1, Java Persistence technology, and Woodstock Components for the Web Application. I would like to add a recorder which can save audio files in MySQL, retrieve it and listen to it afterwards.
    I have no idea on how to or where to start, any help would be appreciated. Thanks.

    [http://www.jsresources.org/examples/]
    There are examples there for doing everything you're wanting to do.
    As for the JRE, no. That's a question for the generic applet forum, I've never once written an applet.
    But, start by writing an application that does what you want, and then convert that to be an applet. That's always the best approach... and you should also check to make sure there's not a set of media components for recording that's designed for use in applets (I know there are special applet media players, I'm just not sure about recorders...again, that's an applet forum question).
    Read the examples, consult the applet forum...if you end up with any specific JavaSound questions, I'll be more than happy to answer those. I just flat-out don't know much (anything) about applets.

Maybe you are looking for

  • Attachments as a Link in the Activity Clipboard

    Hi Experts We are working on SAP CRM upgrade project  from 5.0 to SAP CRM 2007, Support pack level 05. Our client requirement is that, we need to enhance the activity clipboard so that Attachments of the transaction can be showed as a link in the act

  • 'Shared Places' are not working

    I have a network at home. We have one MacBookPro, one HP with WindowsXP and my iMac. Everything was working properly, we would share folders so we can take files from one computer to the other through the network. From one day to the other my Shared

  • Obiee11g level based Hierarchy

    Hi, In BMM layer Customers logical table is having two LTS's Customers and Addresses. At the time of creating "Customers Dimension", columns(City ,Postal Code...etc) from Addresses logical table not listing in Dimension(CustomerDim). Please advice Re

  • SMSY t.code in Solution Manager 3.2

    I want the steps for using SMSY t.code. In detail i want to configure the SLD using SMSY. URGENT Satinder Lamba

  • Application server stop running

    I installed J2EE1.4 bundled with application server8.2, it runs smoothly. However, after I reboot the machine, the application server could not be start. I got error after I issued: asadmin start-domains domain1. The following error is what I got fro