Newsletter displays as source code when I send it

I've read articles that said to send an HTML newsletter you
make a webpage and copy it into the body of an email. I created an
HTML page, copied the source code and pasted it into the body of an
email and sent it to myself but when I received it it still just
looked like source code. I have my email program (Entourage)
formatted to HTML (both sending and receving). I have all images
hard coded to a server online and all css in the body. How do I get
it to display as a web page and not source code? Also tried this
with Mac mail with the same result. What am I doing wrong?
Liz

Try these, too -
http://www.anandgraves.com/html-email-guide#unnecessary_htmltags
http://www.reachcustomersonline.com/content/2004/11/11/09.27.00/
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Tarvardian" <[email protected]> wrote in
message
news:[email protected]...
> Thanks for catching that, Murray.
>
>
http://www.slipstick.com/mail1/html.htm
>
>
> "Murray *ACE*" <[email protected]>
wrote in message
> news:[email protected]...
>> Article? 8)
>>
>> --
>> Murray --- ICQ 71997575
>> Adobe Community Expert
>> (If you *MUST* email me, don't LAUGH when you do
so!)
>> ==================
>>
http://www.dreamweavermx-templates.com
- Template Triage!
>>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
>> ==================
>>
>>
>> "Tarvardian" <[email protected]>
wrote in message
>> news:[email protected]...
>>> Hi Liz --
>>>
>>> I'm not familiar with Entourage, but maybe this
tutorial on how to send
>>> an HTML email with Outlook will give you some
ideas. I've had good luck
>>> with Method 1.
>>>
>>> Sorry I couldn't have been more help.
>>> John
>>>
>>> "elhz" <[email protected]>
wrote in message
>>> news:[email protected]...
>>>> I've read articles that said to send an HTML
newsletter you make a
>>>> webpage and
>>>> copy it into the body of an email. I created
an HTML page, copied the
>>>> source
>>>> code and pasted it into the body of an email
and sent it to myself but
>>>> when I
>>>> received it it still just looked like source
code. I have my email
>>>> program
>>>> (Entourage) formatted to HTML (both sending
and receving). I have all
>>>> images
>>>> hard coded to a server online and all css in
the body. How do I get it
>>>> to
>>>> display as a web page and not source code?
Also tried this with Mac
>>>> mail with
>>>> the same result. What am I doing wrong?
>>>>
>>>> Liz
>>>>
>>>
>>>
>>
>>
>
>

