473,396 Members | 2,109 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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="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
4 1285
acoder
16,027 Expert Mod 8TB
That looks like JSP, not JavaScript. Have you set the content type of the file properly?
Jan 24 '08 #2
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
7,435 Expert 4TB
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
16,027 Expert Mod 8TB
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

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

Similar topics

6
by: Geoff | last post by:
When trying to focus a field in Firefox, I get the following error: Error: " nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame ::...
2
by: Chuck Martin | last post by:
I am having a most frustrating problem that references, web searches, and other resources are no help so far in solving. Basically, I'm trying to design a pop-up window to be called with a funciton...
35
by: Aaron Gray | last post by:
Hi, I have some code I just cannot seem to get to work properly on FireFox. It is probably something simple. On FireFox the following code does not seem to terminate in the browser, but it...
0
by: Wayne Deleersnyder | last post by:
Hi All, I'm hoping to try to solve this error. I'm currently putting together a little web app, but I need it to work under both IE6, IE7, Mozilla, etc... Although the formatting is off for...
5
by: Geoff Cox | last post by:
hello, I am writing Javascript using Homesite but if I try to use Firefox v2 as the browser I get the error message "Firefox doesn't know how to open the address, because the protocol (c)...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.