How to open a web page using HttpConnection class in cs3

Hi all!
Can anyone help me how to open a webpage using HttpConnection class in cs3?
Thanks
Senthil

> If any other way to access database? advice me!
Instead of using http, you are better off writing a command line script (that
uses bash or cmd.exe or whatever) that does this and then call that script using
app.system.
The code is much simpler and far easier to test and debug.
-X

Similar Messages

  • How to open a web page using indesigncs3  javascript ?

    i cant able to open web pages using this CS3 js.i anyone tell me the syntex?
    thanks
    subha

    Post your question in the forum 'InDesign Scripting'.

  • How do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA certfificate i can't open web pages with this, how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC CA certfificate i can't open web pages with this

    how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA ?

    Hi
    I am not suprised no one answered your questions, there are simply to many of them. Can I suggest you read the faq on 'how to get help quickly at - http://forums.adobe.com/thread/470404.
    Especially the section Don't which says -
    DON'T
    Don't post a series of questions in  a single post. Splitting them into separate threads increases your  chances of a quick answer.
    PZ
    www.pziecina.com

  • How to open a web page in JFrame.

    Please let me know how to open a web page in the Java Frame.

    HTML code can be viewed in any Swing component you want.

  • When I select print from any website article while in Firefox it only prints a blank page. When I open same web pages using Safari, they print fine. Documents in other appliations print fine. Only Firefox documents print blank page.

    When I select print from any website article while in Firefox it only prints a blank page. When I open same web pages using Safari, they print fine. Documents in other appliations print fine. Only Firefox documents print blank page.

    Quit Safari.
    Open the Library folder in your home folder as follows:
    ☞ If running Mac OS X 10.7 or later, hold down the option key and select Go ▹ Library from the Finder menu bar.
    ☞ If running an older version of Mac OS X, select Go ▹ Go to Folder… from the Finder menu bar and enter “~/Library” (without the quotes) in the text box that opens.
    Delete the following items from the Library folder:
    Caches/com.apple.Safari/Cache.db
    Preferences/com.apple.quicktime.plugin.preferences.plist
    Preferences/QuickTime Preferences
    Relaunch Safari and test.

  • How to read a web page using https ?

    Hi,
    I'm trying to read a page under a HTTPS connection. I got a certificate from my server and I'm not behind a firewall.
    I find everthing confusing here, and the Java Secure Socket Extension Reference Guide from Sun is not helping too much.
    If anyone could post some simple sample code to from the absolute 0, read the full page it would be really, really appreciated. It must include all the steps (from setting the trustStore pointing to the certificate, to actually reading the page).
    And yes, I know this is really dummy, but I'm new to the connection part of the Java API and time is really short to solve this.
    Thanks in advance,
    - Juan

    Amacfal,
    First of, thank you for your help. But I'm trying to read a page using a HTTPS connection, and the code below (very similar to mine) doesn't work. At some point you must state where you got the PFX file. Where and how, I don't know.
    Regards,
    - Juan
    Here is some sample code:
    private void getWebPage(String searchPageURL)
    //Local Attributes
    String readString;
    URL url;
    URLConnection urlConnection;
    BufferedReader HTMLpage;
    try
    //Connecting to URL
    url = new URL(searchPageURL);  //e.g.
    /e.g. searchPageURL = "http://www.yahoo.com"
    urlConnection = url.openConnection();
    HTMLpage = new BufferedReader(new
    r(new InputStreamReader(url.openStream()));
    //Looping through Web Page
    while((readString = HTMLpage.readLine()) !=
    )) != null)
    System.out.println(readString);
    catch (Exception e)
    e.printStackTrace();
    // NEED TO MANAGE ERRORS + LOG FILE
    }You will need to import the following:import java.net.*;
    import java.io.*;

  • Opening new web page using servlet and jasper report. ?

    Hello,
    I am developing one small web application and implementing jasper report in it. I am using jasper report with servlet. Which is generating one pdf file and displaying in same browser. But I want to open this report in new browser. Which is only display that report window. I am trying it. response.setContentType("application/pdf");
                   /response.addHeader("Content-Disposition", "attachment; filename=" // this is basically for downloading pdf file.
                             + request.getParameter("D:/rnext/30-oct-2009/sms/web/jsp/Reports/allstudentsofwholecollege.jasper") + "");
          response.setContentType("application/pdf");
          response.setContentLength(bytes.length);
          servletOutputStream.write(bytes, 0, bytes.length);
          servletOutputStream.flush();
          servletOutputStream.close();In this code it is showing me attachement file of report.
    When I changed the response.addHeader(Content-Disposition", "inline; filename=" // this is basically for downloading pdf file.)
    It is opening in same window. Please help if you can. It is urgent. please help.
    Thanks in advance.
    Manveer

    Use target attribute with link you have placed on you JSP page. [Look Here|http://www.w3schools.com/tags/att_a_target.asp]
    Also remove Content-Disposition header if you want to open file in browser.
    In latest browsers it might be possible you will see new tab opened rather then whole new browser window, This depends on browser settings.

  • How to open a web page from a BSP ? Or swap from the actual URL to another?

    Hi,
    I have a BSP, executing some data loading. It works fine.
    I am trying to enhance it by adding a call to another URL, at the end of the program.
    The same code works when I execute it from transaction SE38. However, when this is executed from the BSP itself, the return code of the function CALL_BROWSER is 2.
    I made som debugs, and the CALL_BROWSER function executes another function which is WS_QUERY. And there, SAP seems not being able to find wich system it is running on.
    Has someone done that before?
    Here is the code of my BSP (the same that works in SE38):
    DATA : appname      TYPE string,
           ls_page_name TYPE string,
           cb_true      TYPE boolean,
           cb_false     TYPE boolean,
           url          TYPE string,
           c_url(2054)  TYPE c.
        MOVE : 'ZPC_STKVTES'     TO appname,
               'zpc_stkvtes.htm' TO ls_page_name,
               'X'               TO cb_true,
               '-'               TO cb_false.
        CALL FUNCTION 'UPWB_GET_APPLICATION_URL'
          EXPORTING
            application          = appname
            page                 = ls_page_name
            ib_additional_params = cb_true
            ib_in_subgui         = cb_false
            ic_preview_type      = 'B'
          IMPORTING
            url                  = url.
        CONCATENATE url '&bps-design_messages=X' INTO c_url.
        CALL FUNCTION 'CALL_BROWSER'
          EXPORTING
            url                    = c_url
            window_name            = ' '
            new_window             = 'X'
          EXCEPTIONS
            frontend_not_supported = 1
            frontend_error         = 2
            prog_not_found         = 3
            no_batch               = 4
            unspecified_error      = 5
            OTHERS                 = 6.
    Regards
    Laurent
    Message was edited by: Laurent THIBERT

    > Thanks, but can I use such technology within Abap?
    YES with report programs or dialog programs but not in BSP framework
    > I use the Event OnProcessing of the BSP to execute
    > many tasks, and then only I want to open or swap to
    > antoher URL.
    in that case you can either use
    navigation->goto_page(<url>) .
    or if you want to open the page in a new window.
    inoninputprocessing after all your processing done youc an set a varialbe say opennewwindow = 'YES'
    and in the layout write this code.
    <% if opennewwindow = 'YES' . %>
    <script>
          window.open( '<%= url %>', target='_balnk');
          </script>
    <% endif . %>
    Regards
    Raja

  • How to open a web page of given url and open one of its link .

    Hi All,
    I need to write a java program which can open a given URL, fill in the form with given input values and submit it, and then can automatically click on a link (or say open one of the links) on the resulting page.
    It is basically what a testing script does.I want to write it in java.
    I am not able to find keywords i can use to google about this topic.
    Any help would be appreciated.
    Thanks,
    Elan

    That's what you do in the browser, but that isn't what your program would do. Follow the tutorial:
    [http://java.sun.com/docs/books/tutorial/networking/urls/index.html]
    Edit: Although now that I notice you used the word "testing script", you might just want to use HtmlUnit instead of programming that stuff yourself.

  • How to open a web page in java in Solaris system

    i can do this in windows:
    String location = "www.sun.com";
    Runtime.getRuntime().exec("explorer " + location);how could i get it in solaris?
    Thanks

    Isn't this question completely outside the scope of this forum ?
    ... this is a forum for Solaris Zones, not Java or software development.
    http://forum.java.sun.com/thread.jspa?threadID=5075398
    Perhaps your query would be more appropriate in one of these other areas of discussion:
    http://forum.java.sun.com/index.jspa?tab=java

  • Can't open some web pages... DOES ANYONE HAVE A FIX THAT WORKS?

    I'm unable to open certain web pages. The pages will start to open and than the application will just stall. This seems to have coincided with downloading a security update a while back. I've tried downloading firefox and it too will not open these specific pages. I've searched the forum and as of now I can't find a solution. From what I've hear, Apple isn't even acknowledging that there is an issue. I've repaired permissions, deleted Safari plist files, all with no improvement. I know for a fact that it is not my internet connection, as my powerbook can navigate to these sites without any issues, however my powermac seems to have "forgotten" how to open some web pages.
    Any fixes would be enourmously appreciated!

    Thanks for the reply.
    I don't think that reporting the pages to apple would do much good as it's not the pages themselves that are the issue, it's something on my system that prevents them from opening up properly. My laptop will open the pages without any issue, however my desktop isn't able to for god knows what reason. I know others on this board have had similar problems.

  • Open the web page

    Hi
    I am not exept in plsql..
    How to open the web page in oracle pl/sql with procedure.
    regards,
    sasi

    Hi,
    There is a dedicated forum for PL/SQL questions, please post your question in that forum for a better/faster response.
    SQL and PL/SQL
    PL/SQL
    Thanks,
    Hussein

  • How to show modal window without popup in a web page using javascript

    Hi,
    How to show modal window without popup in a web page using javascript, means when the modalwindow is opened it should not ask for popup blocker alert......
    pls help me.....

    Thanx for ur reply,
    Actually the senario is when i click on a button, another jsp page should be displayed in a modal window without popup, but the functions alert() and confirm() will not accept the url path of the another jsp page...

  • How do I open a web page in Adobe Reader from ipad2?  I don't see any buttons to click. I'm new user

    How do I open  a web page in Adobe Reader? I got the app for ipad2, but when a page says I need a certain version of AR, I don't know what to do. I'm a new user and don't know if I have to "open" AR and it automatically reads whatever doc I have up on the web, or is it always running and any web page I'm on should show a button to click in order to open the page in AR?

    If a website says that you need a certain version of Adobe Reader, it is probably attempting to detect whether or not you have the Adobe Reader browser plugin installed. This is something that only works on desktop systems where browser plugins exist. Since browser plugins don't exist on mobile, website developers should take care to present different messages and provide different options for downloading PDF's when visited by mobile browsers. I recommend contacting the website owner and requesting that they implement access for mobile devices.

  • Safari on my iPad 4 opens the latest page used rather than my home page. This is new ,after I updated to IOS 8.3.How do I get it back to what it was?

    Safari on my iPad 4 opens the latest page used rather than to my home page.
    This is new ,after I updated to IOS 8.3.How do I get it back to what it was?

    You're welcome. You're not alone. The change has left alot of people scratchiing their heads wondering why. Maybe if enough people leave feedback at the link below it will be changed.
    http://www.apple.com/feedback/

Maybe you are looking for

  • Where is the button called "tools" that Firefox keeps refering to when I ask for help with something?

    In order follow their directions for some help, I am told to use a button called "tools". Where is the darn thing?

  • How to pick a good power supply?

    I ordered my 875p Neo-FISR with an Aspire X-Dreamer case.   The case is budget, but it does a decent job of cooling my system (cpu temps: 25c-40c).  The only problem is, I'm using the 350w Turbolink PSU (better named POS) that came with the case. My

  • 10.4 upgrade - lost stuff

    After my upgrade of my e-Mac from 10.3 to 10.4.10 , I can't find my iTunes Playlists. I did make a complete back-up of the hard drive before the upgrade but i don't know where to look on the external drive for what items, and what needs to be moved w

  • APSE 10 START PROBLEM

    HI I HAVE PROBLEM WITH MY APSE 10,AFTER CLICKING ADOBE ICON ON MY PULPIT DONT RESPOND,ONCE COMPUTER IS RESTARTED WORKING WITHOUT PROBLEM TILL NEXT TIME WHAT CAN I DOO PLEASE FOR HELP PS MY LAPTOP IS HP PAVILION DV6 WITH WIN7 OS

  • Deemed exportsales and back to back order sales

    HI,                   In one company interview I have been asked by the interviewr that have you worked on special sales process deemed export and back to bac order sales can any body explain what is this how will do you configure in SAP yours Digita