Re: Including jsp files that exist outside of the web application

2004-12-27 Thread Liem Do
Could you do something like the following? You'll be essentially doing something like curl to get the output from the other app and simply writing it out in your app. This has been tested but should help you get the idea. I did something similar to send a POST request to an external site and then

Re: Servlet won't run init()

2004-02-18 Thread Liem Do
Put the load-on-startup tags after the init-param tags. - Original Message - From: Phil Campaigne [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 4:30 PM Subject: Servlet won't run init() Hello, I want a servlet to run its init() method when I start

Re: help? JNDI Datasource HOW-TO

2004-02-03 Thread Liem Do
I am having the same problem since last 3 days and no final solution yet I hv posted the msg 2 time to this gr but all in vain Pls share it with me if u hv any solution.. /DBTest/WEB-INF/foo/DBTest.class Not sure if this is the problem but your class file should be under:

Re: InitParameters Question

2004-01-14 Thread Liem Do
It appears that the init params of the servlet and its context are different. Can someone clear up this misunderstanding for me? Yes you are right. There's also a getInitParameter() method in the javax.servlet.ServletContext class. I thought it, too, gave access to the init-param values.

Re: mod_jk2/2.0.2 failure in Tomcat 5.0.16 / Apache 2.0.48

2003-12-23 Thread Liem Do
Try adding a worker definition to the workers2.properties like below. Your jsp-examples uri mapping specifies a worker but there's none defined in the file. # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 Hope that helps. LD - Original Message - From:

Re: mod_jk2/2.0.2 failure in Tomcat 5.0.16 / Apache 2.0.48

2003-12-23 Thread Liem Do
PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 1:42 PM Subject: Re: mod_jk2/2.0.2 failure in Tomcat 5.0.16 / Apache 2.0.48 At 01:13 PM 12/23/2003 -0800, Liem Do wrote: Try adding a worker definition to the workers2.properties like below. Your jsp-examples uri

Re: 2 Hosts: 2nd one tries to load the first's XML files

2003-12-04 Thread Liem Do
If each virtual host has their own set of applications then you should set the appBase for each host to different directories. So in your case the Host defs should look like the following: Host name=raible.net debug=0 appBase=webapps unpackWARs=true ... /Host Host name=raible.net debug=0

Re: Intermittent failures using DataSources

2003-12-01 Thread Liem Do
I just had another thought about this, where do you have the jdbc driver jars? You may also need a copy of the driver jars in the common/lib directory in order for the container to see it at start up time. The stack trace indicates that it not able to find the jdbc driver class. HTH Liem -

Re: Intermittent failures using DataSources

2003-11-26 Thread Liem Do
Chris, I'm not sure if it makes a difference but try putting the ResourceLinks before the Realm definition in server.xml. HTH Liem - Original Message - From: Chris Ward [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 12:23 PM Subject: Intermittent failures

Applet doesn't work when served by tomcat

2003-10-03 Thread Liem Do
Hello, I have a jsp page with a SpellChecker applet defined using the applet tags. For some reason this doesn't seem to work when the app is deployed in tomcat but the same app works when deployed from IPlanet webserver. It seems that the browser isn't able to download the applet code when it's

Re: Where to find jakarte-tomcat-jasper src tarball???

2003-08-14 Thread Liem Do
If you have a cvs client (which is free) then you can get the source directly from the cvs source tree. This should tell you how: http://www.apache.org/foundation/cvs.html - Original Message - From: David Kramer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 13, 2003

Re: jspc ant task and merge web.xml

2003-07-03 Thread Liem Do
You could also use the style task to do this. == START EXAMPLE == == build.xml == xmlcatalog id=commondtds dtd publicId=-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN location=${src}/conf/web-app_2_3.dtd/ /xmlcatalog target name=jspc .. your jspc

Re: A question of configuration

2003-06-12 Thread Liem Do
Hi, You could have a myapp.xml file that defines the context for your application and include the necessary resource definitions in it. Then you can take out your application's context element from server.xml and tomcat will create the context from this file. This file is placed in the webapps