Re: Why am I getting a Javascript file instead of my servlet ?

2001-11-15 Thread Corey A. Johnson
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

Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread James Adams
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,

RE: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread Randy Layman
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

Re: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread D. Jay Newman
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

RE: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread Randy Layman
-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

Re: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread D. Jay Newman
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

RE: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread Rajah Kalipatnapu
] 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