Re: problem whit applets

2002-08-01 Thread Ben Walding
The code parameter is case sensitive, so if your class is "Client", code="Client.class" should be used. I don't believe suffixing the .class is required (at least not in modern browsers). (The Sun recommendation is to capitalise the first letter of the class (and the first letter of any words

Re: warp / jdbc problem

2002-08-01 Thread rsequeira
You haven't configured you JDBC realm in the Warp connector section. My guess is thaat you have it configured for the Tomcat-Standalone. You will need to replicate the configuration in the Tomcat-Apache section too. RS

RE: MaxProcesses in Server.xml

2002-08-01 Thread Shapira, Yoav
Hi, >I am generating multiple threads on a client machine and am measuring how >long would it take for the thread to finish after it gets serviced from the >tomcat server(I am calculating the difference in time). I figured that much ;) The reason I was asking is that it is sometimes difficult

Request Dispatcher

2002-08-01 Thread Jacob Hookom
If I grab a request dispatcher, can I append extra parameters to be used at the destination? Original request: /app/RDServlet?id=3446 RequestDispatcher rd = _context.getRequestDispatcher("/jsp/handler.jsp?ar=html"); rd.forward(); Is this legit to do? Jacob Hookom Comprehensive Computer Scienc

RE: Request Dispatcher

2002-08-01 Thread Mike Jackson
I don't think so, at least I've never been able to do it. What I've done is added attributes to the request (see the javadocs for details). Attributes only work with objects, but that's both an advantage and a disadvantage. --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message

Connecting to JDBC mysql database in a servlet

2002-08-01 Thread khozaima shakir
Hi all! I am trying to connect to JDBC in a servlet, the html page gets displayed the try statement and i find that the connection is not made. I am using tomact 4.0.4 and have deployed the class file in \webapps\ROOT\WEB-INF\classes directory. Can anyone please suggest a path forward? In case

web.xml security-constraint bug?

2002-08-01 Thread Tony_Chao
i noticed that if you add the url-pattern /* as a web-resource-collection in a security constraint and you use FORM auth-method for login-config if form-login-page is included in the same webapp, there seems to be an endless loop. is there anyway to specify an url-pattern that includes all excep

and multiple s

2002-08-01 Thread Jack D. Bates
How ought I to configure Tomcat so that the same context is avalable in both the Standalone and Tomcat-Apache services? Thanks very much, Jack -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Tomcat 4 & Suse 8

2002-08-01 Thread Januski, Ken
Steve, I know it's possible. I mainly run Tomcat on W2K right now but have also experimented with it on Suse 8.0. Unfortunately I must have screwed something up because it's no longer working. But I'm sure I did have it working for awhile, nothing sophisticated but at least I know it can work. S

RE: Tomcat 4 & Suse 8

2002-08-01 Thread Mike Jackson
I didn't have any problems, I'm running jdk1.3 from IBM and the only thing I did was to add JAVA_HOME at the top of the catalina.sh file. --mikej -=- mike jackson [EMAIL PROTECTED] > -Original Message- > From: Steve Russell [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 01, 200

Re: web.xml security-constraint bug?

2002-08-01 Thread Craig R. McClanahan
On Thu, 1 Aug 2002 [EMAIL PROTECTED] wrote: > Date: Thu, 1 Aug 2002 18:15:17 -0400 > From: [EMAIL PROTECTED] > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: web.xml security-constraint bug? > > i noticed that if you add the url-pattern /* as a web-resource-c

RE: Request Dispatcher

2002-08-01 Thread Jacob Hookom
I wrote some test cases and figured out that you cannot append parameters, but you can change their properties, so if you do: /xmlwrapper/newsTest.html?contentType=44&id=59550 I can regexp and forward /content/news.jsp?contentType=html&id=59550 Jacob Hookom Comprehensive Computer Science Uni

Re: AW: Apache + mod_jk + Tomcat + Internet

2002-08-01 Thread Robert L Sowders
Install cygwin on your windows machine and then the openssh server for it. [EMAIL PROTECTED] 08/01/2002 10:40 AM Please respond to "Tomcat Users List" To: [EMAIL PROTECTED] cc: Subject:Re: AW: Apache + mod_jk + Tomcat + Internet Firstly I am aware that

RE: Apache-tomcat integration

2002-08-01 Thread Thomas Cherry
I don't get it. The comments is the file say that 8109 is the default. What I want to use is AJP. This is in my server.xml: Does this mean that I don't have tomcat configured to use AJP. What you pointing out is in the stand alone code. Do I even

Re: howto avoid overuse of session object?

2002-08-01 Thread Nikola Milutinovic
> Thanks, Cédric and Peter Lin, for your responses. Both of you seem to be > saying that, instead of storing large objects in the session object, I should > be storing them in the application object (ServletContext). ServletContext is not application context (yes, there is an application con

DB2 and servlet ??? Help !!!

2002-08-01 Thread Nishant_Awasthi
Hello everyone... I am trying to connect the run a simple servlet to retrieve the query results from DB2 database. 1. Before writing a servlet, I wrote a simple java file and was successful in retrieving the contents from DB2 UDB. 2. Then I just converted the same JAVA file into servlet by addi

DB2 and servlet (Correct servlet file) ??? Help !!!

2002-08-01 Thread Nishant_Awasthi
Hello everyone... Sorry In my prevous file I attach wrong file in the body... I am trying to connect the run a simple servlet to retrieve the query results from DB2 database. 1. Before writing a servlet, I wrote a simple java file and was successful in retrieving the contents from DB2 UDB. 2.

RE: Tomcat 4 & Suse 8

2002-08-01 Thread Jay Gardner
I am running TC4.0.4 on SuSE 8.0 without problems. --JG -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 5:25 PM To: Tomcat Users List Subject: RE: Tomcat 4 & Suse 8 Steve, I know it's possible. I mainly run Tomcat on W2K right now but ha

AW: howto avoid overuse of session object?

2002-08-01 Thread Ralph Einfeldt
Just to throw in anothe opion :) I agree with you. As I understand you want to exchange object between two requests of the same session. If you have information that has a scope that is below a session, I don't see any reason to store it with a scope that is above the session (application or c

<    1   2