How to allow server behaviours in .html files?

Hi all,
I'm trying to get DW9 to allow server behaviours in files
with .htm and .html extensions.
I've edited 'MMDocumentTypes.xml' accordingly but this
results in a C++ application error so I'm guessing it's not the
right way. I'm pretty sure it worked in DW8 but I guess I was just
lucky there.
What's the correct way to do this?

Hi Priya,
Try the following and see if it meets your requirement
1) Go to root/documents. Go to folder->details-> Settings->Propereties. Click on the tab 'Access links' and copy the webdav URL.
(This is the URL where u'll be uploading your folder CompanyFolder)
2)Go to your desktop. Right Click on My Network Places.Click on open.
3). Click on add a network place.
4). Click on "Choose another network location"
5). Paste your copied url and click on next.
6). Enter your portal userid and password.
7) It will now open the root/documents folder in a browser window.
8) Copy ur folder 'CompanyFolder' into this window. Now go to portal under root/documents if the folder exists.
Now that ur folder has been uploaded, now we'll look into the links of the files.
Now for the links within ur html file to work, you will have to do is to provide the appropriate path of the connecting files.
You could find the path of the individual files by going into root/documents. Right click on the file name and say 'Copy Shortcut'. This will provide u with the required path of the file.
Regards,
Prathamesh

