How do I publish an existing HTML page?

Hello,
This might sound a bit basic...possibly because I am not that smart...
I have an NT file system - with in it there is an HTML page with icons and other html pages that are linked (relative links). There are other .html pages and images needed in this area.
I have set up a community and want to point to the existing HTML page on that file system - so when a client goes to that community, that HTML page opens up automatically in a portlet.
The path if Q:\Public\Health\Mainpage.html
I want mainpage.html to open up with the Health Community is selected.
So I made the community, and community page. The was going to place a publisher portlet on it - but do not want the clients to se e a blank page with a portlet linking to Q:\Public\Health\Mainpage.html, but instead see Mainpage.html.
What is the best way of doing this - set up a web service? If so - which one?
Suggestions for a pre-exisiting website residing on a file system?
Thanks,
V
Computers are like Old Testament gods; lots of rules and no mercy. ~Joseph Campbell
Edited by vivekvp at 05/07/2008 10:19 AM

I would serve up the documents with IIS or Apache and create a standard web service remote portlet to the document.
Another option is to copy and paste the contents of the document into a content item with a long text property. Then use a presentation template which just emits the html from the content item.
Create a published content portlet for that content item. The good part is that you can edit the document in the portal. The downside is that if someone edits the mainpage.html on the q drive, you will have to copy their changes back into the content item.

