regarding the 404 problem, are you by chance running on jdk1.1.x? if
so, there was a bug that has since been fixed in the jswdk1.0-ea product
(servlets and jsp) which can be found at:

    http://developer.java.sun.com/developer/earlyAccess/jsp

as an alternative, you can consider running on jdk1.2.x to see if this
resolves the problem.

hope this helps,

- james

Gwendoline BASSET wrote:

> Hi,
> I am new to servlet programming too.
> what is the xxx?,  because, to access to your servlet, you need to put it on:
> xxx\WEB-INF\servlets\  directorie and call it like that:
>  http://localhost:8080/xxx/servlet/ServletTest
>
> but whithout 's' to servlet...
>
> in the default.cfg:
> server.webapp.xxx.mapping=/xxx
> server.webapp.xxx.docbase=xxx
>
> maybe you did it... then i don't know what is the problem.
>
> I have a problem too: my servlets run, but when I just call
> http://localhost:8080/
> I can't have the index.html and have an 404 error on window 95 and NT.
>
> maybe you had the same problem?
> have a good day
> Gwen
>
> pradeep a �crit :
>
> > Hi all
> >
> > paltform: JDK1.1/JSDK2.1/Win95
> >
> > I am new to servlet programming.When I tried to "startserver",the Webserver
> > downloaded
> > from java.sun.com along with the JSDK2.1, the console window is just showing
> > up and vanishing . I doubt whether the web server is started succesfully or
> > not.Any comment?
> >
> > When I ran a servlet with http://localhost:8080/xxx/ServletTest (in the
> > documentation it is written that http server listens port 8080,and I have
> > ServletTest class in xxx directory),web browser is displaying error dialog.
> >
> > Any suggestions please?
> >
> > TIA
> > -pradeep
> >
> > ___________________________________________________________________________
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to