Re: Problem with default servlet

2003-03-14 Thread rf
--- Bill Barker [EMAIL PROTECTED] wrote: rf [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello I am using a caching Filter that *conditionally* uses the default servlet (through RequestDispatcher) to serve a page, or generate it again. In the case when the default

Re: Problem with default servlet

2003-03-14 Thread rf
Anyone has any further comments on this? --- rf [EMAIL PROTECTED] wrote: --- Bill Barker [EMAIL PROTECTED] wrote: rf [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello I am using a caching Filter that *conditionally* uses the default servlet (through

Problem with default servlet

2003-03-13 Thread rf
? 3. Sending these headers is good, but I thought IE would send the request, nevertheless, with the If-none-matched and If-Modified-Since. Is this something wrong with IE? Thanks ~rf __ Do you Yahoo!? Yahoo! Web Hosting - establish your business online

About maxProcessors

2003-03-12 Thread rf
--- Simon Kitching [EMAIL PROTECTED] wrote: And setting maxProcessors to 2 means that if *three* people hit a url at your website concurrently, one will have to wait until one of the earlier users has finished receiving their page [or pages for http/1.1 persistent connections]. I

Hostname/port from ServletContext

2003-03-05 Thread rf
In my Web app startup contextListener I want to initialize certain variables using the hostname and port of the server. I dont see a way to obtain these two values from ServletContext, can somebody help me? Thanks rf __ Do you Yahoo!? Yahoo! Tax

Re: Hostname/port from ServletContext

2003-03-05 Thread rf
need the hostname port to construct the server URL at beginnning of my web application, and make it available to the sample clients to use. How is this kind of a problem typically approached? Thanks rf __ Do you Yahoo!? Yahoo! Tax Center - forms

RE: Hostname/port from ServletContext

2003-03-05 Thread rf
PROTECTED] wrote: Howdy, Put the information in a configuration file your clients read when they start up. Yoav Shapira Millennium ChemInformatics -Original Message- From: rf [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 12:06 PM To: Tomcat Users List Subject

Re: Apache restart

2003-03-04 Thread rf
(starting with version #s). Apache Web server - 1.3.22 Tomcat - 4.0.6 mod_jk - mod_jk-1.3-eapi.so any clues? Thanks rf __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com

Apache restart

2003-03-03 Thread rf
I have configured tomcat behind apache web server using mod_jk. Why is it that every time I restart tomcat I have to restart Apache too? Thanks rf __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com

Microsoft JVM

2003-02-21 Thread rf
Has anybody tried to run tomcat using the Microsoft JVM - jview? If yes, what do you set for JAVA_HOME? Thank you ~rf __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com

Re: Microsoft JVM

2003-02-21 Thread rf
--- Bill Barker [EMAIL PROTECTED] wrote: From memory, I think that Microsoft's JVM is 1.1.6. This will mean that you only have a hope of running Tomcat 3.3. All other Tomcat versions require at least 1.2. I quickly verified if jview supports any jdk1.2 api. The javadoc of

RequestDispatcher and WEB-INF

2003-02-20 Thread rf
this is different from what Craig mentioned at http://marc.theaimsgroup.com/?l=tomcat-userm=99790295202902w=2 Thank you Rf __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com

RE: RequestDispatcher and WEB-INF

2003-02-20 Thread rf
? Thanks ~rf --- Edson Alves Pereira [EMAIL PROTECTED] wrote: You need the CGI module to do this, that´s not a hard work but only with Apache, Tomcat don´t deal with CGI. -- De: Erik Price[SMTP:[EMAIL PROTECTED]] Responder: Tomcat Users List Enviada:quinta

RE: Web-application obfuscation issues

2003-02-18 Thread rf
Thanks to all who replied. I understand your suggestions. However, I would still like to get a technical answer to my query. rf --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, In practice, java code obfuscation is hardly ever worth the effort. Anyone with enough interest will be able

Web-application obfuscation issues

2003-02-17 Thread rf
What are the issues in obfuscating the java classes of my web-application? I should retain the names of the classes refered in the web.xml, is that all or anything else? thank you rf __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's

Re: response.sendRedirect() - is this allowed?

2003-02-06 Thread rf
in the query string straight away. What is a better way of passing data(possibly huge) to a redirected url? RequestDispatcher would do but I dont see the redirected url at the browser if I use it. ~rf __ Do you Yahoo!? Yahoo! Mail Plus - Powerful

Re: tomcat's serlvet container and http

2003-02-04 Thread rf
Hello No answer to any of the questions below? Rf Subject: tomcat's serlvet container and http From: rf rufoo2001 () yahoo ! com Date: 2003-02-03 1:59:58 Hello I have some questions related to how tomcat's servlet container handles some HTTP/1.1 issues. Understanding these, I think

RE: mod_jk

2003-02-03 Thread rf
Hello John Thanks for your email. 1. What are the advantages of using Apache on top of Tomcat (with regards to security and otherwise)? If there is a document already, please point me to that. 2. Where can I know more about the AJP protocol? ~rf --- Turner, John [EMAIL PROTECTED] wrote

tomcat's serlvet container and http

2003-02-02 Thread rf
intelligently uses the default servlet to serve cached static content. But since the former method is simple and more effective, I would like to know when IE uses this header. Since this header is optional, how do I recommend IE to use it? Thank you, ~rf

RE: mod_jk

2003-02-02 Thread rf
When I use a tomcat-apache connector to redirect http requests to port 80 to port 8080, can I still use port 8080 to connect to tomcat directly bypassing apache? If yes, how do I not allow this? By running tomcat on lo's 8080? What about on Windows? Thank you Rf

Re: mod_jk

2003-02-02 Thread rf
Thank you Lajos and Oscar. Btw, what is the interface Apache uses to communicate to Tomcat at 8009? I guess it wont be HTTP. For security reasons, I assume it would be safer to run all tomcat processes on the lo interface. Is this correct, and recommended? ~rf. --- Lajos [EMAIL PROTECTED] wrote

Re: Do something after the webapp starts

2003-02-01 Thread rf
into two webapps to be put separately in contexts of two Service elements? I dont know much about Service - I have look at the docs briefly. You might want to download JWSDP and see how the default server.xml file there is set up. thanks. Craig Rf

RE: Do something after the webapp starts

2003-01-31 Thread rf
the admin client block - may be this is a race condition! Any advice? Rf __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com

Filter: Reading the http response content

2003-01-30 Thread rf
. The HttpServletResponse has methods to get/set the HTTP headers and cookies, but does not have anything for the HTTP's body. It is also not possible to read from response.getOutputStream. What do you guys think? Thank you ~rf __ Do you Yahoo

RE: Filter: Reading the http response content

2003-01-30 Thread rf
Thanks guys, Google actually gave me the fish itself :-) http://forum.java.sun.com/thread.jsp?thread=338226forum=33message=1387958 The whole code is there at the end, and it works! __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up

Serlvet init-param

2003-01-30 Thread rf
are different. This setup actually works with me, but I dont know why it works. How many instances of my.Servlet are there in this case? is it two? or only one? Thank you, ~rf __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http

Do something after the webapp starts

2003-01-30 Thread rf
I want to do some[1] processing after my web application finishes starting completely, but before any servlet requests arrive. Are there any listeners for this situation? Q1. Does tomcat serve any requests before ServletContextListener.contextInitialized finishes execution? Q2.Is it correct to

Re: what is catalina?..

2003-01-30 Thread rf
--- Bill Barker [EMAIL PROTECTED] wrote: Catalina is also the name of a small island off the coast of southern California. I, personally, have no idea why this was chosen as a package name (I haven't been hanging out here that long). Especially since the principal author doesn't live in

memory problem

2003-01-16 Thread rf
I get OutofMemory with tomcat 4.0.6 and sun's jdk1.3. From the archives I found this is due to a bug in the sun's jdk 1.3 JVM, and people suggest to upgrade to 1.4 Does IBM's jdk1.3 too gives the same problem or is it only the Sun's? Thanks, Rf

HTTP Help

2003-01-16 Thread rf
button 'Continue'. It gets a response, it is not a 302 kind of response. Then it requests the same URL again, this time with the Continue button. Whats the matter here - I am not able to understand. Can somebody tell me? THANKS Rf __ Do you Yahoo

datewise catalina.out

2003-01-06 Thread rf
While other log files are on a daily basis, catalina.out is not. Is there any configuration option, I use 4.0.6? Thanks, rf __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e

get local port

2002-12-17 Thread rf
InetAddress.getLocalHost().getHostAddress()gives the hostname, how to get the port number too? The port is 8080 in case of tomcat, but a different one with other app servers. What is the way to get this number at runtime? Thanks rf __ Do you Yahoo