By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,695 Members | 1,284 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,695 IT Pros & Developers. It's quick & easy.

Firefox Error Message

P: 25
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="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>

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

Regards

Blackmore
Jan 23 '08 #1
Share this Question
Share on Google+
4 Replies


acoder
Expert Mod 15k+
P: 16,027
That looks like JSP, not JavaScript. Have you set the content type of the file properly?
Jan 24 '08 #2

P: 25
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?
Jan 24 '08 #3

drhowarddrfine
Expert 5K+
P: 7,435
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.
Jan 25 '08 #4

acoder
Expert Mod 15k+
P: 16,027
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.
Jan 25 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.