Re: retrieving remote web content

2002-11-10 Thread Bill Barker
There is also the Jakarta HttpClient: http://jakarta.apache.org/commons/httpclient/. Reynir Hübner [EMAIL PROTECTED] wrote in message news:88500E0F870AA542B6340D8BC05A9E1B0AD087;rup.hugsmidjan.is... Hi, I haven't made a servlet to do this, but I made a jsp-tag that can do this. If you don't

Current performance comparisons of PHP vs. JSP anywhere?

2002-11-10 Thread Steinar Bang
I typed the three words php jsp performace to www.google.com, and I got the following relevant matches: URL:http://www.linuxdocs.org/HOWTOs/PHP-HOWTO-13.html URL:http://www.zend.com/zend/art/php-over-java.php Both articles are referring to an eWeek test that showed JSP to be 3,5

Re: When is PageContext available?

2002-11-10 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message news:20021108095512.R18746-10;icarus.apache.org... On Fri, 8 Nov 2002, Claes Holmerson wrote: Date: Fri, 08 Nov 2002 16:49:44 +0100 From: Claes Holmerson [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To:

4.1.12 won't start on Windows Me

2002-11-10 Thread todd thorner
Hi, I get the following error output when I try to start Tomcat: ERROR reading C:\Utilities\Java\Tomcat 4.1\conf\server.xml At Line 3 /Server/Listener/ className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0 Catalina.start: java.lang.ClassNotFoundException:

Realm JDNI Authentication + Exchange Server 5.5. + NT Domain + LDAP

2002-11-10 Thread Schuster, Winfried (empolis WU)
Hi! Anybody succeeded in using the Tomcat REALM JDNI for authentication accessing the Exchange Server 5.5 - Ldap Interface for authenticate NT-User accounts? Especially how do you manage the roles handling? When I try to get the role by using a attribute from the user entry - the bind function

Tomcat 4.1.12 without the scripts

2002-11-10 Thread Adrian Threlfall
Can some one tell me how to start Tomcat 4.1.12 without the startup.bat script. I would like to the start it from the command line eg. java options classname -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

Re: Current performance comparisons of PHP vs. JSP anywhere?

2002-11-10 Thread Jacob Hookom
The only thing I remember off hand was that for multi-user web servers that have major loads, the memory growth wasn't linear with JSP as opposed to PHP. I can't remember the article link, but I do remember that it came to the conclusion that larger sites with dynamic content should use Java.

Migrating applications

2002-11-10 Thread Jenkins, David
We wish to move a Tomcat application through development/test/pre-prod etc. We'd like to use the same Tomcat instance, and have the application configuration different for each environment. Is there a best practice for this type of problem? Dave -- To unsubscribe, e-mail:

Java returns bunk date!?

2002-11-10 Thread Josh G
I'm having a weird problem with tomcat, java is giving me last month's date! It's 11 nov on this machine, but java is returning 11 oct :( I don't see how this could happen? -Josh -- And can you tell me doctor why I still can't get to sleep? And why the channel 7 chopper chills me to my feet? And

RE: Java returns bunk date!?

2002-11-10 Thread Chakradhar Tallam
because java's month index starts from 0 ends at 11. 0 - JAN 1 - FEB ... 11 - DEC -Original Message- From: Josh G [mailto:josh;gfunk007.com] Sent: Monday, 11 November 2002 10:41 AM To: Tomcat Users List Subject: Java returns bunk date!? I'm having a weird problem with tomcat, java is

Re: Java returns bunk date!?

2002-11-10 Thread Kwok Peng Tuck
Months are counted from zero in Gregorian Calendar. So the value being returned *is* correct as far as it is concerned. Josh G wrote: I'm having a weird problem with tomcat, java is giving me last month's date! It's 11 nov on this machine, but java is returning 11 oct :( I don't see how this

escaping single quote (') in the post form

2002-11-10 Thread Colin Zhao
I have a FORM that I want the user to compose an sql select statement such as select * from user_constraints where constraint_type in ('R', 'P') order by constraint_name and the action points to a jsp page contained in TomCat 4.1.12. The page has no java code but jstl tags to handle the

Re: Java returns bunk date!?

2002-11-10 Thread Josh G
Ah thanks. Is this covered in the docs and I just missed it? -Josh -- And can you tell me doctor why I still can't get to sleep? And why the channel 7 chopper chills me to my feet? And what's this rash that comes and goes, can you tell me what it means? God help me, I was only 19 - Original

Help with simple mod_jk conf

2002-11-10 Thread Jdev
Hello to all. I need urgent help configuring Tomcat 4.1.x with apache 1.3 using mod_jk. I read all the doc and I have very simple config. Attached there are my mod_jk.conf included in the http.conf and my workers.properties. The problem is Internal Server Error when I try to get a jsp page

RE: Tomcat 4.1.12 without the scripts

2002-11-10 Thread Turner, John
Well, you could simply open catalina.bat or catalina.sh and use the same command the batch file is usinghint hint. John -Original Message- From: Adrian Threlfall To: [EMAIL PROTECTED] Sent: 11/10/02 4:18 PM Subject: Tomcat 4.1.12 without the scripts Can some one tell me how to

RE: Help with simple mod_jk conf

2002-11-10 Thread Turner, John
The simplest mod_jk configuration is to just stick Listener elements into server.xml that call the ApacheConfig class. Your mod_jk.conf is created automatically then, with appropriate entries. The only file you have to worry about at that point is workers.properties. John -Original

RE: Help with simple mod_jk conf

2002-11-10 Thread Turner, John
Judging from the logfile, your machine cannot resolve the name localhost. Make sure there is an entry in your hosts file for localhost pointing to 127.0.0.1. To answer your question, yes, an AddModule line typically says something like module-name.c. Modules are written in C...your .so file

Re: escaping single quote (') in the post form

2002-11-10 Thread Colin Zhao
Well. I figured out myself with the help of Hans Bergsten's book: JavaServer Pages, 2nd Ed. It turns out that the escaping is done not by http, as I thought early, but by the c:out tag for reasons explained in the book (p. 100). I turned it off by c:out value=${param.select} escapeXml=false/

RE: Tomcat 4.1 and apache 1.3 how-to

2002-11-10 Thread Beatty, Z
So basically, I am never going to find a binary mod_jk.so for Solaris 7 on Sparc? I am just trying to confirm, before I give up trying to connect Apache and Tomcat. I always have the standalone Tomcat to fall back on, but it is awfully slow. Thanks. --- Turner, John [EMAIL PROTECTED] wrote:

RE: Tomcat 4.1 and apache 1.3 how-to

2002-11-10 Thread Mark Eggers
Z, I don't know if this is too late for you, but I would look at compiling the mess. You can get the compiler and tools for building generic C/C++/Objective C code from: http://www.sunfreeware.com/ They come as sun packages, so they should be easy to install. Once installed, you can get the

Did default content-type change between tc 4.0 to 4.1?

2002-11-10 Thread Garrett Smith
Hello, Two part question: 1. Is text/html still the default content-type? 2. If so, then why must I explicitly use response.setContentType(text/html) to avoid seeing html source in the browser? Problem: server sends out text/plain header for jsp documents that are included with a

RE: Tomcat 4.1 and apache 1.3 how-to

2002-11-10 Thread Ricky Leung
just compile your own, it's not that difficult. If you really can't do it yourself, I can send mine to you, which is for Solaris7 on Sparc. -Original Message- From: Beatty, Z [mailto:zackbeatty;yahoo.com] Sent: Sunday, November 10, 2002 11:09 PM To: Tomcat Users List Cc: [EMAIL

servlet mapping

2002-11-10 Thread Shruti Ahuja, Noida
Hi, I have deployed a web appplication whose context name is graduate . It has 2 servlets(named auditor and blobserve) in it placed in the Web-inf/classes directory . I have mapped the 2 servlets in web.xml as follows - servlet servlet-nameauditor/servlet-name

Re: servlet mapping

2002-11-10 Thread Kwok Peng Tuck
Try without the forward slash . So it looks like this: FORM METHOD=GET ACTION=auditor Shruti Ahuja, Noida wrote: Hi, I have deployed a web appplication whose context name is graduate . It has 2 servlets(named auditor and blobserve) in it placed in the Web-inf/classes directory . I have

RE: servlet mapping

2002-11-10 Thread Shruti Ahuja, Noida
Thanks. It worked ... There is another problem i am facing in invoking a servlet named blobserve as follows - IMG src=blobserve?SQL=select+blob+from+apply_images+where+image_name='formimage '/IMG This servlet is supposed to accept a SQL query as parameter, execute it and return the result .I

Open source recommendation engine for Tomcat ?

2002-11-10 Thread Kristian A. Leth
Does anyone know if there is an Open Source recommendation engine for Tomcat/Apache ? It doesn't matter wether it's based on clickstreams or wether it's java/rdbm based! regards Kleth -- Kristian A. Leth.

Re: Open source recommendation engine for Tomcat ?

2002-11-10 Thread Kwok Peng Tuck
What's a recommendation engine? Kristian A. Leth wrote: Does anyone know if there is an Open Source recommendation engine for Tomcat/Apache ? It doesn't matter wether it's based on clickstreams or wether it's java/rdbm based! regards Kleth

Re: Java returns bunk date!?

2002-11-10 Thread Andreas Probst
Hi Josh, yes it is, but in my opinion it's a bit hidden. As starting January with 0 isn't what one would expect, it should be stressed more in the docs. in java.util.Calendar: public static final int MONTH Field number for get and set indicating the month. This is a calendar-specific