Similar Messages

  • How can I add an existing cfm page to a project?

    CFB3 Question: How can I add an existing cfm page to a project? I created a project and copied a file into the project folder but I can't seem to find a way to add the cfm file into the project.

    @Carl - Well heck, yes I did... But after reading your response I went back and tried right-clicking on and refreshing different things and what worked was right-clicking on the project name in the Navigator window and then clicking on refresh in that context menu.
    Thank you Carl!

  • How to read the code of html page

    Hi,
    I want to know how to read the code of html page through Java? And if anyone know the link of full implementation of Page Rank Algorithm in Java.
    Please let me know. I have to do the project on that topic.
    Regard
    Vivek

    Vivek_NITT wrote:
    I want to know how to read the code of html page through Java? Get the input stream from an HttpUrlConnection. Read from it like from any other stream.
    And if anyone know the link of full implementation of Page Rank Algorithm in Java.Which one?

  • How to call java program by HTML page

    Hi guys,
    I'm new java programer and want to build an HTML page to access to ORACLE database on NT server by JDBC, Can anyone give me a sample?
    I already know how to access database by JDBC, but I don't know how to call java program by HTML page.
    If you have small sample,pls send to me. [email protected], thanks in advance
    Jian

    This code goes with the tutorial from this web page
    http://java.sun.com/docs/books/tutorial/jdbc/basics/applet.html
    good luck.
    * This is a demonstration JDBC applet.
    * It displays some simple standard output from the Coffee database.
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.util.Vector;
    import java.sql.*;
    public class OutputApplet extends Applet implements Runnable {
    private Thread worker;
    private Vector queryResults;
    private String message = "Initializing";
    public synchronized void start() {
         // Every time "start" is called we create a worker thread to
         // re-evaluate the database query.
         if (worker == null) {     
         message = "Connecting to database";
    worker = new Thread(this);
         worker.start();
    * The "run" method is called from the worker thread. Notice that
    * because this method is doing potentially slow databases accesses
    * we avoid making it a synchronized method.
    public void run() {
         String url = "jdbc:mySubprotocol:myDataSource";
         String query = "select COF_NAME, PRICE from COFFEES";
         try {
         Class.forName("myDriver.ClassName");
         } catch(Exception ex) {
         setError("Can't find Database driver class: " + ex);
         return;
         try {
         Vector results = new Vector();
         Connection con = DriverManager.getConnection(url,
                                  "myLogin", "myPassword");
         Statement stmt = con.createStatement();
         ResultSet rs = stmt.executeQuery(query);
         while (rs.next()) {
              String s = rs.getString("COF_NAME");
              float f = rs.getFloat("PRICE");
              String text = s + " " + f;
              results.addElement(text);
         stmt.close();
         con.close();
         setResults(results);
         } catch(SQLException ex) {
         setError("SQLException: " + ex);
    * The "paint" method is called by AWT when it wants us to
    * display our current state on the screen.
    public synchronized void paint(Graphics g) {
         // If there are no results available, display the current message.
         if (queryResults == null) {
         g.drawString(message, 5, 50);
         return;
         // Display the results.
         g.drawString("Prices of coffee per pound: ", 5, 10);
         int y = 30;
         java.util.Enumeration enum = queryResults.elements();
         while (enum.hasMoreElements()) {
         String text = (String)enum.nextElement();
         g.drawString(text, 5, y);
         y = y + 15;
    * This private method is used to record an error message for
    * later display.
    private synchronized void setError(String mess) {
         queryResults = null;     
         message = mess;     
         worker = null;
         // And ask AWT to repaint this applet.
         repaint();
    * This private method is used to record the results of a query, for
    * later display.
    private synchronized void setResults(Vector results) {
         queryResults = results;
         worker = null;
         // And ask AWT to repaint this applet.
         repaint();

  • Publish no static html page with Web services

    Hello All,
    I would like to publish no static html page using Web services. I can't attach this html page as static because I need to change it dynamically from another vi. So, client can read this page by browser with refresh 2 sec.
    Thanks,
    Yustas

    Hi,
    I think It is not possible to create a dynamic HTML page, at  the most you could edit your page HTML and publish it again with the same URL
    I hope to be helpful.
    Sabrina

  • How can imp an existing html page for developing j2ee application?

    I have a page in html souce code, that is save from an existing portal page, I need rewrite it as jsp, j2ee. in jdeveloper 10.1.3, how can I import that html souce then I edit on this.
    thanks

    how can I map the input to the java file? by name or by property?
    thanks

  • What's going on in existing html page when I add animations?!!

    I am working in Dreamweaver CC on a windows 7 pc, also working in Edge Animate.
    I am in an existing site, and I followed the tutorials for opening an existing html file (page) and animating two elements on the page.  I did not create a separate file to save to or to publish to, since nothing in the tutorials (either lynda.com or adobe tv) said anything about creating separate folders either in the site or out of the site.  The tutorials just say "save and publish." 
    This works GREAT!!  BUT, but, but...nope, not so great.  It creates a "publish/web" folder inside my site root folder that has duplicates of every page on my site!  AND, while the animations work GREAT on the index page, I lose my nav bar functionality--no links, no rollover states, nada.
    If I go into the html file in Dreamweaver and make changes to the page, then the animation also stops working.
    Are all the pages duplicated because all of my html pages are based on a single template?  And by trying to animate the header on the index page, it duplicates all of the pages?
    Why does it eliminate the nav bar functionality?  Is this again because the page is based on a template?
    And finally, why do I lose the animation when I edit the page (ANYTHING on the page) in Dreamweaver???
    I don't know if I am missing something?  The help will be greatly appreciated! 
    The site can be found here.  It is 8:00 pm pacific mountain time, and I am shutting off the computer until tomorrow about 11 am.  If you get a chance to look at the page before 11 am on November 17, maybe you can spot the problem for me?  I will start revising it again after 11 am pacific time on Sunday November 17.

    Welcome to the Support Communities. If you're sure that the problem isn't in your browser, you can send feedback to Apple here:
    http://www.apple.com/es/contact/feedback.html
    http://www.apple.com/contact/feedback.html
    There's also this:
    http://www.downforeveryoneorjustme.com

  • Why can I not convert items in an existing HTML page to a symbol?

    I have imported a basic HTML page into Edge and want to convert the basic elements into symbols.
    When I try to do this the options in the menu are greyed out.
    Is this not possible or is there a workaround?
    It seems crazy if you can't do this, as a front-end dev I would prefer working with existing pages rather than creating content to add to pages.
    Please advise.

    Hi EdAAK,
    I've checked your account, and see no issues with your subscription. So, if you're using a web browser, please log out, clear the browser cache, and then log back in to https://cloud.acrobat.com. And, if you're using Reader, make sure that you're logged in—you should see your name listed in the upper-right corner. If not, click the Sign In link and then sign in with your user name and password.
    Please let us know how it goes.
    Best,
    Sara

  • How do i publish to the web page?

    i put lion server on my MB Pro.  It's up.  When I http to the IP address, I get the default web page. my question is how do I publish to this web site?  I've tried FTP access and it doesn't look like that's supported.  I tried opening the site with dreamweaver and no joy.
    I'd like to just create a web page and publish it to the mac server but i don't know how.
    i guess I could create a web page in iweb and publish it to the sites\default but I was wanting to do it from a remote location.  is that doable?
    thanks
    cliff

    I suggest you upgrade to the latest iWeb version while copies are still availalbe: iLife '11 - Apple Store (U.S.).  That's because it's now confirmed that iWeb and iDVD have been discontinued by Apple. This is evidenced by the fact that new Macs are shipping with iLife 11 installed but without iWeb and iDVD.
    On June 30, 2012 MobileMe will be shutdown. HOWEVER, iWeb will still continue to work but without the following:
    Features No Longer Available Once MobileMe is Discontinued:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    ◼ MobileMe Gallery
    All of these features can be replaced with 3rd party options.
    I found that if I published my site to a folder on my hard drive and then uploaded with a 3rd party FTP client subscriptions to slideshows and the RSS feed were broken.  If I published directly from iWeb to the FPT server those two features continued to work correctly.
    There's another problem and that's with iWeb's popup slideshows.  Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
    Click to view full size
    However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone.  How to is described in this tutorial: #26 - How to Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued.
    In addition the iLife suite of applications offered on disc is now a discontinued product and the remaining supported iApps will only be available thru the App Store from now on.
    HOWEVER, the iLife 11 boxed version that is still currently available at the online Apple Store (Store button at the top of the page) and those copies still on the shelves of retailers will include iWeb and iDVD.
    This also may be of some interest to you: Life After MobileMe.
    OT

  • How do i publish VI as HTML

    I have created an VI, and i want to publish it as html.  I know how to do this, the problem i am having is how do i change the URL.  Because it will not let me change the URL, i want to post it on website so everyone can access it.
    raj

    Raj,
    Have a look at the following forum topic:
    LabView web servers via the reverse proxy does not work
    Is that similar to what you wish to accomplish?  As far as I know, the only way you are going to be able to do this is to create a page on your main web server that redirects to the LabVIEW Web Server address.  The remote front panels need to be hosted on the LabVIEW Web Server, and will not work if remote proxies are used.
    If you just wanted to make your web page accessible over the internet, you could accomplish this.  You would need to know your external IP address, and have your router set to forward all traffic on that port to your server machine.  This is not something I have personally attempted before, but hopefully there are some users that might be able to help you with this.  You are going to need to work with your network administrator or be familiar with configuring your router to accomplish this.
    Devin K
    Systems Engineering - RTT & HIL

  • Porting existing HTML Pages to Portal

    WE have an existing site which has static HTML pages with images etc.
    Would like to port it to 9ias Portal.
    Can someone tell me a simple way to do it.
    Specifically how do we take care of paths of images in the html pages.
    Quick answer would be appreciated.

    Dhiren,
    Have you looked at the Zip item type?
    You should be able to zip up your existing directory and then load the zip file into Oracle9iAS Portal. You will then have the ability to extract the zip which will add all the files in the zip as items.

  • How can I replace an existing html website with a new one I just created on iWeb?

    I just created a new website on iWeb. It as to be published as a html site. Someone else already created a previous site, and used the name of my company. We hired him to do it, but he didn't do that great of a job, so now I need to know how to replace it. Thank you for your help!

    Make sure the site folder created by iWeb is named exactly the same as the site folder currently on the server.
    OT

  • How to extract elements from an HTML page?

    Hi:
    If we have the following returned page which is the web query result from a library: http://library.fsi.uiuc.edu/dbtw-wpd/exec/dbtwpub.dll?XC=%2Fdbtw-wpd%2Fexec%2Fdbtwpub.dll&BU=http%3A%2F%2Flibrary.fsi.uiuc.edu%2Fdbtw-wpd%2FnewWeb%2Fauthor.asp&submit=Submit+Query&QB0=AND&QF0=Author&QI0=william&QB1=AND&QF1=Corporate+Author&QI1=&MR=20&TN=Catalog&DF=Display-Web&RF=Brief+Title+-+Web&DL=1&RL=1&NP=1&AC=QBE_QUERY
    If we want to store all the returned information in the local memory,
    how can Java be used to extract the records out of the html page?
    What kind of classes should be used?
    For example, should I just use regular expression to do this (java.util.regex class),
    build-in html parser (javax.swing.text.html.parser.Parser, or even javax.swing.text.html.HTMLEditorKit.Parser), or any other classes? Thanks.

    I been working on a simular project but i might not be using a method that you would want.
    I am reading the webpage code and then getting the data by looking for certain words. The problem with this is that it is reading the page "blindly" so it could read the wrong data or screw up on an error on the page. but here is a bit of code i am using. I am using ti to get data that appears in " " (quotes) so i can get urls, images, etc
    This code isnt totaly mine, i amended it from some one and dont know the original owner :(
    try {
            is =                    new BufferedInputStream(new URL(jTextField1.getText()).openStream());
          while ((record = is.read()) != -1) {
            buffer.append((char) record);
            length++;
            System.out.print((char)record);
          }     is.close();
    } catch // error management herei am using a seperate thread running at same time to enter data
    do {
            while (lengthposition != length) {
              //System.out.print(buffer.charAt(lengthposition));
              temp[0] = "" + buffer.charAt(lengthposition);
              if (buffer.charAt(lengthposition) != /*34*/64 && tolist == true)
                temp[1] += ""+ buffer.charAt(lengthposition);
              else if (buffer.charAt(lengthposition) == /*34*/64 && tolist == false)
                tolist = true;
              else if (buffer.charAt(lengthposition) == /*34*/64 && tolist == true) {
                tolist = false;
                list1.addItem(temp[1]);
                temp[1] = "";
              lengthposition++;
          } while (buffer.charAt(lengthposition) != 32);I hope you find out a solution to your problem :)

  • How do I add to the HTML page containing an fla?

    Hi,
    My site has Flash Video that plays back in a Flash movie
    file.
    I want to put html text on the html page containing the Flash
    movie so that if a viewer doesn't have Flash, they can see a plain
    text link that sends them to a page with a Windows Media Player.
    When I attempt to add text to the html page containing the
    Flash movie, the text doesn't appear and my page changes background
    color.
    Where in the source code should I be adding my html text?
    Please indicate the insertion point below.
    Source code below or visit
    http://www.ocatillopictures.com/OcatilloFrames/Animation.html
    Thanks
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Janos-FlashPlayer</title>
    <script language="javascript">AC_FL_RunContent =
    0;</script>
    <script src="AC_RunActiveContent.js"
    language="javascript"></script>
    </head>
    <body bgcolor="#100068">
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!--
    <p align="center"><font face="Wingdings 3" size="16"
    color="#80dbf9" letterSpacing="0.000000" kerning="1"><a
    href="
    http://www.ocatillopictures.com/FinalPages/Animation.html#Janos
    Video Anchor" target =
    "_self"><b>t</b></a><font
    face="Arial"><a href="
    http://www.ocatillopictures.com/FinalPages/Animation.html#Janos
    Video Anchor" target = "_self"><b>Return to
    Menu</b></a></font></font></p>
    <p align="center"><font face="Arial" size="16"
    color="#80dbf9" letterSpacing="0.000000" kerning="1"><a
    href="
    http://www.ocatillopictures.com/movie-pg/Janos-movie.html"
    target = "_self"><b>View Windows
    Media</b></a><font face="Wingdings 3"><a
    href="
    http://www.ocatillopictures.com/movie-pg/Janos-movie.html"
    target = "_self"><b>u</b></a><font
    face="Arial"><b>
    </b></font></font></font></p>
    -->
    <!-- saved from url=(0013)about:internet -->
    <script language="javascript">
    if (AC_FL_RunContent == 0) {
    alert("This page requires AC_RunActiveContent.js.");
    } else {
    AC_FL_RunContent(
    'codebase', '
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
    'width', '700',
    'height', '500',
    'src', 'Janos-FlashPlayer',
    'quality', 'high',
    'pluginspage', '
    http://www.macromedia.com/go/getflashplayer',
    'align', 'middle',
    'play', 'true',
    'loop', 'true',
    'scale', 'showall',
    'wmode', 'window',
    'devicefont', 'false',
    'id', 'Janos-FlashPlayer',
    'bgcolor', '#100068',
    'name', 'Janos-FlashPlayer',
    'menu', 'true',
    'allowFullScreen', 'false',
    'allowScriptAccess','sameDomain',
    'movie', 'Janos-FlashPlayer',
    'salign', ''
    ); //end AC code
    </script>
    <noscript>
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
    width="700" height="500" id="Janos-FlashPlayer" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="Janos-FlashPlayer.swf"
    /><param name="quality" value="high" /><param
    name="bgcolor" value="#100068" /> <embed
    src="Janos-FlashPlayer.swf" quality="high" bgcolor="#100068"
    width="700" height="500" name="Janos-FlashPlayer" align="middle"
    allowScriptAccess="sameDomain" allowFullScreen="false"
    type="application/x-shockwave-flash" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>
    </noscript>
    </body>
    </html>

    You have the text commented out. Remove the "<!--" before
    your text and the "-->" after the text and it will show.

  • How to embed Flash Player into HTML page

    Hello,
    I have a question for some gurus who know very well the
    Javascript.
    Namelly what i want is to add <object> tag to the
    current html page programatically with using JAVA SCRIPT.
    As IE is more forgiving it displays the object properly but,
    in Firefox it behaves a bit different. Actually it doesn't appear
    at all in Mozilla browser. Any good sample would be great help.
    I was wondering what i am doing wrong?
    Thanks :)

    thanks.
    i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
    <PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
         <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
         <PARAM NAME="NAME" VALUE="grid" >
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME= "cache_option" VALUE ="no">
    </OBJECT>
    now what i need to do is
    i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
    for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
    Webstart always open a new application windows.
    I need to run an Applet embedded within a web page within a browser.
    Is there a way to still use Webstart?

Maybe you are looking for

  • Steps to do the R12 on 11.2.0.2 RAC to Non-Rac cloning on Win2008 64bit

    Please brief the steps to do the R12 on 11.2.0.2 RAC to Non-Rac cloning on Windows 2008 64-bit. There is a metalink document but that says it for linux environment but not windows. Please brief the steps if someone has done it on windows.

  • Smartwatch 2 problem with button

    I have for a few weeks the SW 2. It works good but.. I have to press so hard on the (only) button for starting the 'android-like" interface. Sometimes I have to press 5 times for 1 succesfull  hit. You have to press 2 times to reach the menu... It go

  • H.264 problems...

    When I click file - share - select quicktime icon - select expert settings - followed by now saving where ever and making the "export" as "movie to quicktime movie" and "use" as "broadband - high" These settings make a not to compressed H.264 movie.

  • REF Cursor Rowcount

    I need to get the rowcount for the refcursor before fetching the data itself. Please let me know how to get the same. Example: Open X FOR Query var:= x%rowcount Once this executed i am getting the value var is 0 but it's retriving some rows to java e

  • My MacBook Pro Immediately Shuts Down When I Unplug It.

    Whenever I unplug my MacBook Pro from its power source, it shuts down. No warning or anything. It just shuts down. Is this something that requires a big fix-it type of thing?