Re: Running a thread from a JSP

2000-12-25 Thread William Brogden
"David M. Holmes" wrote: > > Is there a way to spawn a thread from a JSP that will live after the page goes out >of scope? There is nothing magic about a JSP servlet - you can certainly create objects and start Threads that will continue after the response has been sent. -- WBB - [EMAIL

Re: IIS Tomcat Configuration Clarification

2000-12-25 Thread David M. Holmes
In the MMC right-click on your website, choose properties, ISAPI Filters... --- tan hai shi <[EMAIL PROTECTED]> wrote: > Hi, > > I'm half way configure Tomcat integration with IIS following Gal Shachor step-by-step > instruction. > I'm not able to understand where can i add filter in IIS for > i

IIS Tomcat Configuration Clarification

2000-12-25 Thread tan hai shi
Hi, I'm half way configure Tomcat integration with IIS following Gal Shachor step-by-step instruction. I'm not able to understand where can i add filter in IIS for isapi_redirect.dll. I need further clarification on the above mentioned. I'm currently using IIS4 with NT SP4. Thanks in advanced.

Re: mod_jk and apache 1.3.12

2000-12-25 Thread Boon Yeo
To avoid confusion, that URL should read: http://rpmized.free.fr - Original Message - From: Boon Yeo <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 26, 2000 12:06 PM Subject: Re: mod_jk and apache 1.3.12 > Anyway, did everything that was discussed, but to no >

Re: mod_jk and apache 1.3.12

2000-12-25 Thread Boon Yeo
Dave, Thanks for the tip. I have searched through the archive and read every single one of the thread pertaining to mod_jk.so. There was even a WAS_BORN_BY_APACHE environment variable not mentioned anywhere in the documentation. Anyway, did everything that was discussed, but to no avail. So,

RE: compiling mod_jserv.so fails due to apxs:Break: Command failed with rc=16777215

2000-12-25 Thread Wayne F Davis
Yes, I downloaded jakarta 3.2.1 and tried to compile the jserv module as specified below. Does anyone else have any suggestions? Thanks, Wayne > hi, > > Have you downloaded the tomcat source distribution?? If not jsut dowanload > it and untar it and follow these instructions > > 1) Change to

Running a thread from a JSP

2000-12-25 Thread David M. Holmes
Is there a way to spawn a thread from a JSP that will live after the page goes out of scope? __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/

Re: mod_jk and apache 1.3.12

2000-12-25 Thread Pete Ehli
I use NT4.0, Apache 1.3.14 and Tomcat 3.2.1 and I downloaded the plugin mod_jk.dll and followed the directions in the Tomcat docs directory - mod_jk -howto and the page about workers.properties file. Also I changed my server.xml file to recognize ajp13. I am new to server configuration, but I am f

Re: JSP output redirection to a file.

2000-12-25 Thread Dave Smith
Carvalho, This is explained in detail in Sun's Java Tutorial, the section on networking. You might want to read up about it. The following is the basic idea: ... URL url = new URL(http://www.yahoo.com/); public String get() throws IOException { URLConnection urlCon = url.openConnect

Re: mod_jk and apache 1.3.12

2000-12-25 Thread Dave Smith
Boon, Yes, your mod_jk.so did not fully/properly compile. If you search the archives of this list for the last few months you will find many threads on it. One problem is that the makefile provided with tomcat 3.2 is faulty and must be fixed up before it will work. Dave - Original Message -

Re: Tomcat and PostgreSQL

2000-12-25 Thread anil
Hi Hiroshi, You can copy postgresql.jar to your $tomcat/lib folder. anil "NSB)$B3^>>(B" wrote: > > It seems that Tomcat cannot find jdbc Driver,or postgresql.jar.When > "http://127.0.0.1:8080/jdbc_servlet/servlet/postgresql_servlet" is > accessed, > an error message is shown of > "java.lang.

web.xml and forward

2000-12-25 Thread Landaluze Produktions IS - Carlos
with the bellow code i pass all jsdp pages to a servlet and this servlet makes a forward and show the page, in the first i wnat page. but with this example where the servlet forward to the jsp page this go another time to the servlet.. in a bucle until tomcat shutdown. there is any way to all

forward

2000-12-25 Thread Landaluze Produktions IS - Carlos
with the bellow code i pass all jsdp pages to a servlet and this servlet makes a forward and show the page, in the first i wnat page. but with this example where the servlet forward to the jsp page this go another time to the servlet.. in a bucle until tomcat shutdown. there is any way to all

forward

2000-12-25 Thread Landaluze Produktions IS - Carlos
with the bellow code i pass all jsdp pages to a servlet and this servlet makes a forward and show the page, in the first i wnat page. but with this example where the servlet forward to the jsp page this go another time to the servlet.. in a bucle until tomcat shutdown. there is any way to all

forward

2000-12-25 Thread Landaluze Produktions IS - Carlos
with the bellow code i pass all jsdp pages to a servlet and this servlet makes a forward and show the page, in the first i wnat page. but with this example where the servlet forward to the jsp page this go another time to the servlet.. in a bucle until tomcat shutdown. there is any way to all

forward

2000-12-25 Thread Landaluze Produktions IS - Carlos
with the bellow code i pass all jsdp pages to a servlet and this servlet makes a forward and show the page, in the first i wnat page. but with this example where the servlet forward to the jsp page this go another time to the servlet.. in a bucle until tomcat shutdown. there is any way to all

need help(chat server)

