Hello Everyone,
Could anyone tell me some good reference books related to java
servlets? In
addition, any java books related to the Multimedia like showing
pictures,
playing videos and etc.
Thank you.
-
To unsubscribe,
Hello Everyone,
Could you mention some good reference book related to java servlets? In
addition, any java books related to the Multimedia like showing pictures,
playing videos and etc.
Thank you.
-
To unsubscribe, e-mail:
.
-Original Message-
From: Jim Si [mailto:[EMAIL PROTECTED]
Sent: 29 August 2003 19:04
To: Tomcat Users List
Cc: Stuart MacPherson
Subject: Re: First Servlet 404 error
Thank you Stuart for your great help.
HellowWorld servlet works! But I still have one problem.
I got login.jsp in the webapps
What is the common practise?
Jeff Tulley wrote:
It looks like you want your form action to actually be servlet/login, or
maybe /onjava/servlet/login (you can use
%=request.getContextPath()%/servlet/login in the jsp if you don't want
to hardcode your context name).
You have set up the
the capitals in POST also]
-Original Message-
From: Jim Si [mailto:[EMAIL PROTECTED]
Sent: 28 August 2003 21:37
To: Tomcat Users List
Subject: First Servlet 404 error
It is difficult to get my first servlet working. I got HTTP Status 404 -
/onjava/servlet/com.onjava.login error
Thank you Stuart for your great help.
HellowWorld servlet works! But I still have one problem.
I got login.jsp in the webapps\onjava directory. It has
form name=loginForm method=POST action=servlet/com.onjava.login
In login.java, it has
private String target = /welcome.jsp;
...
//
It is difficult to get my first servlet working. I got HTTP Status 404 -
/onjava/servlet/com.onjava.login error. Maybe something I did not get it right.
Here are the things I have.
Tomcat 4.1.27
In conf/server.xml, I added the following line.
Context