> >From: Schalk Neethling [mailto:[EMAIL PROTECTED]
> >Sent: Saturday, August 14, 2004 1:22 PM
> >To: Tomcat Users List
> >Subject: Re: servlet question
> >
> >
> >Attached is the servlet, can you see any problems here? It compiles fine.
> >
> >Da
nesto Echeverría
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Sábado, 14 de Agosto de 2004 02:22 p.m.
To: Tomcat Users List
Subject: [tomcat] Re: servlet question
Attached is the servlet, can you see any problems here? It compiles fine.
David Short wrote:
>
at startup?
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:45 PM
To: Tomcat Users List
Subject: Re: servlet question
In 'tomcat\conf\catalina\localhost\' there is no context.xml file but
there is a manageit.xml file, which is th
tomcat\conf\catalina\localhost\context.xml file (tomcat 5).
Which version of tomcat are you running and on what os?
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:22 PM
To: Tomcat Users List
Subject: Re: servlet question
Attached is the
Is your context path set up correctly in your servlet.xml or
tomcat\conf\catalina\localhost\context.xml file for this webapp?
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:30 PM
To: Tomcat Users List
Subject: Re: servlet question
I
at are you running and on what os?
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:22 PM
To: Tomcat Users List
Subject: Re: servlet question
Attached is the servlet, can you see any problems here? It compiles fine.
David Short wrote:
Are y
f\catalina\localhost\context.xml file (tomcat 5).
Which version of tomcat are you running and on what os?
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:22 PM
To: Tomcat Users List
Subject: Re: servlet question
Attached is the servlet, can y
om: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:22 PM
To: Tomcat Users List
Subject: Re: servlet question
Attached is the servlet, can you see any problems here? It compiles fine.
David Short wrote:
>Are you running this through apache redirected to tomcat or
Does the servlet load at startup?
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:19 PM
To: Tomcat Users List
Subject: Re: servlet question
Directly on Tomcat
David Short wrote:
>Are you running this through apache redirected
rs List
Subject: re: servlet question
Hey all!
I have a servlet called login. I have it mapped in my web.xml as follows:
login
org.volume4.authentication.login
login
*.login
My WEB-INF structure is as follows
WEB-INF/classes/org/volume4/authentication/login.class
Does anyone have an
x27;t right.
However, if you're not using apache, I don't know what to say. The syntax
looks correct.
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:05 PM
To: Tomcat Users List
Subject: re: servlet question
Hey all!
I have a
wasn't right.
However, if you're not using apache, I don't know what to say. The syntax
looks correct.
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:05 PM
To: Tomcat Users List
Subject: re: servlet question
Hey all!
I have a
x27;re not using apache, I don't know what to say. The syntax
looks correct.
-Original Message-
From: Schalk Neethling [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 1:05 PM
To: Tomcat Users List
Subject: re: servlet question
Hey all!
I have a servlet called login. I have
Hey all!
I have a servlet called login. I have it mapped in my web.xml as follows:
login
org.volume4.authentication.login
login
*.login
My WEB-INF structure is as follows
WEB-INF/classes/org/volume4/authentication/login.class
Does anyone have an idea as to why when I call login as p
r [mailto:[EMAIL PROTECTED]
>Sent: Sunday, September 21, 2003 8:48 AM
>To: Tomcat Users List
>Subject: Re: servlet question
>
>
>In order to compile servlets with javac, you will need to include all
of
>the
>jar files found in ...common/lib in your classpath. Tomcat will
inclu
In order to compile servlets with javac, you will need to include all of the
jar files found in ...common/lib in your classpath. Tomcat will include
them automatically when it starts up for running the servlets but you will
need to do set up your environment manually in order to compile with
Indeed.
There is a servlet-api.jar under $TOMCAT_HOME/common/lib/
My Tomcat version is 5.0.0
On Sunday 21 September 2003 11:42, BAO RuiXian wrote:
> Bruno Costacurta wrote:
> > It seems you miss J2EE.
> > After installation (from www.java.sun.com/j2ee)
> > you should find j2ee.jar (under $J2EE_HO
Bruno Costacurta wrote:
> It seems you miss J2EE.
> After installation (from www.java.sun.com/j2ee)
> you should find j2ee.jar (under $J2EE_HOME/lib/) which contain javax.servlet.*
> Hope it helps.
Maybe. But, there should also be a servlet.jar in
%TOMCATHOME%/common/lib directory. At least I hav
It seems you miss J2EE.
After installation (from www.java.sun.com/j2ee)
you should find j2ee.jar (under $J2EE_HOME/lib/) which contain javax.servlet.*
Hope it helps.
On Saturday 20 September 2003 17:45, water autumn wrote:
> hello:
>My environment is follow:
> JDK : j2sdk_1.4.2
You need to wrap the request with a wrapper that overrides the getMethod()
method. Something like:
class GetWrapper extends HttpServletRequestWrapper {
public GetWrapper(HttpServletRequest request) {
super(request);
}
public String getMethod() {
return "GET";
On Tuesday 27 May 2003 06:26 pm, Paul Hsu wrote:
> Hi,
>
> I try to forward a HTTP request from my servlet. I am using the following
> code.
>
> RequestDispatcher rd =
> getServletContext().getRequestDispatcher(direct);
> rd.forward(request, response);
>
> I have no problem with
I wonder would this solve your problem??
-Original Message-
From: Paul Hsu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 4:32 PM
To: Tomcat Users List
Subject: Re: servlet question
Michael,
If I forward to a servlet, yes I can process the request in second servlet
Michael,
If I forward to a servlet, yes I can process the request in second servlet.
- Original Message -
From: "Tam, Michael" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, May 27, 2003 4:13 PM
Subject: RE: se
lt;[EMAIL PROTECTED]>
Sent: Tuesday, May 27, 2003 3:44 PM
Subject: RE: servlet question
Just a wild guess, how about servlet 1 doPost() call its own doGet() and
redirect in the doGet body???
-Original Message-
From: Paul Hsu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 3:41 PM
TED]>
Sent: Tuesday, May 27, 2003 3:44 PM
Subject: RE: servlet question
Just a wild guess, how about servlet 1 doPost() call its own doGet() and
redirect in the doGet body???
-Original Message-
From: Paul Hsu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 3:41 PM
To: Tomcat User
PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, May 27, 2003 3:45 PM
Subject: Re: servlet question
> if your dispatched request is getting problems because of non compatible
> types of GET/Post methods at collaborating servlets then at the receiving
> end
if your dispatched request is getting problems because of non compatible
types of GET/Post methods at collaborating servlets then at the receiving
end add a dummy method of (Get or Post), whichever is missing, and forward
the processing to the actual method. For example:
protected void doGet(HttpS
Just a wild guess, how about servlet 1 doPost() call its own doGet() and
redirect in the doGet body???
-Original Message-
From: Paul Hsu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 3:41 PM
To: Tomcat Users List
Subject: Re: servlet question
Thank you for the help. I think you
Thank you for the help. I think you may misunderstand my question. My
question is how can I forward the request to my next URL and change the
method to 'GET' if the orignal request is using 'POST'.
For example:
test1.html call servlet1 by using "POST" method, but servlet1 need to
forward to servle
for what you want to change the request method.
I usally call doGet from doPost, so i do everything in the get method
Paul Hsu wrote:
Hi,
I try to forward a HTTP request from my servlet. I am using the following code.
RequestDispatcher rd =
getServletContext().getRequestDispat
On Fri, 23 Mar 2001, c cw288 wrote:
> Hi,
>
> When a client make a request to a server and a servlet get call,
> the servlet then create an instance for that client.
That is not what really happens. Instead, a single instance of your
servlet is called multiple times simultaneously, on multip
31 matches
Mail list logo