Load URL within a Jeditorpane

How is it possible to load an html file in order to be presented in a jeditorpane from a URL?
Thanks on advance

i know you can display a URL in its own web browser like this
this.getAppletContext().showDocument(url, "_blank");
but take a look at these, it may help you out
http://www.javaworld.com/javaworld/javatips/jw-javatip109.html
http://www.javaworld.com/javaworld/jw-01-1999/jw-01-swing.html
Andy

Similar Messages

  • "Unable to load URL" - SQL Server 2005 DB Web Service Connection

    Hi ,
    I am using XCelsius version 5.0.0.99 to create dashboards connecting to SQL Server 2005.
    Find below the details of the steps -
    1. Created a web service within SQL Server 2005 database.
    2. Copied the WSDL URL.
    3. In XCelsius 2008 -> Data Manager -> Web Service Connection, pasted the URL in the WSDL URL input box and clicked "Import" to import the methods. At this point I am getting "Unable to load URL" .
    Am I missing any step ?
    Any suggestion would be highly appreciated.
    Note : I have tested the web service by using it in a ASP.Net project and works fine.
    Thanks
    Chitra

    Hi,
    Error :unable to Load URL occurs" because Crystal xcelsius only support single schema web service created from Query as a web service and Flynet tool available in xcelsius 2008.
    The reason:
    All the web service create from Sql 2005 ,PHP script produced multiple scehma web service and crystal xcelsius only support single schema web service which can be created from Query as a web service or Flynet.
    Please revert in case of any queries.
    Regards
    Kekti Fadnavis

  • "Unable to load URL" error when importing VS2008 created WSDL

    One of my developers created a simple web service in Visual Studio 2008 that queries a database on our SQL Server 2005. I can view the web service results in a web browser with no problems. I can also pull up the WSDL in the web browser with no problems (http://<ip address>/Service.asmx?WSDL). However, when I try to load WSDL into a Web Service Connection in Xcelsius 2008, I get the "Unable to load URL" error.
    I've also tried to use the web service as a data source in Crystal Reports 2008, but I get another error:
    Logon failed.
    Details: Schema file is invalid
    error: src-resolve: element 'schema@http://www.w3.org/2001/XMLSchema' not found
    I've seen a post in which it looked like Crystal acknowledged this as a bug in the XML driver used by Crystal products, but it should be fixed in a service pack update. I've got the latest service packs and fix packs installed for both Xcelsius 2008 and Crystal Reports 2008.
    I scanned the information being sent/returned to Xcelsius using Fiddler and it looks like the request is getting through and the actual WSDL file is being returned to Xcelsius, so it shouldn't be an authentication issue. It seems like Xcelsius doesn't like the WSDL file for some reason. However, it is automatically generated by Visual Studio 2008.
    Any ideas as to how I can get Xcelsius to use this test web service?

    Having the same issues here also.
    I can see the wsdl file being accessed successfully in the web access log, but Xcelsius v5.3 return "unable to load URL"
    Only thing I can guess is that the schema is "untyped"
    So, nobody in SAP has a solution?

  • Xcelsius error: Unable to load URL while using QAAWS on XI 3.0.

    Hi Experts,
    I am getting "unable to load url" in xcelsius 2008 while importing a qaaws url.
    After all the testing below are my observations:-
    1) This has something to do with QAAWS.
    2) When I logged into QAAWS and tried accessing the newly created url from the browser. It gave this error " can not communicate to the server mcc69u01:6400" but intrestingly the cms port is located at 6464 and not 6400.
    3) For every other application like infoview and cmc it picks the correct port i.e. 6464.
    4) Server is present on a UNIX box.
    5) I read somewhere that I need to make changes in the dsws.properties file under war files folder. There I enetered "domain= mcc69u01:6464" and restarted TOMCAT.
    6) After making this change I was unable to even log into QAAWS as it gave the error 02718 " you are not authorized to create query".
    7) After reverting the changes now I am able to log into QAAWS and create new queries but the same problem persist.
    8) TOMCAT is listening to port 8088 for our environment.
    9) Tried the same thing from a different client machine with fairly new BO XI 3.0 client installation(same server) but no success.
    I believe somehow QAAWS is not able to connect to the correct port 6464 and that is the reason for this issue.
    Could anyone suggest what I should do???
    Thanks in anticipation,
    Anshul

    hi Anshul,
    The QAAWSservletprincipal is not related to how you log into the server when creating queries
    It is used when the queries are actually running, or when you are trying to load the query to a tool like Xcelsius. I had the same unable to load error and it was caused by the QAAWSservletprincipal being set to concurrent licence when my server was all named users.
    I think the issue you are seeing is more likely a bug caused by hardcoded cms port, but I think it is worth ruling out.
    Regards
    Alan

  • Full qualified host name not appearing in url within WSDL generated from PI

    Hi
       We are on PI711  ( AIX OS ) and are stuck with an issue of the fully qualifed hostname not appearing within WSDL file  generated in PI71 for a webservice it exposes using the Integration builder
    We changed the host name in exchange profile ( all locations ) from hostname to hostname.companyname.intra and also in the ABAP stack as recommended in all OSS notes.
    We use the Integration Directory --> Sender Agreement --> Display WSDL option to generate the WSDL.
    Its to be noted that all locations ( including url for WSDL ) have the fully qualified hostname except the url within the WSDL.
    Dioes anyone come across this issue/ know which parameters to be updated on the PI server to make the url within the WSDL for the PI webservice to have the fully qualified host name ?

    HI Karthik,
    As Mentioned by Baskar donu2019t use proposed URL .. while creating WSDL in Id.. but instead provide URL in following format and use it in that place and create WSDL.. details about URL format..
    the URL format is fix. and it is simple.
    http://host:HTTPPort/XISOAPAdapter/MessagingServlet?channel=party:sendersystem:CC_sender
    in above URL provide your sender service component name instead of sender system.
    and provide SOAP sender communication channel name in place of CC_sender
    provide your PI system host and http name in place of host and https and use this..
    for more details about URL..
    Propose URL when Configuring Sender SOAP Adpater
    soap url
    Thanks,
    Bhupesh

  • I puchased the Photoshop/Lightroom, but when I try to download Lightroom I get the following error message:Error -302 when loading url aam://SAPCode=LTRM?productVersion=5.5?passPhrase=RRR9EU9BaSBdtGb7 BrzzYZ9hLdjmpvEWeq7/9gSYn2 lUDLZNr9UveWEgxzaiobbibx4d6

    I get the following error message when attempting to load Lightroom:  Error -302 when loading url aam://SAPCode=LTRM?productVersion=5.5?passPhrase=RRR9EU9BaSBdtGb7+BrzzYZ9hLdjmpvEWeq7/9gS Yn2+lUDLZNr9UveWEgxzaiobbibx4d6JK3R74HPAX4YFwTpkn6K3YQk6Ej82wRFyYvKwXKAVMfMhQCfW5qg8odoMny OV1JlBuT0gEMjSjG5EhuCR288pgnfgQbAmchGqKSU=
    What can I do to solve the problem?

    Ewlett you are receiving this error because the AAM Detect plug-in is not yet installed.  Please see Error referring to aam protocol when you click download button | CC for more details.

  • Using xml to load urls

    I am a designer working on a flash project that is used to navigate to html pages. The project is a map - when you roll over different states there is an animation making that state pop out and show the state name. When you click each state (Button), it should open an html webpage. Right now the project works great, but I have the url's coded in flash actionscript using "onpress" and "load url." I would like to set it up so the flash file calls the URL for each button from an xml file, so it can be easily edited. The only thing it needs to call is the URL for each button. Can anyone give me simple instructions on how to make that happen?

    you'll need to change all the code attached to those buttons so each button has an instance name and you use that name to code for your mouse handler.
    and, if you're going to make those changes, you may as well use movieclip buttons and set this up so the next step is easier to accomplish.

  • Data connection issue - Unable to load URL

    Hi Folks,
    when I am trying to import URL (developed based on Query as Web services) in Xcelsius 2008, I am getting error "Unable to load URL".
    My other teammates are able to upload using their own laptop, so it indicates there is no issue on server side. I can open document saved in BO enterprise.
    Please advise if you have seen this issue.
    Thx...Ravi

    - has this been tried from server machine where BO is installed?
    >> I feel server site is all good... but I will try to login (remotely..and verifies this)
    - has this been tried from a different client machine?
    >>> Yes it is working for another team member (from his client laptop) whose user-id/access etc is same as mine.
    - are all client and server products at the same patch level?
    >> Yes
    - Is this specific to this QaaWS URL or is this issue across different Universes/URLs?
    >> still learning Xcelsius, so need to try other tools
    - Has this been tried using eFashion Universe?
    >> NO. can you tell how to do that?
    - Has this ever worked before?
    >> trying for first time from my lapop
    misc -
    I can open the document saved on BOBJ Enterprise server...
    URL looks good on web browser
    I feel it is more related to browser - security/setting.
    I even reset default internet explorer setting... still same issue.
    thx..ravindra

  • Error "Unable to Load URL" in Dashboard Design 4.1 SP2 while create web service connection

    Hello Experts,
    I am using SAP BO Dashboard Design 4.1 SP2.
    I have create one web Intelligence report and from it i create web services url using of publish data feature.
    when I use this url to create Web service(Qaaws) connection in dashboard It is showing me error " Unable to Load URL "
    URL is working fine in browser in server system where i install SAP BO 4.2 but it is not working in my system where i installed dashboard design.
    Please suggest how do i make connection using of this URL in dashboard.
    Do i miss something or doing wrong ? then guide me.
    Thanks and Regards,
    Dhaval Dave

    Hi Dave,
    Please check the below link,
    How to create Xcelsius Dashboard based of BI Web Service ( BIWS )
    Using Webservice in Dashboard
    Webservices in Dashboard - Issue
    Also change your original link here and try to load
    (sample link)
    From:
    http://BOE:8080/dswsbobje/qaawsservice/bisw?def=1&cuid=xxxxxxxxxx
    To:
    http://BOE:8080/dswsbobje/qaawsservice/bisw?wsdl=1&cuid=xxxxxxxxxx
    or else can you post your url here.
    Hope this helps.
    --SumanT

  • Installed the new Lightroom 5 CC on a Mac running the OX X Yosemite version 10.10.3 (14D136) Lightroom starts to load but within a 1/2 sec it closes. Is there a fix?

    Installed the new Lightroom 5 CC on a Mac running the OX X Yosemite version 10.10.3 (14D136) Lightroom starts to load but within a 1/2 sec it closes. Is there a fix?

    I had the same problem earlier today. Sign out of your account for CC in the Preferences panel, close the CC toolbar app. Then sign back in, and the download process might begin in earnest for you. Took me SIX HOURS to download this pig, and now it crashes continually. This software is not ready for release based on today's experience. Hopefully you will at least be able to get to the level of frustration I have arrived at, beyond the level of frustration you are currently stuck at trying to get it to work.I am on the same OS. Too bad Apple abandoned a pro level competitor to LR. Hopefully in the near future they will update Photos so that it competes well with LR.

  • QAAWS : Import URL failed : Unable to load URL

    Hi everybody,
    I have a problem with QAAWS . I created a QAAWS and copied URL  ( I clicked "To Clipboard" but nothing happened so I clicked the URL, and a web browser appeared, then I copied this URL) .
    my URL : http://boxi31:8080/dswsbobje/qaawsservices/biws?def=1&cuid=AXP8AcnBLFVClPYIcK5jUGE
    Next, I opened Xcelsius \ Clicked Manage Connections \ Add QAAWS \ named this connection \ pasted the URL copied above to the blank of " WSDL URL" . After that, I clicked "Import" but an Error dispalyed : Unable to load URL.
    I don't know why it happened like that . Maybe I made mistakes somewhere???
    Pls, Help me to solve this problem.

    Hi All,
    I was having the same problem in BI4.0 SP2 Patch 16. Even external WSDLs gave the error so the issue wasn't with the BOBJ Server or the QaaWS URL syntax.
    I'm on a machine that also had Client tools, CRE, CR 2008 and CR 2011 installed. I forget the install order. I uninstalled the Xcelsius patch, then the base SP2, and re-installed them both.
    This fixed the issue.
    So maybe one of the other installs messed with Xcelsius. If you're having this error, and the URL is displaying fine in a browser, then maybe try from another install of Xcelsius.

  • How can i improve uiwebview performance so that it loads url faster ?

    My application consists of UIWebview which is loading a url, but if i run the same in safari it is loading very fast as compare to native uiwebview. Is it because safari contains Nitro Engine for fast JIT compilation ?. Can anyone tell me any mechanism to load url faster in native uiwebview ?

    What is the value of that pref?
    If Reset is grayed then that means that the pref has the default value.
    See:
    http://kb.mozillazine.org/Location_Bar_search
    http://kb.mozillazine.org/Keyword%2eURL

  • Load applet within another applet?

    Let's say I have two applets, A1, and A2. I'd like to load A1 on my HTML page, and I'd like A1 to load A2 within itself (i.e. not load it as another separate applet on the HTML page).
    Basically, A2 takes some parameters I would like to pass to it through A1, so I'd like to know if this is possible.
    Thanks for any help!
    James

    Totally possible. You just have to provide it an applet context
    see http://java.sun.com/j2se/1.4.2/docs/api/java/applet/AppletContext.html

  • Problem with changing URL within Safari window using AppleScript

    hey everyone,
    I'm currently trying to write a script that will open Safari, then change the URL within that same Safari window, and then quit Safari. However, I'm currently having a few problems:
    1) Sometimes two Safari windows will open. One will go to what I'm guessing is the default homepage, and the other will go to Google.
    2) I cannot figure out or find a way to change the URL within that window using AppleScript.
    Does anyone have any ideas as to how to go about doing these things? I'm pretty new to AppleScript, so if what code I already have is poorly written, please let me know. Thanks!
    --Open Finder and tell it to open Safari
    tell application "Finder"
    set site1 to "http://www.google.com"
    set site2 to "http://www.yahoo.com"
    launch application "Safari"
    tell process "Safari"
    open location site1
    delay 10
    open location site2
    delay 10
    end tell
    end tell
    --After waiting the allotted time, tell Safari to quit.
    tell application "Safari"
    quit
    end tell
    --Jonathan

    Welcome to Apple Discussions!
    You don't need to tell the Finder to open Safari - you can address it directly.
    This should be self-explanatory, but do ask away if you have any questions.
    (If there's only one window open - as per your description - it will take the first URL. Otherwise - if there are zero or many windows open - a new window will be opened for each URL.)
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;">
    tell application "Safari"
    activate
    if (count of windows) is not 1 then
    set theFirstWindow to make new document at end of documents
    else
    set theFirstWindow to document of front window
    end if
    set URL of theFirstWindow to "http://www.yahoo.com"
    set theSecondWindow to make new document at end of documents
    set URL of theSecondWindow to "http://www.google.com"
    end tell </pre>

  • Clicking on any hyper link or submit button shows a 'failure to load' URL message in the console in IE11

    Hi
    I am getting a console error message 'failure to load' while clicked on any hyperlink or submit button. This is only occurring in IE11 browser. why this is happening
    please find the attached screenshots from below url.
    http://screencast.com/t/BoUad8Vy
     and also there is open thread in "asp.net" forum. below is the url for the discussion.
    http://forums.asp.net/p/2022919/5820962.aspx?Clicking+on+any+hyper+link+or+submit+button+shows+a+failure+to+load+URL
    Thanks
    Pradeep

    Hi Viorel
    Thanks for your response,
    This is occurring in most of the websites and also you can observe the same error in "http://msdn.microsoft.com/ie" and you can observe it in IE11 browser only. please check the attached screenshot. ( http://screencast.com/t/jBez3nNpbfF )
    I have checked with different machine and get the same issue. i think my
    Internet Explorer is up to date, you can also check it once by enabling the console (F12).
    Best Regards
    Pradeep

Maybe you are looking for