Re: servlet question

2004-08-15 Thread Bill Barker
> >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

Re: servlet question

2004-08-14 Thread Ernesto Echeverría
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: >

RE: servlet question

2004-08-14 Thread David Short
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

Re: servlet question

2004-08-14 Thread Schalk Neethling
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

RE: servlet question

2004-08-14 Thread David Short
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

Re: servlet question

2004-08-14 Thread Schalk Neethling
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

Re: servlet question

2004-08-14 Thread Schalk Neethling
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

RE: servlet question

2004-08-14 Thread David Short
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

RE: servlet question

2004-08-14 Thread David Short
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

Re: servlet question

2004-08-14 Thread Schalk Neethling
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

Re: servlet question

2004-08-14 Thread Schalk Neethling
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

Re: servlet question

2004-08-14 Thread Schalk Neethling
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

RE: servlet question

2004-08-14 Thread David Short
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

re: servlet question

2004-08-14 Thread Schalk Neethling
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

RE: servlet question

2003-09-22 Thread Shapira, Yoav
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

Re: servlet question

2003-09-21 Thread Ben Souther
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

Re: servlet question

2003-09-21 Thread Bruno Costacurta
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

Re: servlet question

2003-09-21 Thread BAO RuiXian
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

Re: servlet question

2003-09-21 Thread Bruno Costacurta
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

Re: servlet question

2003-05-27 Thread Bill Barker
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";

Re: servlet question

2003-05-27 Thread Paul Yunusov
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

RE: servlet question

2003-05-27 Thread Tam, Michael
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

Re: servlet question

2003-05-27 Thread Paul Hsu
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

RE: servlet question

2003-05-27 Thread Tam, Michael
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

Re: servlet question

2003-05-27 Thread Paul Hsu
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

Re: servlet question

2003-05-27 Thread Paul Hsu
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

Re: servlet question

2003-05-27 Thread Hassan
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

RE: servlet question

2003-05-27 Thread Tam, Michael
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

Re: servlet question

2003-05-27 Thread Paul Hsu
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

Re: servlet question

2003-05-27 Thread Emerson Cargnin
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

Re: Servlet question

2001-03-23 Thread Craig R. McClanahan
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