Firefox Error Message

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Blackmore
    New Member
    • Mar 2007
    • 25

    Firefox Error Message

    I am posting this question on the Javaxript forum as I suspect it has something to do with a Javascript issue.

    When accessing my website with Firefox, the webpages produce the following error message:

    <%@ page contentType="te xt/html; charset=iso-8859-1" language="java" import="java.sq l.*" errorPage="" %>

    Can anyone explain why this is happening and how I can overcome this error.

    Regards

    Blackmore
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    That looks like JSP, not JavaScript. Have you set the content type of the file properly?

    Comment

    • Blackmore
      New Member
      • Mar 2007
      • 25

      #3
      Originally posted by acoder
      That looks like JSP, not JavaScript. Have you set the content type of the file properly?
      To be honest I'm not sure? When I set-up my page files in Dreamweaver the file property content is that which appears by default. Do you have a source to guidance that explains what file properties are required for what I might be attempting to do in each page?

      Another example; I've seen things like:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

      OR

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 1.01 Transitional//EN">

      However, I do not know what the difference is between 'HTML 4 Transitional' and 'HTML 1 Transitional'. Do you know of a some simple guidance that explains the differences?

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        Originally posted by Blackmore
        Another example; I've seen things like:

        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

        OR

        <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 1.01 Transitional//EN">

        However, I do not know what the difference is between 'HTML 4 Transitional' and 'HTML 1 Transitional'. Do you know of a some simple guidance that explains the differences?
        Neither is correct. The first is for web pages containing deprecated markup and new page should never use it. The second is from when dinosaurs roamed the earth. It's called a doctype and you can get the proper one, and read about them, under Howtos at the top of this page. A proper doctype is required on all web pages.

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          Originally posted by Blackmore
          To be honest I'm not sure? When I set-up my page files in Dreamweaver the file property content is that which appears by default. Do you have a source to guidance that explains what file properties are required for what I might be attempting to do in each page?
          I was actually talking about the content-type as opposed to the doctype, but I see Doc's made some points about the correct doctype ;)

          See Content-type: text/plain to see what I'm talking about.

          Comment

          Working...