Sounds like you may have a:
script language=JavaScript src=filename.js
statement in your returned HTML code.. and the .js file can not be
found...
hope that helps.
Cj
James Adams wrote:
I have a page (JSP) which contains a form with a servlet as the action
of the form. However whenever I
I have a page (JSP) which contains a form with a servlet as the action
of the form. However whenever I submit the form I am getting a Not
Found 404 error telling me that a Javascript file which is used for
Javascript on the page is not found. I am perplexed as to why this is
happening,
a Javascript file instead of my servlet ?
I have a page (JSP) which contains a form with a servlet as the action
of the form. However whenever I submit the form I am getting a Not
Found 404 error telling me that a Javascript file which is used for
Javascript on the page is not found. I am
First suggestion: Eliminate the JavaScript. Our developers (myself
included) have had plenty of problems with variables named action resetting
the URL that the form posts to.
JavaScript itself isn't too bad. It's very useful to add interaction to
a page.
Just don't try having a
-Original Message-
From: D. Jay Newman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 4:03 PM
To: [EMAIL PROTECTED]
Subject: Re: Why am I getting a Javascript file instead of my
servlet ?
First suggestion: Eliminate the JavaScript. Our
developers
I wasn't saying JavaScript was bad or should be gotten rid of - I was
suggesting dumping all of the JavaScript as a first step to figuring out
where the problem is (division of one large problem into areas to limit the
amount of code to be examined).
Very true.
--
D. Jay Newman
]
Subject: Why am I getting a Javascript file instead of my servlet ?
I have a page (JSP) which contains a form with a servlet as the action
of the form. However whenever I submit the form I am getting a Not
Found 404 error telling me that a Javascript file which is used for
Javascript on the page