Similar Messages

  • How to display the source code for this friggin' file.

    Below is a rather lengthy bit of code that provides the behavior and attributes of a web server for OpenCyc. I need to know if I can enter some java to have the HTML source code displayed in a separate text file whenever this class returns some resulting webpage. If you have any ideas it will be greatly appreciated.
    -"Will code for foo."
    package org.opencyc.webserver;
    * Class WebServer is simple multithreaded HTTP server
    * with CGI limited to a Cyc connection on default port 3600.
    * <p>
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import java.util.jar.*;
    import java.text.*;
    import org.opencyc.util.*;
    public class WebServer extends Thread {
         * Singleton WebServer instance.
        public static WebServer current;
         * Default HTTP port.
        protected static int DEFAULT_PORT = 80;
         * Default Cyc base port.
        protected static int DEFAULT_CYC_PORT = 3600;
         * Default directory to serve files from on non-Windows OS.
        protected static String DEFAULT_DIR = "/";
         * Default directory to serve files from on Windows.
        //protected static String DEFAULT_WIN_DIR = "C:\\";
        protected static String DEFAULT_WIN_DIR = "k:\\opencyc\\run\\httpd\\htdocs";
         * File cache capacity.
        protected static final int CACHE_CAPACITY = 100;
         * File cache to improve file serving performance.
        protected static Hashtable fileCache = new Hashtable(CACHE_CAPACITY);
         * Number of files served from this web server.
        protected static long nbrFilesServed = 0;
         * Number of files served from this web server that were found in the cache.
        protected static long nbrCacheHits = 0;
         * Server socket for accepting connections.
        protected ServerSocket server;
         * Directories to serve files from.
        protected ArrayList dirs;
         * Map from String (jar root) to JarFile[] (jar class path).
        protected HashMap map;
         * Webserver HTTP port.
        protected int port;
         * Cyc HTML host.
        protected String cycHost = "localhost";
         * Cyc HTML port.
        protected int cycPort;
         * Expand jar tress.
        protected boolean trees;
         * Requests flag.
        protected boolean traceRequests;
         * Constructs a WebServer object.
         * @param port the port to use
         * @param directories the directory to serve files from
         * @param trees true if files within jar files should be served up
         * @param traceRequests true if client's request text should be logged.
         * @exception IOException if the listening socket cannot be opened, or problem opening jar files.
        public WebServer() throws IOException {
            getProperties();
            server = new ServerSocket(port);
            processDirectories();
         * Class Task processes a single HTTP request.
        protected class Task extends Thread {
             * Socket for the incoming request.
            protected Socket sock;
             * Client socket to the Cyc KB HTML server.
            protected Socket cycHtmlSocket;
             * Output tcp stream.
            protected DataOutputStream out;
             * Contains the file request path for a not-found error message.
            protected String notFoundPath;
             * Contains the first line of a request message.
            protected String methodLine;
             * Contains the body of a POST method.
            protected String bodyLine;
             * Constructs a Task object.
             * @param sock the socket assigned for this request.
            public Task(Socket sock) {
                this.sock = sock;
             * Processes the HTTP request.
            public void run() {
                if (traceRequests)
                    Log.current.println("connection accepted from " + sock.getInetAddress());
                notFoundPath = "";
                try {
                    out = new DataOutputStream(sock.getOutputStream());
                    try {
                        getBytes();
                    catch (Exception e) {
                        Log.current.println("file not found: " + notFoundPath);
                        try {
                            out.writeBytes("HTTP/1.1 404 Not Found\r\n");
                            out.writeBytes("Server: Cyc WebServer\r\n");
                            out.writeBytes("Connection: close\r\n");
                            out.writeBytes("Content-Type: text/html\r\n\r\n");
                            out.writeBytes("<HTML><HEAD>\n");
                            out.writeBytes("<TITLE>404 Not Found</TITLE>\n");
                            out.writeBytes("</HEAD><BODY>\n");
                            out.writeBytes("<H1>404 - Not Found</H1>\n");
                            out.writeBytes("</BODY></HTML>");
                            out.flush();
                        catch (SocketException se) {
                catch (Exception e) {
                    Log.current.printStackTrace(e);
                finally {
                    try {
                        sock.close();
                    catch (IOException e) {
             * Reads the HTTP request and obtains the response.
             * @exception IOException when HTTP request has an invalid format.
            private void getBytes() throws IOException {
                // Below logic is complex because web browsers do not close the
                // socket after sending the request, so must parse message to find
                // the end.
                BufferedReader in = new BufferedReader(new InputStreamReader(sock.getInputStream()));
                ArrayList inBytes = new ArrayList(200);
                int ch = 0;
                boolean postMethod;
                methodLine = in.readLine();
                //if (traceRequests)
                //    Log.current.println("methodLine=" + methodLine);
                bodyLine = "";
                if (methodLine.startsWith("POST /"))
                    postMethod = true;
                else
                    postMethod = false;
                //if (traceRequests)
                //    Log.current.println("postMethod=" + postMethod);
                int ch1 = -1;
                int ch2 = -1;
                int ch3 = -1;
                int ch4 = -1;
                // Read the HTTP request headers.
                while (true) {
                    ch = in.read();
                    inBytes.add(new Integer(ch));
                    ch1 = ch2;
                    ch2 = ch3;
                    ch3 = ch4;
                    ch4 = ch;
                    if (ch1 == '\r' && ch2 == '\n' && ch3 == '\r' && ch4 == '\n')
                        break;
                    if ((! postMethod) &&
                        (! in.ready()) &&
                        ch1 == -1 &&
                        ch2 == -1 &&
                        ch3 == '\r' &&
                        ch4 == '\n') {
                        inBytes.add(new Integer('\r'));
                        inBytes.add(new Integer('\n'));
                        break;
                byte[] byteArray = new byte[inBytes.size()];
                for (int i = 0; i < inBytes.size(); i++) {
                    Integer ich = (Integer) inBytes.get(i);
                    byteArray[i] = ich.byteValue();
                String headers = new String(byteArray);
                if (postMethod) {
                    String lcHeaders = headers.toLowerCase();
                    int i = lcHeaders.indexOf("content-length: ");
                    String contentLength = lcHeaders.substring(i + 16);
                    int j = contentLength.indexOf("\r\n");
                    contentLength = contentLength.substring(0, j);
                    int bodyLen = (new Integer(contentLength)).intValue();
                    for (int k = 0; k < bodyLen; k++) {
                        bodyLine = bodyLine + (new Character((char) in.read())).toString();
                String line = methodLine + "\r\n" + headers + bodyLine;
                if (traceRequests)
                    Log.current.println(line);
                if (postMethod)
                    processHttpPost();
                else
                    if (line.startsWith("GET /"))
                        processHttpGet(line.substring(4));
                    else {
                        Log.current.println("Invalid request = " + line);
                        throw new IOException();
             * Processes an HTTP GET method.
             * @param httpGetPath the path of the file to get.
             * @exception IOException if the file is not found.
            private void processHttpGet(String httpGetPath) throws IOException {
                int i = httpGetPath.indexOf(' ');
                if (i > 0)
                    httpGetPath = httpGetPath.substring(0, i);
                Log.current.println(methodLine + " from " + sock.getInetAddress().getHostName());
                i = httpGetPath.indexOf("cg?");
                if (i > 0) {
                    cycHtmlRequest(httpGetPath.substring(i + 3));
                    return;
                notFoundPath = httpGetPath;
                i = httpGetPath.indexOf('/');
                if (i < 0 || map == null) {
                    if (map == null || httpGetPath.endsWith(".jar")) {
                        for (int j = 0; j < dirs.size(); j++) {
                            String dir = (String) dirs.get(j);
                            String nativePath = dir + httpGetPath;
                            nativePath = nativePath.replace('/', File.separatorChar);
                            if (fileCache.containsKey(nativePath)) {
                                writeDataBytes((byte[]) fileCache.get(nativePath));
                                Log.current.println("...cached");
                                nbrCacheHits++;
                                nbrFilesServed++;
                                return;
                            try {
                                File f = new File(nativePath);
                                byte[] fileBytes = getBytes(new FileInputStream(f), f.length());
                                writeDataBytes(fileBytes);
                                if (fileCache.size() >= CACHE_CAPACITY)
                                    fileCache.clear();
                                fileCache.put(nativePath, fileBytes);
                                Log.current.println("...from " + nativePath);
                                nbrFilesServed++;
                                return;
                            catch (IOException e) {
                    throw new IOException();
                String jar = httpGetPath.substring(0, i);
                httpGetPath = httpGetPath.substring(i + 1);
                JarFile[] jfs = (JarFile[]) map.get(jar);
                if (jfs == null)
                    throw new IOException();
                for (i = 0; i < jfs.length; i++) {
                    JarEntry je = jfs.getJarEntry(httpGetPath);
    if (je == null)
    continue;
    writeDataBytes(getBytes(jfs[i].getInputStream(je), je.getSize()));
    nbrFilesServed++;
    return;
    throw new IOException();
    * Processes an HTTP POST method.
    * @exception IOException if the file is not found.
    private void processHttpPost() throws IOException {
    Log.current.println("POST " + bodyLine + " from " + sock.getInetAddress().getHostName());
    cycHtmlRequest(bodyLine);
    * Reads the specified number of bytes and always close the stream.
    * @param in the file to be read for subsequent downloading.
    * @param length the number of bytes to read from the file.
    * @return An array of bytes from the file.
    * @exception IOException if an error occurs when processing the file.
    private byte[] getBytes(InputStream in, long length) throws IOException {
    DataInputStream din = new DataInputStream(in);
    byte[] bytes = new byte[ (int) length];
    try {
    din.readFully(bytes);
    finally {
    din.close();
    return bytes;
    * Sends the HTML request to Cyc.
    * @param cycPath the portion of the URL which is given to the Cyc HTML server.
    private void cycHtmlRequest(String cycPath) {
    String request = sock.getInetAddress().getHostName() + "&" + cycPath + "#";
    System.out.println("request=" + request);
    ArrayList bytes = new ArrayList(10000);
    try {
    cycHtmlSocket = new Socket(cycHost, cycPort);
    System.out.println("cycHost=" + cycHost + " cycPort=" + cycPort);
    BufferedReader cycIn = new BufferedReader(new InputStreamReader(cycHtmlSocket.getInputStream()));
    PrintWriter cycOut = new PrintWriter(cycHtmlSocket.getOutputStream(), true);
    cycOut.println(request);
    cycOut.flush();
    int ch = 0;
    while (ch >= 0) {
    ch = cycIn.read();
    bytes.add(new Integer(ch));
    catch (Exception e) {
    Log.current.printStackTrace(e);
    byte[] byteArray = new byte[bytes.size()];
    for (int i = 0; i < bytes.size() - 1; i++) {
    Integer ich = (Integer) bytes.get(i);
    byteArray[i] = ich.byteValue();
    try {
    writeTextBytes(byteArray);
    catch (Exception e) {
    Log.current.println(e.getMessage());
    * Responds to the HTTP client with data content from the requested URL.
    * @param bytes the array of bytes from the URL.
    * @exception IOException if there is an error writing to the HTTP client.
    public void writeDataBytes(byte[] bytes) throws IOException {
    out.writeBytes("HTTP/1.1 200 OK\r\n");
    out.writeBytes("Server: Cyc WebServer\r\n");
    out.writeBytes("Connection: close\r\n");
    out.writeBytes("Content-Length: " + bytes.length + "\r\n");
    String prefix = (new String(bytes)).toLowerCase();
    if (prefix.indexOf("<html>") > -1)
    out.writeBytes("Content-Type: text/html\r\n\r\n");
    else
    out.writeBytes("Content-Type: application/java\r\n\r\n");
    out.write(bytes);
    out.flush();
    * Respond to the HTTP client with text content from the requested URL.
    * @param bytes the array of bytes from the URL.
    * @exception IOException if there is an error writing to the HTTP client.
    public void writeTextBytes(byte[] bytes) throws IOException {
    out.writeBytes("HTTP/1.1 200 OK\r\n");
    out.writeBytes("Server: Cyc WebServer\r\n");
    out.writeBytes("Connection: close\r\n");
    out.writeBytes("Content-Length: " + bytes.length + "\r\n");
    out.writeBytes("Content-Type: text/html\r\n\r\n");
    out.write(bytes);
    out.flush();
    * Gets properties governing the web server's behavior.
    private void getProperties() {
    port = DEFAULT_PORT;
    String portProperty = System.getProperty("org.opencyc.webserver.port", "");
    if (! portProperty.equalsIgnoreCase(""))
    port = (new Integer(portProperty)).intValue();
    Log.current.println("Listening on port " + port);
    cycPort = DEFAULT_CYC_PORT;
    String cycPortProperty = System.getProperty("org.opencyc.webserver.cycPort", "");
    if (! cycPortProperty.equalsIgnoreCase(""))
    cycPort = (new Integer(cycPortProperty)).intValue();
    Log.current.println("Cyc connections directed to port " + cycPort);
    String dirsProperty = System.getProperty("org.opencyc.webserver.dirs", "");
    dirs = new ArrayList(3);
    StringTokenizer st = new StringTokenizer(dirsProperty, ";", false);
    while (st.hasMoreTokens()) {
    String dir = st.nextToken();
    dirs.add(dir);
    trees = false;
    String treesProperty = System.getProperty("org.opencyc.webserver.trees", "");
    if (! treesProperty.equalsIgnoreCase(""))
    trees = true;
    traceRequests = false;
    String traceRequestsProperty = System.getProperty("org.opencyc.webserver.traceRequests", "");
    if (! traceRequestsProperty.equalsIgnoreCase("")) {
    traceRequests = true;
    Log.current.println("tracing requests");
    * Adds transitive Class-Path jars to jfs.
    * @param jar the jar file
    * @param jfs the list of jar files to serve.
    * @param dir the jar file directory.
    * @exception IOException if an I/O error has occurred with the jar file.
    private void addJar(String jar, ArrayList jfs, String dir) throws IOException {
    Log.current.println("Serving jar files from: " + dir + jar);
    JarFile jf = new JarFile(dir + jar);
    jfs.add(jf);
    Manifest man = jf.getManifest();
    if (man == null)
    return;
    Attributes attrs = man.getMainAttributes();
    if (attrs == null)
    return;
    String val = attrs.getValue(Attributes.Name.CLASS_PATH);
    if (val == null)
    return;
    dir = dir + jar.substring(0, jar.lastIndexOf(File.separatorChar) + 1);
    StringTokenizer st = new StringTokenizer(val);
    while (st.hasMoreTokens()) {
    addJar(st.nextToken().replace('/', File.separatorChar), jfs, dir);
    * Administrative accessor method that obtains list of directories from which files are served.
    public ArrayList getDirs() {
    return dirs;
    * Administrative method that updates the list of directories from which files are served.
    public synchronized void setDirs(ArrayList dirs) throws IOException {
    this.dirs = dirs;
    fileCache.clear();
    processDirectories();
    * Administrative accessor method that obtains number of files served.
    * @return The number of files served.
    public long getNbrFilesServed() {
    return nbrFilesServed;
    * Administrative accessor method that obtains number of files served from cache.
    * @return The number of files served from the cache.
    public long getNbrCacheHits() {
    return nbrCacheHits;
    * Administrative method that clears the file cache.
    public synchronized void clearFileCache() {
    Log.current.println("Clearing file cache");
    fileCache.clear();
    nbrFilesServed = 0;
    nbrCacheHits = 0;
    * Processes the directories from which files are served, expanding jar trees if
    * directed.
    * @exception IOException if problem occurs while processing the jar files.
    private void processDirectories() throws IOException {
    if (dirs.size() == 0)
    if (File.separatorChar == '\\')
    dirs.add(DEFAULT_WIN_DIR);
    else
    dirs.add(DEFAULT_DIR);
    Iterator directories = dirs.iterator();
    while (directories.hasNext())
    Log.current.println("Serving from " + directories.next());
    if (trees) {
    map = new HashMap();
    for (int j = 0; j < dirs.size(); j++) {
    String dir = (String) dirs.get(j);
    String[] files = new File(dir).list();
    for (int i = 0; i < files.length; i++) {
    String jar = files[i];
    if (!jar.endsWith(".jar"))
    continue;
    ArrayList jfs = new ArrayList(1);
    addJar(jar, jfs, dir);
    map.put(jar.substring(0, jar.length() - 4), jfs.toArray(new JarFile[jfs.size()]));
    * Provides the command line interface for creating an HTTP server.
    * The properties are:
    * <pre>
    * org.opencyc.webserver.port=<HTTP listening port>
    * </pre>
    * which defaults to 80.
    * <pre>
    * org.opencyc.webserver.cycPort=<Cyc connection port>
    * </pre>
    * which defaults to 3600.
    * <pre>
    * org.opencyc.webserver.dirs=<path>;<path> ... ;<path>
    * </pre>
    * with the argument enclosed in quotes if any path contains an
    * embedded space.
    * The default directory on Windows is C:
    * and the default on other systems is / the default
    * can be overridden with this property. By default, all files
    * under this directory (including all subdirectories) are served
    * up via HTTP. If the pathname of a file is <var>path</var> relative
    * to the top-level directory, then the file can be downloaded using
    * the URL
    * <pre>
    * http://<var>host</var>:<var>port</var>/<var>path</var>
    * </pre>
    * Caching of file contents is performed.
    * <pre>
    * org.opencyc.util.log=all
    * </pre>
    * If the all value is given, then all attempts to download files
    * are output.
    * <pre>
    * org.opencyc.webserver.traceRequests
    * </pre>
    * If this property has any value, then the client HTTP requests are
    * output.<p>
    * <pre>
    * org.opencyc.webserver.trees
    * </pre>
    * This property can be used to serve up individual files stored
    * within jar files in addition to the files that are served up by
    * default. If the property has any value, the server finds all jar files
    * in the top-level directory (not in subdirectories). For each
    * jar file, if the name of the jar file is <var>name</var>.jar, then any
    * individual file named <var>file</var> within that jar file (or within
    * the jar or zip files referenced transitively in the Class-Path manifest
    * attribute, can be downloaded using a URL of the form:
    * <pre>
    * http://<var>host</var>:<var>port</var>/<var>name</var>/<var>file</var>
    * </pre>
    * When this property has any value, an open file descriptor and cached
    * information are held for each jar file, for the life of the process.
    * @param args an unused array of command line arguments.
    public static void main(String[] args) {
    Log.makeLog();
    System.out.println("OpenCyc Web Server");
    try {
    // Launch thread to accept HTTP connections.
    current = new WebServer();
    current.start();
    catch (IOException e) {
    e.printStackTrace();
    * Just keep looping, spawning a new thread for each incoming request.
    public void run() {
    try {
    while (true) {
    // Launch thread to process one HTTP request.
    new Task(server.accept()).start();
    catch (IOException e) {
    e.printStackTrace();

    JLundan,
    I want to thank you for responding to the thread I started on the forum at java.sun.com. Your solution to my problem of needing to print the code of the html pages that the file I included generates was just what I was looking for. However, I have some further questions to ask, if you don't mind. To clarify my task I should say that your rephrasing of the problem is accurate: "You wan't to display the contents of the HTML file that the web server produces in response of client's request?"
    Yes, this is what I need to do, but also it needs to display the source code of that html file that the server produces in response to the client's request. Also, in this case, I am the client requesting that the server return some html file, and I'm not sure where the server is. But the webserver.java file that I shared on the forum is on my local machine. I was wondering if I could modify this webserver.java file at my home so that any html file the server returns to me would automatically display the source code. This is a school project of mine and I am stuck on this one thing here.
    Further, where would I put the "foo.html" file so it can be written to?
    FileOuputStream fos = new FileOutputStream("foo.html");
    fos.write(bytes);
    fos.close();
    Thanks so much for your help. I look forward to your response, at your convenience.
    Regards

  • Why does debugger not find source code when compiler output has been directed to the root directory, but the source is in a sub-directory, using Forte for JAVA community edition V3.0

    I have configured Forte to put compiler output, i.e. my classes, in the root directory of the project. I now find that the debugger does not find the source code when it is in a sub-directory. However, if I temporarily copy a classes' source code to the root directory the debugger will display it.
    To direct compiler output to the root directory I selected Project >Settings>Compiler types, then External Compiler ( which is the default compiler in my case ) and set Target to be the root project directory. This is the only directory it will allow.

    This Forum is for Forte 4GL or UDS as its called today. I am not sure if anybody is going to be able to answer your question here. Sorry.
    ka

  • Ddd does not display source code when loading compiled program

    Hey everyone,
    I'm writing a C program right now and I would like to use ddd. The problem is, the source code window is completely blank. Has anyone ever run into this before? I really don't even know where to start looking to fix this problem. Yes, I have loaded my compiled binary (I can see the assembly instructions in the machine output). I use both awesome and xfce (different sessions) and it does not work in either.
    Here is the relevant configuration info:
    extra/gdb 7.3.1-1
    aur/ddd-syntaxfix
    awesome 3.4.10
    xfce 4.8
    I had to install ddd from AUR since ddd seems to have a bug in it where it will not show the machine code without a fix.
    If you need any other info just ask and I will provide it.

    This Forum is for Forte 4GL or UDS as its called today. I am not sure if anybody is going to be able to answer your question here. Sorry.
    ka

  • How can i avoid to see the source code when any user open block diagram third time without password

    i have a probelem regarding source code control. my problem is that  when user open block diagram of any sub vi in vi. i would like to make a such a vi which source code can not open after seeing the block diagram thrice time and i dont want to make password to see the block diagram so what can i do ?
    give me the perfect solution for this type of problem.

    First protect you diagram
    create a tap on your FP and create a picture of your diagram and put it on the second tap
    DON'T expect answers if you only want perfect one's
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Display protected source code

    Hi All,
    We are facing the problem of source code protection because our ABAPer deceived us and left the company.
    Now we can not modify /  display any program developed by him. We are logging with his id also giving same message as displayed below.
    The source  is protected. See explanation in long text
    Message no. ED800
    Diagnosis
    The desired source text is protected by SAP because changing it could cause system errors.
    I hope we can view this code in any diffrent way as I forgot password which I used to protect it.
    Please suggest your expoert solutions.
    Regards,
    Ramesh.

    >
    ramesh_basis wrote:
    > Hi Volker,
    >
    > Can you please describe your solution in details as I never heard about HEX-Editor.
    >
    > Please tell me step by step.
    >
    > Regards,
    > Ramesh.
    You'll have to get your basis team involved to see the transport files. Which won't be a problem if the suggestions that it's actually you who've committed the crime are false, will it?

  • Firefox 3 displays the php code when pages launched from dreamweaver 8

    The problem seems to relate to files opening as —
    file:///C:/localweb/ .... when sent from Dreamweaver 8.0 to Firefox
    The first html/php page loads correctly from dreamweaver as
    processed HTML, a second page linked from either an HTML or php
    page also loads correctly, but selecting any link from that or
    subsequent pages displays the full php code instead of processed
    html layout - so this appears to be a third level or greater
    problem.
    If I manually substitute -
    http://localhost/ — the problem
    does not arise.
    This is a problem with version 3 of firefox, all previous
    versions I used worked fine with both — file:///C:/localweb/
    and
    http://localhost/
    Both prefixes also appear with pure HTML sites, but they load
    and function correctly.
    Not every php site I have loads with file:///C:/localweb/, so
    I am wondering if this relates to something in the php code or
    Dreamweaver - I have conn.php set to:
    mysql_connect("localhost", "root", "") or die(mysql_error());
    I use winxp and have xampp installed - everything worked fine
    until I installed Firefox 3

    > but selecting any link from that or subsequent pages
    You are being confused by a) not understanding root relative
    vs document
    relative links, and b) not understanding how DW previews
    files.
    If I have a document with a link to an image that looks like
    this -
    <img src="/images/foo.gif"...
    That's what's called a root relative link.
    If I preview that document in DW, then the browser gets the
    document, sees
    the leading "/" and reads that as the root of the hard drive,
    since the
    browser has no idea where the root of the site is. Thus, the
    image is
    broken in the preview.
    If I have temp files enabled, then DW will secretly convert
    the file being
    previewed into a temporary file, and hand that to the
    browser. This temp
    file has had all root relative links converted to document
    relative links
    (as you will see by looking at the code in the browser), and
    has had all
    include files actually embedded in the page, and has had all
    external CSS
    and js markup embedded in the page. In other words, DW has
    made the
    document into a stand-alone page.
    If you do not have temp files enabled, all of these links
    would be broken on
    preview.
    Now - if you are using root relative links, AND you have temp
    files enabled,
    AND you click away from the previewed document, then all of
    your links will
    be broken, since DW has not made that linked file into a temp
    file. This is
    what you are seeing.
    So - if you want to click away on preview, then you must use
    document
    relative links for the site -
    <img src="../images/foo.gif"... (for example)
    These will still work on preview since the browser knows how
    to determine
    the current file's location and how to follow that path.
    Make sense?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "gbiras" <[email protected]> wrote in
    message
    news:[email protected]...
    > The problem seems to relate to files opening as ?
    file:///C:/localweb/
    > ....
    > when sent from Dreamweaver 8.0 to Firefox
    >
    > The first html/php page loads correctly from dreamweaver
    as processed
    > HTML, a
    > second page linked from either an HTML or php page also
    loads correctly,
    > but
    > selecting any link from that or subsequent pages
    displays the full php
    > code
    > instead of processed html layout - so this appears to be
    a third level or
    > greater problem.
    >
    > If I manually substitute -
    http://localhost/ ? the problem does
    not arise.
    >
    > This is a problem with version 3 of firefox, all
    previous versions I used
    > worked fine with both ? file:///C:/localweb/ and
    http://localhost/
    >
    > Both prefixes also appear with pure HTML sites, but they
    load and function
    > correctly.
    >
    > Not every php site I have loads with
    file:///C:/localweb/, so I am
    > wondering
    > if this relates to something in the php code or
    Dreamweaver - I have
    > conn.php
    > set to:
    >
    > mysql_connect("localhost", "root", "") or
    die(mysql_error());
    >
    > I use winxp and have xampp installed - everything worked
    fine until I
    > installed Firefox 3
    >

  • Firefox 4.0 displays an error code when launching: "TypeError: Components.classes[cid] is undefined", add-ons doesn't work and I can't open any web pages

    Hello
    I've been running Firefox 3.6.16 with no problems at all, and this morning decided to upgrade to Firefox 4.0, as the developer of the them I use, Foxscape, has upgraded it to work with 4.0. The installation appeared to be as normal, but when I launched 4.0, the following error message appeared: error "when launching firefox 4.0 TypeError: Components.classes[cid] is undefined". The browser launched, but while I could go to webpages if they were in my bookmarks, so no problems with my internet connection, but when I typed in a URL (for example google.co.uk) and pressed "go", nothing happened. Similarly, when I tried to go to add-ons, it was as if I hadn't clicked anything. I wondered whether it was an issue with Foxscape (although I've never had any problems before when upgrading, as the standard theme just appears) so I reverted to 3.6.16, switched the theme to standard, then tried upgrading to 4.0 again. The same thing happened, so I'm positive it's got nothing to do with Foxscape.
    I run Windows Vista Home Edition on a Dell Inspiron. I also have IE 9 installed (I installed it a few weeks ago, and it's been running fine with 3.6.16). I've never had any problems with Firefox before; I'm very keen to upgrade to 4.0, and would appreciate your help in fixing this.
    Thanks

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • How to avoid "Cannot display source code at this location"?

    This debugger message really annoys me. It seems to me that
    sometimes when my program fails the debugger returns nice friendly
    messages telling me exactly what line numebr an object is
    undefined. This is great. But half the time I get message of this
    nature.
    at main_fla::MainTimeline/ot()
    at main_fla::MainTimeline/buttMouseEvent()
    Cannot display source code at this location.
    Why does the debugger refuse to show the line number of the
    code sometimes?
    Is there acoding practice that one should use to avoid these
    unhelpful debug messages?
    It is very annoying when you have a 200 line function that
    tells you that somehting is undefined SOMEWHERE in the function
    without giving you a line number. Granted at least AS3 does
    actually warn you....(unlike AS2) but I am constantly plagues by
    these "Cannot display source code at this location" messages.
    An anyone offer any explanation to why these messages dont
    display line numebrs or how to code in a way that avoids them?
    thanks

    JLundan,
    I want to thank you for responding to the thread I started on the forum at java.sun.com. Your solution to my problem of needing to print the code of the html pages that the file I included generates was just what I was looking for. However, I have some further questions to ask, if you don't mind. To clarify my task I should say that your rephrasing of the problem is accurate: "You wan't to display the contents of the HTML file that the web server produces in response of client's request?"
    Yes, this is what I need to do, but also it needs to display the source code of that html file that the server produces in response to the client's request. Also, in this case, I am the client requesting that the server return some html file, and I'm not sure where the server is. But the webserver.java file that I shared on the forum is on my local machine. I was wondering if I could modify this webserver.java file at my home so that any html file the server returns to me would automatically display the source code. This is a school project of mine and I am stuck on this one thing here.
    Further, where would I put the "foo.html" file so it can be written to?
    FileOuputStream fos = new FileOutputStream("foo.html");
    fos.write(bytes);
    fos.close();
    Thanks so much for your help. I look forward to your response, at your convenience.
    Regards

  • How to display source code of a webpage in Safari 7.0?

    Hello. I'm unable to find how we used to once enable developing tools in Safari Preferences or simply CMD + ALT + A to display the source code of a webpage. Now I've no clue how to display source code of a webpage in Safari 7.0 on Mac OS X Mavericks. Help.

    Hi gss2,
    Make sure you are not under the Apple icon but under Safari>Preferences>Advanced. All the way at the bottom check the box that says: "Show Develop menu in menu bar."
    Now go back to the page you want to get the source code for, right click on it and choose Inspect Element. Hope this helps.
    Cheers,
    LURDS LLC

  • Safari Displays Source Code by Default

    I've set file:///Users/MyName/Sites/1/index.php as my home page on all my browsers. It works fine in Firefox and Opera, but in Safari it displays the source code. Can someone tell me what's going on and how to fix it?
    Thanks.

    Here's the head section and beginning body section. (I just discovered I have
    two instances of <style type='text/css'> though I wouldn't think that would nix the page display.):
    <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
    <head>
    <title></title>
    <style type="text/css">
    body { margin: 0; padding: 5px 15px 25px; background: #fff; font-family: Arial, Verdana, Helvetica, sans-serif;
    font-size: 90%; font-weight: normal; color: #000 }
    p { text-align: left; text-indent: 0px }
    /* HYPERLINKS */
    a:link { color: #0000ff; text-decoration: none }
    a:visited { color: #0000ff; text-decoration: none }
    a:hover { color: #ff0000; background-color: #ffff00; text-decoration: none }
    div { padding: 5px; }
    div#toplinks { border-bottom: 1px solid #000; }
    div#geobop { background: #cff; }
    div#rep5 { background: #fcc; }
    div#media { background: #ff9; }
    div#ref { background: #eee; }
    div#computers { background: #cff; }
    div#allies { border-bottom: 1px solid #000; }
    .hilite { padding: 0px 5px 0px; background: #ff0; }
    .yellow { padding: 0px 5px 0px; background: #ff0; }
    .aqua { padding: 0px 5px 0px; background: #0ff; }
    .lime { padding: 0px 5px 0px; background: #0f0; }
    .green { padding: 0px 5px 0px; background: #cfc; }
    .red { padding: 0px 5px 0px; background: #ffc; }
    .blue { padding: 0px 5px 0px; background: #cff; }
    .gray { padding: 0px 5px 0px; background: #eee; }
    </style>
    <style type='text/css'>
    body {
    margin:0; padding:0;
    color:#000; background:#fff;
    font-family:verdana,arial,sans-serif;
    h3, h4 { margin: 0px; padding: 0px; }
    #page {
    margin:0% 10%;
    background:#fff;
    #header {
    margin:10px; padding:5px;
    border:1px dotted #333;
    #title { padding: 0px;
    .menu {
    background:#ff9;
    #content {
    margin:1em; padding:1em;
    border:1px dotted #333;
    #footer {
    margin:1em; padding:1em;
    text-align:center;
    border:1px dotted #333;
    .app {
    margin:1em; padding:.2em;
    background:#eee;
    border:1px dotted #333;
    .app p {
    margin:0; padding:0;
    .fltL3 {
    float:left;
    width:28%;
    padding:1em;
    .fltL4 {
    float:left;
    width:20%;
    padding:.5em;
    .fltL5 {
    float:left;
    width:15%;
    padding:.5em;
    .clrBoth {
    clear:both;
    </style>
    <script type='text/javascript'>
    // if js is disabled we want app elements to be visible
    // so they are visible by default in the CSS
    document.write("<" + "style type='text/css'>.app{display:none;}<" + "/" + "style>");
    window.onload = function()
    dsds_onload();
    function dsds_onload()
    var ln=1, // lnk number
    lo=1; // lnk object
    for (; lo; ++ln) {
    lo = document.getElementById('lnk' + ln);
    if (lo) {
    lo.appId = 'app' + ln;
    lo.onclick = dsds_onclick;
    window.currentAppId = null; // global
    // assumes app elements have display:none initially
    function dsds_onclick()
    var e;
    if (currentAppId && currentAppId != this.appId) {
    e = document.getElementById(currentAppId);
    e.style.display = 'none';
    e = document.getElementById(this.appId);
    if (e.style.display == 'block') {
    e.style.display = 'none';
    currentAppId = null;
    else {
    e.style.display = 'block';
    currentAppId = this.appId;
    return false;
    </script>
    </head>
    <body>
    Basics
    <!-- Menu 1 -->
    Popular |
    Biz |
    Search/Rank |
    MyComputer |
    Personal |
    Medical |
    Jobs |
    Calendar |
    Notes |
    Misc
    <!-- end Menu -->

  • About unprotect a report program's source code

    Hi all,
    I have protect the report program using a report program. In this process if i change/display a report program it doesn't displays its source code but it execute that program.The whole source code is Stored in an internal table.but the real problem is that when i open that program's source code it protected and doesn't appears.
    I doing this by using '*@#@@[SAP]'. This is provided by SAP to protect a report program.
    Now my query is ' there is any thing to unprotected that program' ?
    Suggest.
    Thanks
    Sanket sethi.

    > <i>This is provided by SAP to protect a report program.</i>
    That is an <u>incorrect</u> statement. That "feature" might be removed without any prior notice since it's causing more harm than it provides benefit.

  • Instead of requested page source code is getting populated in WAS 6.1.0.15

    Hi All,
    I'm trying to bring up an application using jnlp.please find below the source code for the same.
    When i deploy the application in WAS 6.1.0.0, i'm able to bring up the application without any issue.
    But other than 6.1.0.0 if i deploy the same war file in any other WAS server, itz just showing the source code when i request for href in the browser.
    Kindly some one help me to resolve this.
      <?xml version="1.0" encoding="UTF-8" ?>
    - <jnlp spec="1.0+" codebase="http://10.66.193.212:9080/<appname>/">
    - <information>
      <title> Application name</title>
      <vendor>vendor</vendor>
      <homepage href="/RSA" />
      <description>JNLP Application for <appname></description>
      </information>
      <offline-allowed />
    - <security>
      <all-permissions />
      </security>
    - <resources>
      <j2se version="1.4+" />
      <jar href="appname.jar" />
      <extension name="jcalendar" href="jcalendar.jnlp" />
      <extension name="jcommon" href="common.jnlp" />
      <extension name="jfreechart" href="jfreechart.jnlp" />
      </resources>
      <application-desc main-class="a.b.c.d.mainclass" />
      </jnlp>Thanks in advance,
    siva.

    Type must be registered with jnlp extension so that content type is set (in the header with value application/x-java-jnlp-file), this should be done in httpd.conf (with an AddType), you can google for it or ask any server administrator for it, should be something like:
    AddType  .jnlp application/x-java-jnlp-fileMaybe you can give a look at working httpd.conf (on 6.1.0.0 searching for 'application/x-java-jnlp-file') and copy/paste in other configs.
    Bye.

  • Source code Verification in different systems  ?

    Hi gurus
    I am having a custom user exit. I have to check whether the source code is same in both the Sand box and Configuration box?
    How to compare between the systems ?
    Please guide me. Urgent
    Thanks
    Meenakshi . N
    Edited by: Meenakshi.Nakshatrula on May 1, 2008 8:20 PM

    Meenakshi,
    Go to SE38 in any one of the two systems you want to compare against each other.
    Display your source code.
    Go to Utilities --> Versions --> Version management
    Now you should see the various version of your source code. Choose the version you want to compare - I suppoer you might want to choose the current / active version.
    Press the button in the top icon bar that says REMOTE comparison
    This will pop-up a box. Put in the logical ID of your Target sys OR put in the RFC destination ID for your target system, and press the little green tick mark.
    This brings you back to a similar looking screen as earlier.
    Again press the button that says REMOTE comparison - that's it.
    SAP will compare the chosen source code versions in the two systems, and give you a comparison in a split-screen format, color-coded format.
    Remember to assign points if found useful.
    Regards
    Gulshan

  • Is it possible to see the source code

    is it possible to see the source code when u know the transaction code for the same?

    hi Dhakshu,
    it possible,
    u run the t.code and there go to system-> status, there u can see the prog name for tht t.code, u double click on tht , u get the source code for thr t.code
    \[removed by moderator\]
    regards,
    chandu
    Edited by: Jan Stallkamp on Jun 25, 2008 1:17 PM

Maybe you are looking for

  • Variable - Till end of the reporting period, First and last day of RP

    Hello Experts, We have query having three customer exit time variables, (Current Quater is 10/1/2011 to 12/31/2011) 1. Till end of the Reporting Quater - 1/1/1980..12/31/2011 2. Quater Begin Date - 10/1/2011 3. Quater End Date -  12/31/2011 Now, we w

  • Adobe Audition CS6 (5.0.2) update patch released

    Hey Audition friends! This morning we released an update patch for Adobe Audition CS6.  This update, version 5.0.2 for Mac and Windows, fixes several bugs discovered after release that could not be fixed in time for the earlier patch, and cleans up a

  • Recharge

    Hi,I have recharged  my skype account thru one cash transfer but i forgot to add the reference no. given by skype .I have the proof of payment receipt with me. I need your suggestion. Thanks and Regards, Srikanth

  • Using Digital I/O to generate serial data stream

    Hello All, I am in need to generate a serial data stream. HW I use is MIO-16E-10. I am planning to use the digital line out to generate the serial data stream. I seems that if I use the wait timer the minimum pulse width I can get is 1ms. But for my

  • Resetting ActionForm

    Hi all, First of all i had lot of trouble searching for this topic (if anyone as posted this topic already or not?). Anyways i have two forms "emp.jsp" and "empconform.jsp", what is happening is in "empconform.jsp" you can save data to Database or if