Similar Messages

  • How do I download and saves html files off my website to store and save using Dreamweaver CS3?

    How do I download and saves html files off my website to store and save using Dreamweaver CS3?
    I need to save all files from web and store onto a drive to reupload to a new domain name.  I use Dreamweaver CS3.

    First define your Local Site folder in Dreamweaver.  DW will use this folder to store your site files.
    Go to Manage Sites > New or Edit site.  See screenshots.
    Servers:  Enter your remote server's log-in details.  When complete, hit TEST to see if the connection is working.  If all is well, hit SAVE.
    From the Files Panel (F8), click on Remote Server to show the files that are currently there.  Click the green Down Arrow to GET files from remote server to your local site folder.
    Nancy O.

  • Pdf sent won't open beyond cover sheet?  how to allow click thru of all files?

    pdf sent won't open beyond cover sheet?  how to allow click thru of all files?

    That's handy, because I can run gmail and Chrome too.
    Ok, I sent myself a PDF attachment. I'm going to go step by step through what happened
    to me, and you can tell me where your experience becomes different.
    1. The email shows a preview of the top part of page 1 for the attachment.
    2. I hover over the preview and I get two icons, "Download" and "Save to drive".
    3. I click Download.
    4. The attachment downloads and I see it in the status bar.
    5. I click on the document in the status bar. It opens to page 1, but I can use the
    scroll bar to read all of the pages.
    6. I hover in the bottom right of the page, until Chrome's PDF toolbar appears.
    7. I click the save icon.
    8. I save the file to my desktop.
    9. I open the file from my desktop. It also has all pages.

  • How to set default value for html:file in struts

    hi
                   i am working on an application using struts situation is i am using the
    <html:file property="" /> to allow the user to upload file. but i need that a default file should be set so that even if the user donot click browse ie                the user wish to upload that default file the default file get uploaded on page submition.     Is it possible to set any default value for html:file ...if yes plz provide any suggestion or links how to achieve this.     thanks in advance

    www.google.com?q=STRUTS+DOCUMENTATION

  • Dumb PHP ? How do I use PHP in .html files.[solved]

    I've googled but I just seem to be missing it.
    Could someone please point me to documentation or tell me what/how do I enable the Apache server to process inline php in .html files?
    Last edited by FeatherMonkey (2008-03-25 16:51:21)

    http://www.desilva.biz/php/phpinhtml.html
    Instead of using htaccess, you can just change httpd.conf.
    Last edited by lucke (2008-03-25 16:02:56)

  • How to show applets in a html file ?

    Hi all
    I have created an applet with jdev ,and I also generated the corresponding html file and a main method. So the java file runs standalone when I click on the run button , but when I copied the class file and the html file in a web server, then there is nothing in the applet region ! Can anyone help me ?
    Here are the code :
    Code of the java file :
    // Copyright (c) 2001
    package pack_applet;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    * Applet
    * <P>
    * @author xxxx
    public class Capplet extends JApplet {
    boolean isStandalone = false;
    String x;
    String y;
    JLabel label = new JLabel();
    * Constructs a new instance.
    * getParameter
    * @param key
    * @param def
    * @return java.lang.String
    public String getParameter(String key, String def) {
    if (isStandalone) {
    return System.getProperty(key, def);
    if (getParameter(key) != null) {
    return getParameter(key);
    return def;
    public Capplet() {
    * Initializes the state of this instance.
    * init
    public void init() {
    x = this.getParameter("x", "0");
    y = this.getParameter("y", "1");
    try {
    jbInit();
    catch (Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    this.setSize(new Dimension(400, 400));
    this.getContentPane().add(label, BorderLayout.CENTER);
    label.setText("x = "+x+" y = "+y);
    * start
    public void start() {
    * stop
    public void stop() {
    * destroy
    public void destroy() {
    * getAppletInfo
    * @return java.lang.String
    public String getAppletInfo() {
    return "Applet Information";
    * getParameterInfo
    * @return java.lang.String[][]
    public String[][] getParameterInfo() {
    String[][] pinfo =
    {"x", "String", ""},
    {"y", "String", ""},
    return pinfo;
    * main
    * @param args
    public static void main(String[] args) {
    Capplet applet = new Capplet();
    applet.isStandalone = true;
    JFrame frame = new JFrame();
    frame.setTitle("Applet Frame");
    frame.getContentPane().add(applet, BorderLayout.CENTER);
    applet.init();
    applet.start();
    frame.setSize(400, 420);
    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
    frame.setLocation((d.width - frame.getSize().width) / 2, (d.height - frame.getSize().height) / 2);
    frame.setVisible(true);
    frame.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { System.exit(0); } });
    static {
    try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    catch(Exception e) {
    e.printStackTrace();
    And code of the html file :
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
    <HTML>
    <TITLE>
    HTML Applet Test Page
    </TITLE>
    </HEAD>
    <BODY>
    <SCRIPT LANGUAGE="JavaScript"><!--
    var info = navigator.userAgent; var ns = false;
    var ie = (info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0
    && _info.indexOf("Windows 3.1") < 0)
    //--></SCRIPT>
    <COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
    var _ns = (navigator.appName.indexOf("Netscape") >=0
    && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0
    && java.lang.System.getProperty("os.version").indexOf("3.5") < 0)
    || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0)));
    //--></SCRIPT></COMMENT>
    pack_applet.Capplet will appear below in a Java enabled browser.<BR>
    <SCRIPT LANGUAGE="JavaScript"><!--
    if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 400 HEIGHT = 400 ALIGN = middle NAME = "TestApplet" codebase="HTTP://java.sun.com/products/plugin/1.2/jinstall-12-win32.cab#Version=1,2,0,0"> <NOEMBED><XMP>');
    else if(_ns == true) document.writeln('<EMBED type="application/x-java-applet;version=1.2" WIDTH = 400 HEIGHT = 400 ALIGN = middle NAME = "TestApplet" java_CODE = "pack_applet.Capplet" java_CODEBASE = "Capplet.class" "x" = "0" "y" = "1" pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html"> <NOEMBED><XMP>');
    //--></SCRIPT>
    <APPLET CODE = "pack_applet.Capplet" CODEBASE = "Capplet.class" WIDTH = 400 HEIGHT = 400 ALIGN = middle NAME = "TestApplet" >
    </XMP>
    <PARAM NAME = CODE VALUE = "pack_applet.Capplet" >
    <PARAM NAME = CODEBASE VALUE = "Capplet.class" >
    <PARAM NAME = NAME VALUE = "TestApplet" >
    <PARAM NAME = "type" VALUE = "application/x-java-applet;version=1.2">
    <PARAM NAME = "x" VALUE = "0">
    <PARAM NAME = "y" VALUE = "1">
    </APPLET>
    </NOEMBED></EMBED></OBJECT>
    </BODY>
    </HTML>
    Thank you very much.

    you can load your pdf into your browser using
    navigateToURL(new URLRequest("yourpdf.pdf"));

  • How to display Image/Logo in Html file generated from Webdynpro App

    Dear All,
      I have developed a webdynpro application and onClick of the Button I am opening  a new browser by generating HTML file.The file is opened successfully.
    My requirement is to display the company logo on that HTML file.  Where to place that image file and how to call that image file in my HTML.
    Regards
    Ponnusamy

    Hi,
    Ex. 1 - If the Index file is in the same directory, called "test"
    tales/numbers.jpg
    Ex. 2 - If the image is in a subdirectory, called "test1" within "test"
    test/test1/numbers.jpg
    img src="test/test1/numbers.jpg"
    Regards
    Ayyapparaj

  • How can i include css in html file when exported

    I want the CSS should be included in the html file when exported, how is that posable?

    Muse follows its own structure and keeps HTML, CSS and JS code in separate files as and when possible. If you want all that code to be merged into the HTML file itself, then there is no option to force Muse to do that. You can however, add your own CSS code into the HTML page by adding the CSS using either the Insert HTML option or using the HTML for <head> option in Page Properties > Metadata.
    Cheers,
    Vikas

  • How to use substring in  ITS(HTML file)

    Hai,
    I am modifying d_searchhelp.html file in agate. I want a use a substring function this file. So I used the below code.
      newclassname=~searchhelpcontrolname;
      oldclassname=newclassname.substring(0,8);
                                                                ^ ^ ^
    This is the error i got when i use this HTML file in searchhelp.
    @ ...\templates\system\dm\msiexplorer\d_searchhelp.html (263,42): error : syntax error   : '('
    @ ...\templates\system\dm\msiexplorer\d_searchhelp.html (263,44): error : syntax error   : ','
    @ ...\templates\system\dm\msiexplorer\d_searchhelp.html (263,46): error : syntax error   : ')'
    Please let me know how to use substring.
    Thanks & Regards,
    H.K.Hayath Basha

    Hello H.K.Hayath Basha,
    please see the HTML Business documentation on <http://help.sap.com/saphelp_nw04/helpdata/en/5f/1fb5174aee11d189740000e8322d00/frameset.htm>:
      string strSub (in string string, in int position, in int length)
    With regards,
      TJ

  • How can i render a dynamic html file in jsp page

    Hi everybody,
    i am trying to render a dynamic html file in jsp page with the result of querying a database.
    The response of the query is a xml document. And i have a stylesheet to transfer it to html.
    How can i render the html in a jsp file?

    I am using below code for HTML files
    private var appFile:String="index.html";
    if (StageWebView.isSupported)
                        currentState = "normal";
                        webView.stage = stage;
                        webView.viewPort = new Rectangle( 10, 130, (stage.stageWidth)-20, 750 );
                        var fPath:String = new File(new File("app:/assets/html/aboutus/"+ appFile).nativePath).url; 
                        webView.loadURL(fPath);
                        addEventListener(ViewNavigatorEvent.REMOVING,onRemove);
                    else {
                        currentState = "unsupported";
                        lblSupport.text = "StageWebView feature not supported";
    above code is working fine for me.

  • How do I update web template HTML files on MAC

    I'm running lightroom 4.3 on a PC. The web template needed a few changes making, mainly the layout and replacing links for images etc., I could not find a way to update via lightroom so I changed the detail.html and grid.html files directly in C:\Program Files\Adobe\Adobe Photoshop Lightroom 4.3\Shared\webengines\default_html.lrwebengine. Now I need to make the same changes in lightroom 4.3 on a MAC, but have no idea how to locate the same files and update?
    Please can someone help me?

    The equivalent location on the Mac is:
    //Applications/Adobe Photoshop Lightroom 4/Contents/PlugIns/Web.lrmodule/Contents/Resources/galleries/default_html.lrwebengine
    To see either of the Contents folders in the above path, you have to Command/Right-click on the previously mentioned file (Adobe Photohsop Lightroom 4 and Web.lrmodule) and choose Show Package Contents.

  • Plsss help me: how to set default values in html:file and html:radio

    Hai,
    To set default value to text box i use the following code. It works well.
    <html:text property="modifyserverdesc" value="<%= serverDesc%>" styleClass="text" size="38"/>But for file i use the code
    <html:file styleClass="file" property="modifyserverimgfile" value="<%= serverImage%>" size="40"/>It doesn't display value. What is problem here?
    how to set default selection in <html:radio>.

    No it won't help.
    You can't set a value into an <input type="file"> control at all. The user has to put values in themselves.
    The reason behind this is security. If the programmer could put any value they liked in there, you could upload any file at all from a users computer without their intervention. eg C:\windows\system32\passwords.txt
    Bottom line: you can't put a default value into the input type="file" control.
    And a good thing too ;-)

  • How to add css styles in html file generated from Report builder?

    Hi,
    I schedule report in web browser,but the generated report html file looks very simple and doesn't correspond with the other html files which have css styles.So I want to add css styles to the generated html file from *.rdf in report builder.That is to say I should integrate css style with myReport.rdf.Can anybody tell me how to do that?
    thanks in advance.
    Regards
    jungle

    hello,
    i am not quite sure, what you want to achieve. did you try the DESFORMAT=HTMLCSS which generates inline-style-information.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                               

  • How to get source of remote html file.

    i want to read the remote html file source
    i don't have any physical / original path of the file
    i have only the url path
    example url : http://mydomain.com/myhomepage.html
    using this url can i get the source of the file myhomepage.html
    thanx
    senthil.

    U can use java.io.*, java.net.* API
    here goes a sample code
    import java.io.*;
    import java.net.*;
    public class URLconnecting{
         public static void main(String[] args)throws Exception{
              URL url = new URL("http://www.yahoo.com");
              URLConnection conn = url.openConnection();
              BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));
              String line;
              while( (line= reader.readLine()) != null) System.out.println(line);
              reader.close();

  • How to give security permission for html file which is accessing a database

    there a applet code which is accessing database and i am placing that code in one folder in any drive and iam placing a
    applet tag in a html file and storing on desktop.
    now if i run that html file i am unable to connect to database and it is not not giving any exception errors.
    what is the security permission we have to provide for that html file.
    i want this solution immediately plz.

    sign your midlet suite and give the permission in the jad / manifest
    http://java.sun.com/j2me/docs/wtk2.2/docs/UserGuide-html/security.html

Maybe you are looking for

  • User file in trash

    I was recently doing some house cleaning and getting rid of user accounts that have spotty activity. In the process I trashed one of my user accounts that had all my photos and lotsa stuff I STILL NEED. The account folders are still in the trash. How

  • Firefox will not start -already running- but not visible in askbar - W-7

    Asin XP, now on windows 7, firefox occasionally would not restart and I had to open task manager to end it. THIS TIME, it does not appear in taskmanager. I uninstalled, restarted the cpu, and installed anew. same issue. Firefox will not run -- get th

  • The download button is missing in iTunes

    I have been trying to re download some iTunes purchases that the kind iTunes support folks restored the ability for me.  However when I launch iTunes on my iPad there is no download button in the lower right to allow me to start the process.  It's th

  • Define Row Size in Table creation

    Hi All, I want to create a table in my database. How to define the rowsize for that table. What are the things to be taken care for creating a new table. Thanks in Advance Cheers, Moorthy.GS

  • What is iOS 7.0.6

    I am on iOS 7.0.4 and it has given me mega problems re sound and sound quality. Will iOS 7.0.6 fix this or what will it do?