Can Swing Display JSPx Pages ?

Hi All ;
Can Swing Display JSPx Pages ? ;
Regards ;

Hi Abu,
you're really pushing the thing forward.
Yes, Swing can display JSPx pages, but only if the result rendered is in a way that the Swing components can display.
Check Frank's answer here How To Call HTML Page Through Java Swing Page  ???....
As this is not an Oracle specific question you can google for it:
http://www.google.com/search?q=display+html+in+swing
HTH,
--olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Please (Can Swing Display Jspx Pages ?)

    Hi All ;
    I am New User in this website; and i need your help ;
    i found how yo display html in swing ; but i need to display JSPX page in swing ;
    can any body help ;
    Regards ;

    what?
    Do you know that a jsp or a jspx is never displayed but rather its corresponding html code?
    A jsp is a servlet that lives on the server side. After processing data, this servlet sends HTML back to the client.

  • Can I display html pages in flash player

    Hi all,
    Can I display html pages in flash player, i mean swf. Plz
    help me if it can be done. Can I call html pages in flash (i mean
    in flash player no new window)
    Thanks

    hi,
    Actullay i want the site to be opened with in the flash
    player, just like iframe in dreamweaver calling the external site
    in the mail html page. Plz Help me accessing external site page
    with in flash player
    Thanks

  • While Installing this error is coming This Program can not display the pag

    When I Try to Install SAP B1 8.8 on Win server 2008.
    I am receiving this message.
    This Program can not display the page
    The website is encountering Problem
    There might be a typing error in the address
    At the time of Installation which site we need to access.
    My Internet is working.
    Still i am facing this Problem please suggest me what should I do.

    HI Ram ,
    Internet is not required while Installation .
    Go through :
    Re: SAP Business Installation
    Thanks
    Ashish

  • Can't display web page

    Created a Web application with no problem
    Created root site collection and a site under the root with no problem
    Open the sub site and did some work on the site.
    Went to get back in and am now getting  "  The page can be displayed"
    Same with root
    Created another subcollection site with no problem but getting same error.
    All other sites in the farm are working.  
    I have rebooted everything, Sharepoint, IIS .
    Any ideas are appreciated.  
    Dave Kozlowski

    Hi Dave,
    Make sure you have the correct URL, goes without saying, but have to mention it, sorry.
    Look in inetmgr and make sure that IIS web sites are turned on, not sure why they would be off, but stranger things can happen.
    If you have publishing infrastructure turned on for this site:
    insure that the portalsuperuser and portalsuperreader accounts are domain based and not accidentally local.
    Here's a post on how to set those accounts up up
    http://anothersharepointblog.blogspot.com/2013/12/setting-up-your-farm-for-optimal.html
    take a look at <siteUrl>/_layouts/changesitemasterpage.aspx and select a master page that exists (this only works if publishing infrastructure is enabled in your site and site collection)
    or, possibly check in your site recycle bin  <siteUrl>/_layouts/Recyclebin.aspx for the missing pages, in which case this is post is not the answer.
    Stacy Anothersharepointblog.blogspot.com

  • Xml page can't display in the first time

    Hi everyone:
    I want to read data from MySQL to web page using JDOM.I read the data from database successful and insert them into a xml file.But I can't open the xml page property.It will display after I refresh the page more than ten times!
    I find that it become easy if I use JDOM to do this work.I write the logic in a servlet:
    /////////////////////////the servlet code is:////////////////////////////////////////////
         public void displayXml(){
              SAXBuilder build=new SAXBuilder();
              try{
              Document doc=build.build(new FileInputStream("C:\\tomcat\\webapps\\ROOT\\xmlbook\\mysql.xml"));
              Element root=doc.getRootElement();
              List books=root.getChildren();
              out.println("debug... ...");
              while(rs.next()){
              Element id=root.getChild("id");
              id.setText(rs.getString("id"));
              Element name=root.getChild("name");
              name.setText(rs.getString("name"));
              Element title=root.getChild("title");
              title.setText(rs.getString("title"));
              Element content=root.getChild("content");
              content.setText(rs.getString("content"));
              Element time=root.getChild("time");
              time.setText(rs.getString("time"));
              XMLOutputter xmlout=new XMLOutputter("",true,"GBK");
              xmlout.output(doc,new FileOutputStream("C:\\tomcat\\webapps\\ROOT\\xmlbook\\mysqlnew.xml"));
         }catch(Exception e){
              out.println(e.toString());
              System.out.println(e.toString());
    //////////////////////////////index.html/////////////////////////////////////////////////////
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
         <head>
              <title>Enter the title of your XHTML document here</title>
              <link style="html/css" href="style.css" rel="stylesheet"/>
         </head>
         <body>
              <h2>welcome to here</h2>
              <form action="mainpageurl" method="post">          
              <p><input type="submit" value="CliCk To EnTEr" /></p>
              </form>
         </body>
    </html>
    //////////////////////////mysql.xml////////////////////////////////////////////////////
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml-stylesheet href='mysqlxsl.xsl' type='text/xsl'?>
    <rootpro>
         <id/>
         <name/>
         <title/>
         <content/>
         <time/>
    </rootpro>
    /////////////////////////////End code///////////////////////////////////////////////////
    I add a hyperlink to the xml in a web page.It will go to the xml page when user click the button.
    But there is a problem puzzle me.The xml page will not display when the user first to come this page.The browser report error:"Can't display this page.The xml file must have a top element".It can display after I refresh this xml page more than ten times.Why?But the xml page already have a top element!~.I means the client must refresh the xml page more than ten times for display it.someone know why? :(

    sorry,My xsl file is:
    ////////////////////////////mysqlxsl.xsl//////////////////////////////////////
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:output method="html"/>
    <xsl:template match="/">
    <html>
         <head>
              <title>WelcomE To thE MainPagE</title>
         </head>
         <body>
         <table border="1" bgcolor="#eecc00">
                   <tr>
                   <td>User Information</td>
                        <td><xsl:apply-templates select="result/entry"/></td>
                   </tr>
         </table>     
         </body>
    </html>
    </xsl:template>
    <xsl:template match="entry">
    <li><xsl:value-of select="ID"/></li>
    <li><xsl:value-of select="Name"/></li>
    <li><xsl:value-of select="Title"/></li>
    <li><xsl:value-of select="Content"/></li>
    <li><xsl:value-of select="Time"/></li>
    </xsl:template>
    </xsl:stylesheet>
    I want to transform the xml file using the xsl.

  • Displaying a page in a particular region

    Hi
    We have several tabs for different pages. One of our tabs is "Inofrmation and resources" within this page we have a region on the left handside with a list of departments within the company. I'd like to be able to open a new page within the right hand side region of this page depending on which department you click on.
    I've tried to create seperate pages but when these open we loose the tabs at the top. I dont want to be recreating the tabs on all the different pages we create.
    So my question is how can I display a page within a particular region depending on which link is clicked?

    Hi Neil,
    How about having two portlets inter-communicating with each other ... Did you have a look at the Site Indexing Portlet available on the Portal Integration Solutions site (http://www.oracle.com/technology/products/ias/portal/point.html) ?
    thanks,
    Harsha

  • How to remove the caching in the jspx page?

    I have few links in a jsp page through which i can navigate to jspx pages. In one of the jspx pages there are few drop downs of whose options will be populated from database. when I select a value from the drop down (values are prepopulated in the drop down), then go to the jsp page and visit the jspx again through the link, (without closing the browser) the value which i selected previously is selected as a default value. Why this is happening? Is there anything to be set to remove the caching?
    Thanks in advance
    Uday

    I have an application which uses JSP - only welcome page, ADF Faces, Spring, Hibernate technologies. The IDE I am using is NetBeans 5.5 bundled with Tomcat & JBoss.
    The welcome page (index.jsp) consists of normal html anchors - hyperlinks (2 Numbers) which each hyperlink would navigate the user to 2 individual jspx pages.
    Uday

  • How can I display XSLT transformer errors on a web page ?

    Hi,
    I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the web page is only a "Could not compile stylesheet" TransformerConfigurationException, while the real cause of the error is displayed only on tomcat logs. This is the code for transformation:
    static public void applyXSLT(Document docXML, InputStream isXSL, PrintWriter pw) throws TransformerException, Exception {
            // instantiate the TransformerFactory.
            TransformerFactory tFactory = TransformerFactory.newInstance();
            // creates an error listener
            XslErrorListener xel = new XslErrorListener();
            // sets the error listener for the factory
            tFactory.setErrorListener(xel);
            // generate the transformer
            Transformer transformer = tFactory.newTransformer(new SAXSource(new InputSource(isXSL)));
            // transforms the XML Source and sends the output to the HTTP response
            transformer.transform(new DOMSource(docXML), new StreamResult(pw));
    }If an exception is thrown during the execution of this code, its error message is displayed on the web page.
    This is the listener class:
    public class XslErrorListener implements ErrorListener {
        public XslErrorListener() {
        public void warning(TransformerException ex) {
            // logs on error log
            System.err.println("\n\nWarning on XEL: " + ex.getMessage());
        public void error(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nError on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
        public void fatalError(TransformerException ex) throws TransformerException {
            // logs on error log
            System.err.println("\n\nFatal Error on XEL: " + ex.getMessage());
            // and throws it
            throw ex;
    }When I have an error in the XSL stylesheet (for examples a missing closing tag), I can find on tomcat logs the real cause of the error:
    [Fatal Error] :59:10: The element type "table" must be terminated by the matching end-tag "</table>".
    Error on XEL: The element type "table" must be terminated by the matching end-tag "</table>".but on my web page is reported just the TransformerConfigurationException message that is:
    "Could not compile stylesheet".
    How can I display the real cause of the error directly on the web page?
    Thanks,
    Andrea

    This code is part of a bigger project that let developers edit XSL stylesheets through a file upload on the system and we can't impose the use of any tool for checking the xsl. So, I need to display the transformer error on the web page.I see. This code is part of an editorial/developmental tool for developers to create and edit XSL stylesheets.
    As part of the editorial process, XSL errors during editing can be considered a normal condition. In other words, it is normal to expect that the developers will generate XSL errors as they are developing stylesheets.
    In this light, handling the XSL transformation errors is a business requirement that you need to handle. Using the Java Exceptions mechanisms, e.g. try / catch are inappropriate to handle business requirements, in my opinion.
    I suggest that you look at how you handle the occurence of XSL errors differently than what you currently have. You need to:
    (1) capture the Transformation exception on the server;
    (2) extract the message from the exception and put it into a message that can be easily understood by the user;
    The current error message that you have going to the web browser is not useful.
    And you should not have the Transformation exception sent to the web browser either.
    What you are attempting to do with the exception is not appropriate.
    Handle the Transformation exception on the Business tier and use it to create a useful message that is then sent to the Presentation tier. In other words, do not send Java exceptions to web browser.
    />

  • 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 can i display page number in this format in xml publisher report (1-1)

    in this format
    1-1
    1-2
    1-3
    2-1
    2-2
    2-3
    can i display page nos in this format in xml publisher please help me on this

    Hi,
    Use the SET COUNTRY..
    SET COUNTRY 'US'.
    write: / sy-datum.
    SET COUNTRY 'IN'.
    write: / sy-datum.
    Thanks,
    Naren

  • Can i display My application iview and transaction iview in single page ?

    Hi,
    I am new in web dynpro and portal. i am doing one approval application through web dynpro. Now i need to attache sap inbox to application. For that some budy suggested me about transaction view. So my questions are as folloes.
    1.> How i attached my application to iview ?
    2.> How i created Transaction  iview ?
    3.> Can i attache my application iview with transaction iview if it is possible then how ?
    4.> Can i display My application iview and transaction iview in single page ?
    Please guide me in this procesure.
    Regards,
    Gurprit Bhatia

    Hi Gurprit,
    1.> How i attached my application to iview ?
           You can attach your application to web Dynpro IView, for this login into portal, in the Content Management tab right click on a folder, then New --> IView. Select WD java Application. Select your application and create an Iview.
    2.> How i created Transaction iview ?
           Similarly, instead of selecting WD java Application, select iView template, you will get a list of available templates, and in this you will find template for Transaction Iview, in this template define the Tx for which you want to create the template.
    3.> Can i attache my application iview with transaction iview if it is possible then how ?
          No, I dont think you can attach your application to transaction Iview. but, you can attach both IViews on single page.
    4.> Can i display My application iview and transaction iview in single page ?
          Yes, you can attach  both IViews on single page. Again in Content Management tab, crate a PAGE; Then right click on created IViews and select  add IView to Page ßß: Delta Link.
    Hope this helps.
    Regards,
    Amit

  • How can I display the HTML page from servlet which is called by an applet

    How can I display the HTML page from servlet which is called by an
    applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
    I am calling my struts action class from the applet. I want to show the response in the same browser.
    Code samples will be appreciated.

    hi
    I got one way for this .
    call a javascript in showDocument() to submit the form

  • How can i display my iviews in anonymous page

    hi experts,
    I have created some iviews and  I have created a role for all these i views and assigned this role to anonymous user group.
    when i access the anonymous page,i get the info"contents not exsits or not enabled",well how can i display my iviews in anonymous page
    best regards,
    zlf

    This page may help
    http://help.sap.com/saphelp_nw04s/helpdata/en/1e/e19f58136e654d9709befa464314f2/content.htm

  • How can I display de last items of a region from other page in Portal?

    I want to display de last five items (f.e.) included in a region (with attributes created) from other page. I've tried using custom search, but it also shows the attribute names, and I want show the attribute values (I don´t know how can I format these attributes).
    Thanks a lot.

    How can I display the last items of a region from other Oracle Portal page?

Maybe you are looking for

  • 10.7.4 AFP bound to 10.6.8 OD for Network home?

    I'm running a mostly 10.6.8 server environment and recently tried to bring a 10.7.4 server into the setup. Open Directory is on 10.6.8 server as is the replica. 10.7.4 server binds to OD master just fine. When I try to set the "Make available for hom

  • How to check if a Site Column is being used before deleting

    Hi All, Before deleting a SharePoint Online site column I would like to check to see if it is being used by any list or library. I know how to do this when the site is on premise using a PowerShell script. $web = Get-SPWeb http://"sitecollectionurl"

  • Local copy of file during Display

    Hi, I have mainitained C:\temp\ as the path for the frontend in DC20. Whenever the file is displayed in CV03N I have noticed that the file does get copied to this location but there is one more copy of the file created in local temp directory (C:\DOC

  • How do I import my Final Cut Pro 10 (FCPX) XML files into Logic 9?

    I am using 10.0.5. Which is the latest version Of Final Cut Pro X. I export my project out as a XML in FCPX. Then went into Logic 9 clicked on import then selected XML how ever the XML file was grey and Logic wouldn't  come up as a valid XML to impor

  • How do i get the visualizer to work on apple tv

    I cant seem to get the itunes visualizer to work with my apple tv? Does anyone know how to do this? thanks