RE: Custom Tags

2001-03-13 Thread Casey Lucas


You need to include servlet.jar in your classpath.
It sould be somewhere under the TOMCAT_HOME/lib
directory (depending on what version of tomcat you have.)

hth.

-Casey

 -Original Message-
 From: Jack Li [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, March 13, 2001 10:05 AM
 To: [EMAIL PROTECTED]
 Subject: Custom Tags
 
 
 Hi all,
 
 I am trying to create a custom tag. I got the compile error as following:
 
 Package javax.servlet.jsp not found in import
 Package javax.servlet.jsp.tagext not found in import
 
 Where can I have the jsp packages?
 
 Thanks,
 Jack Li
 [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Optimizing Tomcat

2001-03-10 Thread Casey Lucas



I don't know of such a doc, but you should at least make sure that you
are using apache to serve up static documents especially if your pages
have a lot of static content.

Also, we've had pretty good luck with the ibm jvm on linux.

-casey

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, March 10, 2001 11:14 PM
 To: [EMAIL PROTECTED]
 Subject: Optimizing Tomcat


 Is there anything like a "Ten Things you can do to Optimize Tomcat"
 document?

 I've just dropped a web app onto a dual Pentium Pro box and it's running
 unacceptably slow.

 I just want to see a list of steps I might take to get the most out of
 the box.

 Pointers anyone?

 Thanks!

 --
 Richard Seymour : Anarchy Software, Inc.
 - * - - * - - - * -+- * - - - * - - * -
   `, ,'
  `,,

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Profile tool for Apache/Tomcat

2001-02-27 Thread Casey Lucas



Try OptimizeIt (www.optimizeit.com).  It has tomcat integration and they have
an eval you can download. I tried the download and like it so much that
we're probably going to buy it.


-Casey

-Original Message-
From: George Shafik [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 1:30 PM
To: [EMAIL PROTECTED]
Subject: Profile tool for Apache/Tomcat


Hi,

We are looking for a profiling tool for Apache/Tomcat and if that is not possible a 
class library that implements a framework that
we can incorporate into our development environment that will aid us in locating 
possible bottle neck in our code and thus target
these areas for JNI.

Greatly appreciative of any help as this is an issue that has been raised on this 
"list" on several occasions with no real input.

Regards,
George


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: RequestDispatcher.forward() in Tomcat 3.2.1

2001-02-15 Thread Casey Lucas


I believe this is the normal behavior.  Your servlet should
regain control after the forward.  At least I know it works
when forwarding to JSPs.

-Casey

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 15, 2001 3:15 PM
To: [EMAIL PROTECTED]
Subject: RequestDispatcher.forward() in Tomcat 3.2.1


Is there any way in Tomcat 3.2.1 for the control to return to a servlet
after its
call to RequestDispatcher.forward() is completed?  That is the behavior
of
WebLogic 5.1.0.  I want my code to work on the same way running under
both.   I am aware of the RequestDispatcher.include() method.


Bill


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




custom tags as attributes of other custom tags.

2001-02-09 Thread Casey Lucas


I recently was trying to use a tag as an attribute of another tag.
For example:

   x:tag1 someAttribute="x:tag2/" /

After realizing that tomcat would not support this type of use,
I (briefly) looked through the spec.  I didn't find anything related to
such use, so my question is this:

Does anyone know if using tags as attributes of other tags is
not allowed by the spec, or just not implemented in tomcat?

tia.

-Casey

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]