RE: where to put tag libraries

2001-06-14 Thread Amos Shapira
t the class files in the $TOMCAT_HOME/lib, i just need to alter the web.xml and put the taglibs in the $TOMCAT_HOME/webapps/foobar/WEB-INF? each webapps needs to have the taglib.tld in its WEB-INF directory? peter choe Dmitri Colebatch wrote: > > Amos Shapira wrote: > > The class files

RE: where to put tag libraries

2001-06-14 Thread Amos Shapira
The class files themself are just like any other library - under Tomcat's lib or anywere in the standard JAva classpath. -Original Message- From: Peter Choe [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 3:00 PM To: [EMAIL PROTECTED] Subject: where to put tag libraries where

RE: httprequest fired twice

2001-06-14 Thread Amos Shapira
Title: [JBoss-user] httprequest fired twice I'm not 100% sure, but I read somewere a few weeks ago that the browser might fire two separate HTTP request under some conditions. As far as I remember, this isn't a bug.   Try sniffing the net, maybe?   -Original Message-From: Jee-Meng

RE: Tomcat hangs if I refer to a context that doesn't exist

2001-06-13 Thread Amos Shapira
It's a known problem with 3.2.1, upgrade to 3.2.2. Worked for me so far...   Cheers,   --Amos -Original Message-From: Jeff Trent [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 13, 2001 7:40 AMTo: [EMAIL PROTECTED]Subject: Tomcat hangs if I refer to a context that doesn't e

RE: jsps and servlets in same context?

2001-06-11 Thread Amos Shapira
r tells me that he could not find the page -Ursprüngliche Nachricht- Von: Amos Shapira [mailto:[EMAIL PROTECTED]] Bereitgestellt: Montag, 11. Juni 2001 12:14 Bereitgestellt in: tomcat-user Unterhaltung: jsps and servlets in same context? Betreff: RE: jsps and servlets in same context?

RE: jsps and servlets in same context?

2001-06-11 Thread Amos Shapira
You should map url's to your servlets. See the and tags in web.xml, e.g.: login com.yourcompany.LoginServlet login /login The .class file have to be under WEB-INF/classes or in a JAR under WEB-INF/lib -Original M

RE: /lib & /WEB-INF/lib

2001-06-10 Thread Amos Shapira
Hi, There is also the matter of whether you want the code (and data) to be shared among the web apps or not. For instance, we have a base servlet class which holds some static variables which are ment to be used as "application-wide" variables (e.g. logging configuration), and two web applicatio

RE: Moving from Tomcat 3.1 to Tomcat 3.2.1

2001-06-10 Thread Amos Shapira
Hi, >From our little experience, move to Tomcat 3.2.2, which fixes some bugs in 3.2.1. We don't run a production system with it, but so far we haven't found any problems with it (we use it for development) -Original Message- From: Moin Anjum H. [mailto:[EMAIL PROTECTED]] Sent: Monday, J

setting content type from servlet

2001-06-07 Thread Amos Shapira
Hello, Out environment: 1. Tomcat 3.2.2 2. Sun JDK 1.2.2_5 3. Windows 2000 We accept requests in Servlets which set the content type then forward the request to the JSP. It seems that the JSP overrides the content type as part of its initialization. We would like to avoid adding a <%@ page con

Dynamic Tomcat configuration?

2001-04-24 Thread Amos Shapira
cally provide port numbers in each run (since we might have multiple projects running) 2. When testting on UNIX (Solaris 2.6), multiple users may easely clash on fixed port numbers. Thanks, --Amos Shapira WebCollage

RE: I don't want cached pages

2001-01-21 Thread Amos Shapira
t;, "Pragma" and "Cache-control" (with the appropiate values) in the header to avoid caching. This is not working, and that's because (and I'm convinced of this) it's not a browser/proxy problem. It is Tomcat that keeps the last version cached, and I'm sure of