A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
problem in calling servlet
Joined: Jul 24, 2004
Jul 25, 2004 04:01:00
i am new to
and using JSDK2.0 with SUN APPLICATION SERVER.
i want to call the servlet from HTML page , i m writing
and when i m calling by running through browser then it is
giving the error number 404.
please help me.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Jul 25, 2004 10:45:00
The use of a URL containing /servlet/ is what is causing you trouble. Read
this FAQ on the invoker servlet.
Java Resources at
Joined: Jul 26, 2004
Jul 26, 2004 15:12:00
Can you post the part of your web.xml that contains the servlet and servlet-mapping elements. and also the path where you have your servlet stored.
Maybe one of these is the cause.
-Divij<br />---------------------------------<br />Weinberg's Law: If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization.
Joined: Jul 28, 2004
Jul 28, 2004 17:28:00
Also check if your firstservlet.class is in WEB-INF\classes directory
It is sorta covered in the
JavaRanch Style Guide
subject: problem in calling servlet
mouseOver problem in Mozilla FireFox.... working fine in IE
EJB and Socket write error
problem in form action tag
jsp bean problem
HTTP Status 404
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013