2000-12-25 Thread Amit Madan
hellow Friends i have a problem in chat server project i have a two classes frist chatEntry.java and second chatRoom.java i have use a method in ChatRoom.java class public void addChatEntry(ChatEntry entry) { push(entry); } when i compile it after compiling of ChatEntry.java i got error

JSP output redirection to a file.

2000-12-25 Thread carvalho joao
Hi, is it possible to redirect the output of a specific JSP or servlet to a file/buffer while the tomcat server is running. Happy Cristmas!! Best Regards Joao Carvalho __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. h

Running programs

2000-12-25 Thread Mohammed Nasr Shalaby
Hi All. Is there a way to call a program to run the server from a .JSP file??? I need this feature so much... Thanx Nasr

Re: [repost] endless loop in jsp

2000-12-25 Thread Julio Serje (@canada.com)
Hi, Bruno, How are you trying to access a page outside a context? I mean, if your context is "/servlets", mapped (both in apache and tomcat) to /zob/servlets, how are you invoking something in /zob? if you include /zob in your URL, it will make no sense for Tomcat. Probably your problem is assoc

Re: how to include querystring in JSP

2000-12-25 Thread Kief Morris
Ted Husted typed the following on 08:34 AM 12/25/2000 -0500 > click > >As a rule, anchor tags should be URL encoded, so you might try > > click A quick nitpick: ">click This will make sure you don't lose the session if the user doesn't eat cookies. Kief --- Kief Morris Director of Techno

RE: how to include querystring in JSP

2000-12-25 Thread Deepak C S
thanx all who replied for my quest...It worked regards deeps > -- > From: Ted Husted[SMTP:[EMAIL PROTECTED]] > Reply To: [EMAIL PROTECTED] > Sent: Monday, December 25, 2000 7:04 PM > To: Tomcat User List > Subject: Re: how to include querystring in JSP > >

Re: how to include querystring in JSP

2000-12-25 Thread Ted Husted
click As a rule, anchor tags should be URL encoded, so you might try click If you need to pass additional parameters later, you should also use HTML character entities where appropriate. click -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services.

Tomcat 4 and its NT service

2000-12-25 Thread Christian Parpart
Hi all I am using Tomcat 4 and have the NT service still from Tomcat/3.2.1. But they doesn't fit together. Is there anyone knowing on how to use Tomcat 4 as an NT service? Regards, Christian Parpart SurakWare [EMAIL PROTECTED] http://www.surakware.com

RE: how to include querystring in JSP

2000-12-25 Thread Boaz Shaham
You cant have a space char in the query string; you need to encode it. If the anchor tag itself is in a jsp page, you can write: "> - Boaz -Original Message- From: Deepak C S [mailto:[EMAIL PROTECTED]] Sent: Monday, December 25, 2000 14:20 To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]'

how to include querystring in JSP

2000-12-25 Thread Deepak C S
Hi, I want to include a querystring within an HTML anchor tag eg: click but tomcat is giving JSP parse error as: 1)test.jsp(0,4) invalid argument I even tried encoding the href as response.encodeURL("/examples/test.jsp?name=hello world") eventhough everythgs written properly t

Alias tag doesn't work (T4)

2000-12-25 Thread Christian Parpart
Hi all the documentation tells, that you're able to declare aliases for host names. ... Now this host should be accessable from http://www.myhost.com and http://myhost.com. but the second doesn't work? Is that a bug or is something wrong? What? btw. I am using Tomcat/4.0-m5 Regar

RE: compiling mod_jserv.so fails due to apxs:Break: Command failed with rc=16777215

2000-12-25 Thread Deepak C S
hi, Have you downloaded the tomcat source distribution?? If not jsut dowanload it and untar it and follow these instructions 1) Change to i.e. jakarta-tomcat/src/native/apache/jserv 2) run the cmd apxs -c -o mod_jserv.so *.c This would build mod_jserv..It worked for me..wish u goodluck

compiling mod_jserv.so fails due to apxs:Break: Command failed withrc=16777215

2000-12-25 Thread Wayne F Davis
I'm trying to compile mod_jserv but I'm having some difficulties. I did some searches and noticed people had some similar problems, but the only solutions I noticed had to do with the order of switches. I'd appreciate any help. Thanks! /usr/local/apache/bin/apxs -o mod_jserv.so -c *.c gcc -DL

RE: Tomcat and PostgreSQL

2000-12-25 Thread Deepak C S
do u have JDBC driver for postgres?if yes put the Jar file in Classpath. The jdbc driver for postgres, which I have is called "jdbc-6.5-1.2.jar" and its under "/usr/lib/pgsql/jdbc-6.5-1.2.jar" and ive included in my classpath CLASSPATH= "/usr/lib/pgsql/jdbc-6.5-1.2.jar" and its working fine. eg

Tomcat and PostgreSQL

2000-12-25 Thread NSB)$B3^>>(B
It seems that Tomcat cannot find jdbc Driver,or postgresql.jar.When "http://127.0.0.1:8080/jdbc_servlet/servlet/postgresql_servlet" is accessed, an error message is shown of "java.lang.ClassNotFoundException;org.postgresql.Driver". What do I need to do in order to let Tomcat know the position of po

RE: mod_jk apache 1.3.14 tomcat 3.2 and JSPs

2000-12-25 Thread Boaz Shaham
I used mod_jserv and lately switched to mod_jk. I use servlets and jsp's. I direct servlets and jsp to tomcat using a url prefix, i.e. the apache does not look for the jsp type, but rather for the url prefix. This works fine with mod_jk as well, using JkMount directive (in mod_jserv it was ApJServ