User feedback- Creating and Displaying web page

Hi,
does anyone know how I could create a html-page and display this in a browser from my applet?
I have created an applet that after preforming its task has information that should be displayed to the user. Prefferably this should be displayed as a normal html web page so that the user can use the browsers print and/or save functions. So my idea is to create an html page (located in RAM, not on disk), open a browser to this page and let the user worry about the rest. Any suggestions on how to do this?

You can open any url in a new browser window from applet:
try{
URL url = new URL("...");
applet.getAppletContext().showDocument(url,"_blank");
catch(MalformedURLException e){}
So html (jsp) page with applet info should be located/created on the server, and applet must send info to server before that. It can be sent as parameter of url ("http://.....?param=..."). I use this approach.

Similar Messages

  • How to create and display in page 2

    Hi,
    A new requirement has come for me ... the existing form for statement of account is using  RF140-WRSHB (foreign currency) to display the open items of the customer ... but when a customer is having two different currency... then the users want to display the local currency on the first page & on the second page they want to display foreign currency + local currency
    for e.g ... Cust A has open item in SGD($160)  & USD ($100)...
    then on page 1
    Foriegn currency USD - $100 <-- This is already coming ...
    on page 2.
    Currency   |   local currency
    100  USD  |   160   SGD <-- I need to display this... please tell me how can I do this ...
    Thank You,
    SB.

    Hi Eswar,
    It is taking currency Key from BSID ... & BSID here for that customer is having 2 currency Key ... one for SGD & one for USD ... the only way to get the right currency key in page 2 is through the right BELNR ... but how do I write .. Select WAERS where
    bukrs = "____ " and
    kunnr = "____" and
    belnr =  "____".
    This is what is written for Page 1...
    &ULINE(71)&,,
    <K>Doc.,,Doc.,,Invoice,,Text,,Amount in</>
    <K>Date,,Type.,,Number,,,,&BSID-WAERS&</>
    &ULINE(71)&

  • Web Page Composer - Web Form for exposing iViews and External Web Pages

    Hello SDN Community,
    This forum thread is intentionally created to collect your feedback and ideas regarding the Web form for exposing iViews and external Web pages.
    With this new Web form you are able to specify height and width of the iFrame, in which the corresponding iView/external Web page will be displayed on the particular WPC Web page.
    For more information regarding this new Web form and its features and to download it visit this address:  https://wiki.sdn.sap.com/wiki/display/KMC/CustomizingtheWebPageComposer
    Your oppinon and constructive suggestions will help to evolve the Web form further and facilitate the community to create more sophisticated and enhanced versions of this basic reference implementation. Feel free to contribute also your version and discuss in public.
    Here are some basic questions that can guide you:
    1. Does this new Web form help in your particular scenario? How?
    2. How would you rate from 0 to 5 your satisfaction with this particular Web form?
    3. What can be improved in the Web form?
    4. Do you miss something from documentation point of view?
    Explore the new WPC wiki pages - find valuable the information regarding WPC at one place, download new Web forms, and feel free to contribute.
    [Web Page Composer Wiki|https://wiki.sdn.sap.com/wiki/display/KMC/WebPageComposer]
    Best Regards,
    WPC team @ SAP

    Hello!
    I have installed your component. When I try to create a new component in WPC with this form, portal throws an exception
    Full Message Text
    05:54_30/07/09_0005_21710350
    [EXCEPTION]
    java.lang.NullPointerException
    at com.sap.nw.wpc.editor.EditorBean.updateDocumentFromContext(EditorBean.java:336)
    at com.sap.nw.wpc.editor.EditorBean.getPreview(EditorBean.java:600)
    at pagelet.editor._sapportalsjsp_editor.subDoContent(_sapportalsjsp_editor.java:1802)
    at pagelet.editor._sapportalsjsp_editor.doContent(_sapportalsjsp_editor.java:58)
    at pagelet.editor._sapportalsjsp_editor.service(_sapportalsjsp_editor.java:38)
    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sap.nw.wpc.editor.EditorTool.doContent(EditorTool.java:55)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Do you have any ideas? I am running EP7 SPS 15
    Thanks in advance

  • Created Personal .Mac Web Page iMac Hard Drive Crashed Have TimeMachine

    Ok this is simple my iMac 24" 2.33mhz hard drive went out and my display and my Optical Drive,
    I had backed up using Time Machine. But what I want to get is my . Mac and iweb backed up
    together when I open iweb App. My personal website isn't showing,
    It wants me to create a new iweb site. .
    Ok I went to USB Drive that has iMac's Time machine backup on it and went into
    ~Library-Applications Support>iweb Folder shows Domain.sites 2, I've tried to revert iWeb back to
    The Domain.sites 2
    which was in the folder mentioned above.
    Please help, how do I bring back my iWeb template that I have created and finished and also created
    A 2nd web page to have it hosted, and it's gone to? Where is my iWeb files located that
    Time machine backed up from the iMac 24" that went down?>
    ALL I WANT IS TO GET MY 2 WEB PAGES BACK THAT I CREATED WITH IWEB, ONE TO USE ON . MAC
    AND THE OTHER TO BE HOSTED AND I CAN'T FIND EITHER OF MY SITES THAT I CREATED FROM
    IWEB'S TEMPLATES...

    Ok I found in the ~Library>Application Support>iWeb>2 Domain Sites
    I put the 2 domain sites into my new Application Support> iWeb Folder
    Opened iWeb to find that nothing has changed please go into detail of how I can
    fix this problem and you said to click the TM icon in the dock what is TM I'm sorry
    I don't know and the only way for me to learn is to ask
    Thanks for the reply
    Michael

  • Create PDF from Web page using Acrobat X - Page Order

    I have a structured web site that is in fact Program Help The web pages are structured as follows:
    index.html - Main Topic Index page with links to all topic subject index pages
    topic/index.html - Topic Subject Index Page with links to all subject pages
    topic/subject.html - Subject page
    .....etc
    Using Acrobat 5 "Create PDF from Web Page" created a perfect logical PDF  page structure in the page order of of the web site. In Acrobat 5 page 1  was the Main Topic Index Page, page 2 was the 1st Topic Subject Index  Page, page 3 was the 1st Subject Page, then the 2nd subject of the 1st  Topic, etc. until the Topic Subjects were exhausted after which the 2nd  Topic Subject Index Page and so it went on. As a result the bookmark  structure was sensible. The page order was as follows:
    Main Topic Contents
    Topic 1 Contents
    Subject 1 of Topic 1
    Subject 2 of Topic 1
    Topic N Contents
    Subject 1 of Topic N
    Subject 2 of Topic N
    Acrobat X (just purchased) produces a differently structured PDF from the same HTML pages. The order is:
    Main Topic Contents
    Topic 1 Contents
    Topic 2 Contents
    Topic N Contents
    Main Topic Contents (a second time)
    Subject 1 of Topic 1
    Subject 2 of Topic 1
    Subject N of Topic 1
    Subject 1 of Topic 2
    Subject 2 of Topic 2
    Subject N of Topic N
    Question: Is there any way I can get back with Acrobat X the same page order I got with Acrobat 5?
    Any help appreciated. The website is www.caliach.com/caliach/vision/help/index.html
    Chris

    Acrobat is using the underlying mark up of the rendered HTML page.
    This may or may not provide an adequate input to Acrobat when it is noodling out how and what to tag.
    I suspect you may find that, to obtain an adequately tagged PDF, you may have to capture the web page content with the create bookmarks and create tags options off.
    Once you have the PDF make working copies.
    Try letting Acrobat tag this already created PDF to see what happens.
    You may have to manually tag the PDF.
    n.b., The default read order for western language can be altered by user selections in the accesibility setup or by selection in the PDF page(s) Page Properties.
    Be well...

  • File, create PDF, from web page, entire site...questions

    I am new to adobe, is this the proper forum for Adobe Acrobat 9 Pro for macintosh?  I think yes...
    Created a PDF from:  File, create PDF, from web page, entire site.
    Is there a way to print this without the background color?  If you printed from a browser, you could choose not to print the back ground color.  I know exactly the color.
    Is there a way to make this PDF look like the web, with no page breakes?  I have tried various things, but the page breaks are always displayed.
    Is there a way to create bookmarks on somthing other than the title tag in the web site?  The title tag is an SEO 1 sentence summary of the page, which makes for very long book mark names.
    Thanks for your help.
    bob
    www.answerstat.net

    I don't use v9, but what I would do is click the FILE--PRINT option, print to PDF, and enter to print one page (default is first page)

  • Display Web Pages

    I heard that you could display web pages in a Java program, is this true? If so, how would you do it?

    Sorry for the above answer.
    You can display web pages in JEditorPane not JTextPane
    Following program can show the web pages in Swing program.
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import javax.swing.*;
    public class EditorPaneTest extends JFrame
         public EditorPaneTest() throws Exception
              Container con = getContentPane();
              String s = null;
              try {
              s = "file:"
                        + System.getProperty("user.dir")
                        + System.getProperty("file.separator")
                        + "abc.html";
         URL helpURL = new URL(s);
                   JEditorPane pane = new JEditorPane();
                   pane.setEditable( false ) ;
                   pane.setPage( helpURL ) ;
                   con.add( "Center" , pane );          
         } catch (Exception e) {
         System.err.println("Couldn't create URL: " + s);          
                   setSize( 400 , 400 ) ;
                   setVisible( true ) ;
         public static void main( String args[ ] )throws Exception
              new EditorPaneTest();
    thanks.

  • Creating a dynamic web page with Dreamweaver CS6 academic version

    To create a dynamic web page with Dreamweaver CS6 academic version, setting up for testing server menu box just shows up and disappear. what is that issue?

    Anderson51 wrote:
    I'm new to this area ...  ...Like I said, I'm new and in way over my head - I think???? Help???
    Hmmm,
    I don't want to be the one to put you off.  I'm in over my head too but I really enjoy the pain of grappling with Dreamweaver.  It isn't really for the novice user and unlike any other app I know, it will be of greater benefit to those who have some knowledge of the underlying languages it deals with.  i.e. HTML, CSS and some others.  Strangely, I also hear from people that know the coding well, that they don't like/use/need Dreamweaver.
    If you only want one site, and don't really need to wrench your own unique identity from what you are doing, why not look at a free site from Wordpress.com?  I am sure you can use your own domain, and as you get proficient at it, you can expand what's there by paying for it.
    Just a thought
    Martin

  • Can display Web pages from servlet but not applet?

    I have been able to display real-world Web pages from a simple servlet using JDeveloper 3.0, but can't figure out how to do the same from an applet. Any hints?

    My previous post had the detail...Probably a simple question from a relative novice. I'm having a problem just viewing web pages by calling them from a "list" of URLs in an applet. I built an applet with a split pane that has a JTree on one side and an "HTML viewing pane" on the other. I can click JTree nodes to display local html files, but I don't understand how to display web pages from the Internet. Do I need something like HyperlinkListener to make the jump to "hyper-world"???

  • How to include non web pages to the "Create PDF from Web Page" feature?

    In Acrobat Pro (v. 10), when I use the "Create PDF from Web Page" feature, it works great for html pages, but it skips non-html links (doc, pdf, ppt, xls, etc). I need Acrobat Pro to convert those files and put them in the order as well. I don't see an option for this in settings. Is there ANY way I can do this? This is for an archiving purpose and I have 10,000 plus files to convert. Please help.

    This is a question i'm trying to answer too. My issue is that I have a PDF file which itself contains links to both DOC and PDF files. The end result is that I need one consolidated PDF containing all the linked files (in order).
    I can run the "create from web page" on this PDF file, and it'll download them, but not convert them. It just adds them as "jumbled" text to the end of the document. I need it to download, convert, and then append them.
    So, as isunshine3 asked above, any way to have Adobe convert the files that it finds linked when running the "create from web page"?
    THanks
    Matt

  • "Create PDF from Web Page" Yields Authorization Failure

    Acrobat 9 Pro Extended running on Windows XP Service Pack 3:
    When using "Create PDF from Web Page," certain linked pages result in an "Authorization Failure" error message. Is there any way to instruct Acrobat to disregard pages that are not downloadable and continue creating the PDF?

    I am having the same issue AND none of my pages or files require a UserID or Password. My issue appears to be something with the domain because a and b work just fine and produce a PDF file while item c does not work and produces the error msg.
    http://www.dot.wi.gov/projects/neregion/151/index.htm works just fine and produces a PDF file.
    http://www.dot.state.wi.us/projects/neregion/151/index.htm works just fine and produces a PDF file.
    http://www.wisconsindot.gov/projects/neregion/151/index.htm produces an error msg. ‘Nothing done’.Error info. - Authorization Failure    http://www.wisconsindot.gov/projects/neregion/151/index.htm
    [email protected]

  • Create PDF From Web Page - Authenticated SharePoint Sites generate "Authorization Failure" error

    We have several authenticated sharepoint sites on our intranet, and we are trying to create a PDF of a site (x levels down) using the Acrobat create PDF from web page feature.  When you try to create a PDF from a non-sharepoint, authenticated website, a login prompt appears asking for login credentials.  However, when you try to use the same feature on an authenticated sharepoint site, you do not get prompted for credentials and instead get an Authorization Failure error.  the popup says "Error: Nothing Done".  We have successfully PDF'd anonymous sharepoint sites on the WWW.  Has anyone successfully PDF'd an authenticated SharePoint site? 
    Thanks in advance,
    -Richard.

    I am having the same issue AND none of my pages or files require a UserID or Password. My issue appears to be something with the domain because a and b work just fine and produce a PDF file while item c does not work and produces the error msg.
    http://www.dot.wi.gov/projects/neregion/151/index.htm works just fine and produces a PDF file.
    http://www.dot.state.wi.us/projects/neregion/151/index.htm works just fine and produces a PDF file.
    http://www.wisconsindot.gov/projects/neregion/151/index.htm produces an error msg. ‘Nothing done’.Error info. - Authorization Failure    http://www.wisconsindot.gov/projects/neregion/151/index.htm
    [email protected]

  • Create PDF from web page w/password

    Would like to created a PDF using the 'Create PDF from WEB Page' function. The initial page of the site requires a login which we have but we seem to be unable to use Acrobat to archive the site because it requires a login. Is there a way to login and create a pdf of the site?

    I tested this in Acrobat X and the exact same issue occurs
    http://www.quantumdynamix.net/clients/image-map-test/ImageMapTest-AcrobatX.pdf
    This has to be considered a legatimate bug, especially since IMAGE MAPS is listes as one of the supported HTML features via the help files

  • Create PDF From Web Page Does Not Create Image Maps Properly

    I have a website that contains image maps. When I "Create PDF From Web Page", these image maps are not rendered properly. From what I can tell, this is a BUG within Acrobat, and I'm hoping that people can confirm this for me.
    I created a test page at http://www.quantumdynamix.net/clients/image-map-test/. I placed the images maps my manually coding the coordinate information, so the maps are PRECISELY placed exactly over the squares. Each image map navigates to an anchor corrisponding to the number on the red square.
    When I created the PDF using the "Create PDF From Web Page" feature, the image maps are rendered improperly. This file can be viewed at http://www.quantumdynamix.net/clients/image-map-test/ImageMapTest.pdf. To view the outlines of the image maps, please select "Tools" -> "Advanced Editing" -> "Link Tool". You can see the outlines are substantially incorrect.
    Please confirm that other can replicate this problem. Any solution to this issue would be very helpful!

    I tested this in Acrobat X and the exact same issue occurs
    http://www.quantumdynamix.net/clients/image-map-test/ImageMapTest-AcrobatX.pdf
    This has to be considered a legatimate bug, especially since IMAGE MAPS is listes as one of the supported HTML features via the help files

  • Create PDF from Web Page

    I have Acrobat 9 Pro under Wins XP. I am using the "Create PDF from Web Page" feature. I would like to capture only one page out of 36. The capture setting is at its minimum (one level) and the "entire site" box is unchecked. Does Acrobat have the ability to do this? If so, what is the setting.
    Any help is appreciated.
    Jean

    I don't use v9, but what I would do is click the FILE--PRINT option, print to PDF, and enter to print one page (default is first page)

Maybe you are looking for