tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corey A. Johnson" <cjohn...@cniweb.net>
Subject Re: Why am I getting a Javascript file instead of my servlet ?
Date Thu, 15 Nov 2001 15:43:45 GMT
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 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, especially since the Javascript is working as it should.  I
> should instead be forwarded to the servlet which will handle the form
> parameters.  Can anyone suggest ways to find out what is going wrong
> ?  Thanks in advance for any suggestions...
>
> -James
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
Corey A. Johnson
Creative Network Innovations
http://www.cniweb.net/
1-800-CNi-5547 ** 1-321-259-1984



--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message