Re: JNDI Datasource question

2002-12-02 Thread Ron Smits
Jake, thanks, this is a great answer and answers my question exactly. :) Especially the META-INF/context.xml. was somthing that I must have overlooked Ron On Mon, 2002-12-02 at 11:09, Jacob Kjome wrote: Hi Ron, That is referring to a context configuration file. You *always* need to

JNDI Datasource question

2002-12-01 Thread Ron Smits
Evening A question to grow my knowledge:) On tomcat 4.1.12-LE-jdk14 deployment with java jsdk 1.4.1_01-b01 I have installed the two missing jar files from commons (dbcp and pool) and made the example from the documentation (/DBTest) work. Great work, well written and very clear. So my question.

Re: package declaration / import - new improved!

2002-11-28 Thread Ron Smits
Your bean needs a constructor without arguments like: public class Abean { public Abean () { // does nothing } } this way the bean can be instanciated. Ron On Thu, 2002-11-28 at 10:37, [EMAIL PROTECTED] wrote: Hi, Similar to a recent posting, after some research into the

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Ron Smits
If I understand everything correctly :) the invoker servlet is by default disabled. I had to add the following to my web.xml to be able to access servlets that are not defined in the web.xml: servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern

RE: help with multilingual JSP sites pls. using a Filter to rewrite the URL ?

2002-11-25 Thread Ron Smits
The browser can tell you the language that the system is setup for: Accept-Language: en-us, en;q=0.50 This is from my Mozilla setup All modern browsers will return an Accept Language string Another question related to this, Are you telling me that all your jsp pages have the actual content

Re: tomcat sessions and webapp deployment

2002-11-25 Thread Ron Smits
Morning Nope, Tomcat 4.1.x will hang onto the sessions. And the even worse news is that Tomcat 3.3.2-dev will now hang onto the sessions across a context-reload :). This is not the behaviour I see.Sessions are invalidated after an ant reload on tomcat 4.1.12-LE on a semislackware install

Re: Apache-Tomcat Conf

2002-11-23 Thread Ron Smits
To get tomcat to generate the mod_jk.conf file I had to do the following: just after the Server line in server.xml add: Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/opt/apache2/lib/mod_jk.so

apache and tomcat and a webapp

2002-11-23 Thread Ron Smits
://localhost/). How to go about this? Ron Smits [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: apache and tomcat and a webapp

2002-11-23 Thread Ron Smits
Let me try and be more specific :) First of all, if I get all to work the current setup with JServ will disappear and I am testing this in a test environment (Vmware) So let me see if I can chop my questions up in different parts The application is being developed using tomcat 4.1.12 running