Ramdomly attempts to save normal HTML page as template

DW CS4.
If I have a plain HTML file, such as one called index.html for instance, and I make changes and go to Save it, "sometimes" DW saves it just fine. But sometimes it attempts to save it as a template -- and won't let me save it in standard file format.
I have to do Save As to create an alternate file, and do Save As to write that alternate file as the orignal filename (ie: index.html) that I wanted in the first place.
And the behavior is intermittent. Sometimes is keeps doing it, and sometimes it won't do it at all. Even within the same site files.
Any suggestions?
Thanks!

This is what's at the top of the page.
Can you please show me what to delete?
I don't think Dreamweaver will let me edit or delete what's grayed out, but I suppose I could do that in Notepad with no problems, correct?
Thanks!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/WidgetCoTemplate.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Welcome</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="../custom2.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
a:hover {
color: #999;
-->
</style>
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>
<table width="900" height="97" border="0" align="center" cellpadding="0" cellspacing="0">

Similar Messages

  • How to save a html page

    I'd like to know how to open and save a html page from a java code, specifying the url. I need to search a lot of pages and i'd like to do it automatically once i have generated the url.
    Thanks
    David

    Here's the tutorial about networking, it shows you how to read from a URL:
    http://java.sun.com/docs/books/tutorial/networking/index.html
    Here's the tutorial about how to do file I/O, if you didn't already know how:
    http://java.sun.com/docs/books/tutorial/essential/index.html

  • Attempting to link to html page

    I have made an fla for an intro but I want to create a link
    to click on that will take the viewer to the next page of the
    website, which is a regular html page. I have used the help example
    to apply the following actionscript to a button with a named
    instance of "enterBtn".
    // Attach to frame
    enterBtn.onRelease = function () {
    getURL("
    http://www.mywebsite.net/mainframe.html",
    "_blank");
    However, with the above code I get the following syntax
    error;
    **Error** Scene=Scene 4, layer=Glow Behind FrameBTN,
    frame=309:Line 2: Statement must appear within on handler
    enterBtn.onRelease = function () {
    Total ActionScript Errors: 1 Reported Errors: 1
    >>Am I on the right path? Or do I need to use the:
    var listenerObject:Object = new Object();
    listenerObject.onLoadInit = function(target_mc:MovieClip) {
    target_mc.onRelease = function() {
    getURL("
    http://www.mywebsite.net/",
    "_blank");
    Can anyone help me please?
    Thanks!

    Hello.
    The error probably is because you wrote the code on a
    "button" type clip.
    If you selected the enterBtn in stage then typed your actions
    then try to change
    enterBtn.onRelease = function()
    to
    on(Release)

  • Flash not playing on html page after template is altered

    Hi,
    Can anyone help. If i alter anything on a template none of the .swf files on pages based on that template will work when previewed in the browser.
    I am using DW CS3.
    Anyone any ideas

    Good day,
    This issue can be considered as a limitation at some point because Dreamweaver lacked the ability to "auto-update", although it was not really the best practice to include Flash contents in a DW template.
    There is a workaround though. You may need to edit the template (.dwt) itself and work in Code View.
    While in Code View, use the Find and Replace (Edit > Find and Replace) feature so it will be easier for you to find what you are looking for.
    In the Find and Replace window, choose Current Document as value for Find in, and Source Code as Search.
    In the Find input field, type --> 'src' (including the single quotes) and click on Find Next.
    Once you found 'src', pay attention to the text next to it enclosed in single quotes. The value in the single quotes is the path of where the Flash file is saved. try to remove ../ if you happen to see it. (do this if the Flash file is located in the same folder where the HTML page which uses it is saved)
    Using Find and Replace again, this time, try to search for 'movie' (including single quotes). You'll see again the text next to it which is the same value as what you have searched before. Do the same thing, try removing ../. (do this if the Flash file is located in the same folder where the HTML page which uses it is saved)
    Save the DW template file and try to preview the pages again in the browser.
    I hope this helps.
    Regards,
    Christine R.
    Adobe North America Technical Support

  • File-Save window(saving the html page by clicking a button)

    Hi,
    when I click a button, a window should open which is same as the one which appears when we click File-save.
    This should happen to save the data that is displayed on the internetExplorer, when the user clicks the submit button on his page.(ie,Saving  the html page in his desired location).
    Thanks in advance.

    Refer FileDownload and FileUpload tutorial.
    If the idea is just to save the html page, I am not sure if it is possible.
    If the idea is to save the data in the html page then you can save it as xml format or csv format. Refer to the following tutorials:
    a) FileUpload and FileDownload
    b) Web Dynpro Binary cache
    Regards,
    Subramanian V.

  • Downloading HTML page blocked by site

    Hello,
    I am attempting to download the html page at the following url.
    http://www.rcsb.org/pdb/results.do?&startAt=30&endAt=39&inputQuickSearch=protein%20kinase
    However, when I do so with my java code.
    URLConnection urlConn = theURL.openConnection(); //get the connection
    BufferedReader myStream = new BufferedReader(new InputStreamReader(urlConn.getInputStream())); //get the stream connection
    String oneLine = "";
    try{ while ( (oneLine = myStream.readLine()) != null) { theHTML.append(oneLine + "\n"); } }
    catch(IOException e) { throw e; }  //throw the exception to the invocation
    myStream.close();I actually get a response with a page saying my "browser" isn't compatable.
    Is there any way around this? Is there anyway I can download the information from the page like I would in a browser?
    Cheers,
    Chris

    Any idea of the value I would set it to?No, but if you go here http://www.google.com/search?hl=en&lr=&q=http+header&btnG=Search you'll see some websites that will show you what your browser is sending. You should be good if you mimic the relevant headers from a browser that works.
    This would be done in a fashion similar to the
    example at
    http://javaalmanac.com/egs/java.net/Post.html right?
    I didn't see them setting any request headers there.

  • Question on saving html page into excel

    hi all,
    i have one problem. Is there any ways that i can save a html page into excel??? that is to save the data displayed on the html page into excel spreadsheet.
    thanks for your advice.

    Even if you need to click a button to parse the page to a parser, you still need to transmit the page back to the server to process, unless you want the client to do it, in which case he/she will have to need a program.
    Given by the views floating around in this forum, the idea is that doing a re-query is as costly if not less costly than re-submitting the html page. By relegating to the back-end processing of data using the database, you can ensure the data is up-to-date and you can control the programs executing. That is, you are not worried about user submitting garbage html page for you to process.
    If you data size is not large, there is always the session memory to use but it's not really wise as your server's memory is much costlier than network bandwidth. It's the whole server becomes slow versus your DB connection slow.
    If you really need to use the re-submitting of your html page back to the server to process, you can always use hidden form values in html to post your data back. However, I can't remember whether there's a limit to the amount of data you can post. Think it's 1024K or something.

  • Programmatically saving an HTML page

    I have a servlet which forwards parameters to a page, where the processing is done & output displayed in the browser!
    I want to save the output HTML from the servlet itself, without any interaction from the user! How to make this possible?

    I want to save the HTML page on the client side itself! I tried out another way, using the URL class & used its method to save the byte stream as a HTML file. This works alright except that some JavaScript errors are robbing the page of its look & feel! :-(

  • Html page

    Hi everybody.
    I have a question to face.
    I want display a html page, normal HTML page not a APEX generate web page, after I generate it with a pl/sql procedure.
    The proccess, for user will be, they clik on a buttom and I call the procedure, this procedure generate the webpage and show it in another tab window.
    Can somebody focuss me to any example or similar?
    Thanks in advanced and regards everibody.

    As far as I know you can open a new browser window based on an URL. AN URL refers to a location of a HTML file (or php, or whatever). You can generate HTML with a procedure using htp.p calls, but that HTML will only exists on the page where you generated the HTML. You'd still need a method to store your HTML on a place where your (users) browser can resolve it.
    Not sure what kind of pages you try to generate, but perhaps you can use a report engine (eg.Jasperreport engine or configure the APEX listener as print server) to produce a report in HTML output format.
    Regards,
    Vincent Deelen
    http://vincentdeelen.blogspot.com

  • Loading Application into HTML Page

    I'm trying to load an application (JFrame) into a HTML page.
    Is it possible to be done with JSP? ...or servlet?
    Thank you for helping me : )
    Yours Sincerely,
    RainbowEnergies

    Not really a application but you can include an applet at anytime.
    Just do it like you do it with a normal HTML page there is no differents.
    It is also possible to let the applet communicate with one of your servlets via HTTP.
    Alex

  • Safari is unable to save in HTML (source page option) offline webarchives

    Hello!
    Some years ago I made a very difficult and prolonged research: I found over 1500 web pages of medical researches and I stored it on the hard disk, using safari.
    I didn't know that its default format file is .webarchive.
    Now I have these 1500 .webarchive files and I need to use it on other PCs (also Windows and Linux systems), and they take 800 MB on my pendrive! (webarchive are bigger than imageless html files).
    I need to convert them in HTML format.
    Only 3 methods exist in the world:
    1) from terminal: textutil -convert html FILENAME.webarchive. I drag and drop 10 files a time in the webarchive window after the command string, but it converts about 5-6 files on 10: for the other it gives an error. Some files are impossible to convert using this method.
    2) WebArchive folderizer: I could drag and drop all the webarchive files on its small window: it will convert each webarchive file in a folder with the same name of the file. Then I could select all the folders, use FINDER's search function letting it find just HTML files and then move them in a folder and delete all the subfolders.
    But the HTML files extracted do not keep the original filename! This is important for me, because I need that each file must have the name of the medical research. I'll have to find (reading a list made in neooffice) the files and read them: over 1500 files, and it will need lots of time make an internal file text search method each time!
    3) Webarcher: it converts the files in .war format, not html. It is compatible with Windows, but it keeps the images, like a webarchive, and the space requied is high too.
    The method that I could use is this:
    Open the file with Safari in OSX, and re-save it in the "source page" (HTML) format... but.... SURPRISE!!!
    If I open a web-page with Safari, and I choose "save as...", it let me choose the format (html or webarchive).
    If I open a hard disk stored page with Safari, and I choose "save as...", the small menu in which I should choice the format... disappears!!!
    This happened years ago... now the OS X is newer... the Safari is newer... but the problem is the same!
    How could I solve it?
    Is this a bug?
    Thank you!

    Since Safari is able to save as HTML file a page if it is opened online (from web), making "Save as...", and it is unable to make so if the webarchive file is on the hard disk...I tried to upload on a web server some .webarchive files.
    Then I went online in the web page with the list of all the uploaded .webarchive files... (ex.: http://....filename1.webarchive, etc...)...
    My goal was to open ONLINE (not on hard disk) the files and then make "save as...",... but... SURPRISE!!! Safari is UNABLE to open a webarchive file from the web, it asks me where to save the file... it can only save it, it writes that it is an "application"...
    I think this happens because .webarchive is not a real web page but a "package"... but my displeasure is this:
    Once opened an hard disk's webarchive file, its content is loaded in ram and it appears like a normal web page (html + images + etc...)... so, in this moment, Safari should be able to save it "as...." HTML file too.... discarding images and other objects....
    Any advice?
    Thank you!!!

  • How to Save HTML page in Apex application into our local Windows Box

    Hi,
    I am having one HTML page in my Apex Application. I want to download this page into my Local Windows machine. How to do this?
    Thanks
    Yash

    I am having one HTML page in my Apex ApplicationWhat did you mean by this ?
    <li> If you meant an application page, then they are anot stored as html file anywhere as the page that you see is generated at the run time only, however you can can save that run time page , but its of not much use.
    <li> If your intention is to save/backup an apex page, go to the page and export it . This generates a SQL file which you can import into any other apex application and recreate that apex page.
    <li> You can also export the entire application as a single file too.

  • Recently when I attempt to save a Pages document it won't allow me the option.  The SAVE button is not bolded as an option to click on.  Any ideas how to fix this?

    Recently I have not been able to save Pages notes/documents that I have created.  I have never had this problem before.  When I attempt to SAVE, the button isn't bolded so I don't have the option to save.  Any ideas on how to fix it?

    Hi Peter,  I appreciate any ideas you might have.  I tried Apple support and I ended up at some 'unavailable' voicemail!?!!
    I am using Pages '09.
    It's not being auto saved.
    I typically save to both pages and document files but I can't save anything.  When I go to close it and it asks me if I want to save, the save window comes up but the SAVE button isn't bolded as an option.  I have tried Command C but of course it brings me back to the same window.  This only began happening a few days ago. I use Pages a lot.
    Lesley

  • Save SQL select output as html page on another box.

    How can I save a simple sql select output on another server as a html page?

    Hi,
    You can use the Oracle product WebDB (Oracle Portal) to create reports in HTML over the DB (simplest way).
    Instead You can use SQL*Plus on the remote server (where You want to spool), enable the spool to file (using SPOOL) and create the select as
    SELECT 'html tags' &#0124; &#0124; field/s &#0124; &#0124; 'html tags'
    FROM your_table;Using this solution You have to manually "draw" the report.
    Hope this helps.
    Bye Max
    null

  • Dowloading HTML page with picture like the IE save as function

    Hi everyone,
    I would like to download a HTML page entirely ( path, pictures... ) like the IE save as function.
    Is it possible ?
    thanx

    It is.
    However doing so will be a big task. You have to write a htmlparser (I did) which checks all possible options for writing html. I based mine on the w3c standard for html 4.01. Takes a while till you get through everything. Don't ask me for it, I'm in the middle of an update to make it sure it has a bit of a descent structure.
    Then you must know all attributes which can possibly contain a link to an image. Find out if this link is not an url with a protocol. Also find out if the link is not something like a cgi. And so on for more options.
    You can look on the net for some parser but I didn't find one. There is of course Html Tidy but this one reads the htmlcode and makes a valid html document from it which is almost never the same as you wanted it to be. For crappy html code this can result in the removal of a lot of your elements.
    http://www.w3.org/TR/html4/ for the latest version of html
    http://www.w3.org/People/Raggett/tidy/ for html tidy
    http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20020114/ for the latest dom structure
    http://www.w3.org/TR/DOM-Level-2-HTML/ for the html dom
    for the last 2 get the java language binding api.
    http://xml.apache.org to download the apache implementation of the dom (no htmlparser build in), xml, sax, ...

Maybe you are looking for