Tomcat 4.1 with JRE + tools.jar?

2003-03-12 Thread Tim Moore
. Thanks, -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863

RE: Is 4.1.18 ready?

2003-02-14 Thread Tim Moore
I don't believe that 4.1.18 does taglib pooling any differently from 4.1.12. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Etienne [mailto:[EMAIL

RE: Determine Presentation?

2003-02-14 Thread Tim Moore
How about just stopping Tomcat and seeing if you can still get to your static content? -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Dan Egan [mailto

RE: Unanswered questions

2003-02-14 Thread Tim Moore
Check out http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#User%20 Web%20Applications It should be directoryName, not directory_name. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463

RE: JSP files between many webapps

2003-02-14 Thread Tim Moore
Well unfortunately, the servlet spec doesn't really allow for useful interaction between webapps. Each one is considered to be its own independent environment, and you really can't share sessions between them without implementing your own session manager (as far as I know). -- Tim Moore

RE: JSP files between many webapps

2003-02-14 Thread Tim Moore
a growing number) for which the single-unit webapp model doesn't quite cut it, and those of us building systems like that are constantly struggling against the limitations of the servlet spec. :-\ -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036

RE: [Announce] Another Tomcat FAQ

2003-02-14 Thread Tim Moore
Thanks, Tim! I have some ideas for contributions that I have to write up. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED

RE: Problem with using Tomcat and web.xml

2003-02-14 Thread Tim Moore
\beginjsp_ch10\WEB-INF\classes\com\wrox\ch10 for the .java and .class files. In other words, new webapps go directly into $CATALINA_HOME\webapps, *not* into $CATALINA_HOME\webapps\ROOT. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463

RE: JSP files between many webapps

2003-02-14 Thread Tim Moore
admit that our case is a bit unusual, but I think this sort of thing will become increasingly common. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From

RE: JSP files between many webapps

2003-02-14 Thread Tim Moore
That may be true...I'd like to move to EJB or equivalent in particular. But many of our problems are purely at the UI level: the servlet spec really doesn't have any provision for making a container webapp with a UI framework that is shared between multiple independent subapps. -- Tim Moore

RE: Servlet produces HTML .. how do i pass attributes in the session object ?

2003-02-14 Thread Tim Moore
Because hs is null. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Mufaddal [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 2:35 AM

RE: Sharing classes from diferent wbeapps!

2003-02-13 Thread Tim Moore
in $CATALINA_HOME/shared/classes. Four, you'll need to make sure that any classes/jars that your servlet depends on are also in shared/lib or shared/classes, or else you'll get class loading errors. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202

RE: Tomcat Debug.

2003-02-13 Thread Tim Moore
The Java VM doesn't really support that. Why not let them each run their own instance of Tomcat? -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: João

RE: Class library question

2003-02-13 Thread Tim Moore
context directory. Make your context have docBase=/hostroot and path=. I believe each host can have its own root context directory. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863

RE: Question about Context vs web-app

2003-02-13 Thread Tim Moore
declaration is Tomcat-specific. You can't include stuff from web.xml in it. You can see everything that you *can* include in it here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036

RE: [OT] question about killfile

2003-02-13 Thread Tim Moore
selected message to the file. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 4

RE: compiling servlets !

2003-02-12 Thread Tim Moore
http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html# 101084 -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Swapneel Dange [mailto

RE: How can I get the web application name?

2003-02-11 Thread Tim Moore
Or ServletContext.getServletContextName() if you mean the value of the display-name element from web.xml. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From

RE: FAQ (was Re: MY ATTIT...)

2003-02-11 Thread Tim Moore
Well AFAIK nobody's written one. Do I hear a volunteer? ;-) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Sean Dockery [mailto:[EMAIL PROTECTED]] Sent

RE: java/jsp dynamic data

2003-02-11 Thread Tim Moore
the other hosts. Check out http://java.sun.com/products/plugin/1.2/docs/nsobjsigning.html -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Jeff Ousley [mailto:[EMAIL

RE: Status 404 - resource not available

2003-02-10 Thread Tim Moore
Check your web.xml. Servlets and serlet mappings must be declared in web.xml. Check the servlet spec for details. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message

RE: Status 404 - resource not available

2003-02-10 Thread Tim Moore
Yeah. It surprises me that you say that, since I believe web.xml files are required for a context to start up. I'd definitely read the Servlet spec if you haven't already. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860

RE: Tomcat does not access sub-directories.

2003-02-07 Thread Tim Moore
Is the Tomcat process running with the appropriate permissions to read and execute the directory? ;-) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Hans

RE: How to get the web application or Tomcat path inside a class

2003-02-07 Thread Tim Moore
Why don't you have access to the ServletContext? That's really the only portable way to access resources in your webapp. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original

RE: How to get the web application or Tomcat path inside a class

2003-02-07 Thread Tim Moore
What about creating one more singleton object that is constructed with the ServletContext, and then all of the other objects use that one to access the file? It's probably a good idea to encapsulate access to the file anyway. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW

RE: NEWBIE Simple question, (but not for me ?!?)

2003-02-07 Thread Tim Moore
Could there be a problem with your web.xml? Try checking the logs for errors loading the context. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Wileynet

RE: Why won't anyone help me out??

2003-02-06 Thread Tim Moore
One nit...Apache is most definitely not licensed under the GPL, but the Apache Software License, which can be read here: http://httpd.apache.org/docs/LICENSE Notably, it allows you to redistribute modified versions without source code, unlike the GPL. -- Tim Moore / Blackboard Inc. / Software

RE: jsp:include semantics?

2003-02-06 Thread Tim Moore
be /myservlet without the webapp path prepended. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 - To unsubscribe, e-mail: [EMAIL

RE: Does TC 4.1.18 actually reuse tag handler instances?

2003-02-06 Thread Tim Moore
the setter again, but it *may*, and in Tomcat's case, does. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 - To unsubscribe

RE: REPOST Applet - | FIREWALL - Servlet (on Tomcat)

2003-02-06 Thread Tim Moore
What version of Tomcat are you using? Can you post your web.xml? -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: jackie [mailto:[EMAIL PROTECTED]] Sent

RE: how to block

2003-02-06 Thread Tim Moore
includes an implementation of this pattern; check out the generateToken and isTokenValid methods on Action. Additionally, it's not too hard to write JavaScript that will disable a submit button after it is clicked. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor

RE: REPOST Applet - | FIREWALL - Servlet (on Tomcat)

2003-02-06 Thread Tim Moore
spec for more details. Also check out the example webapps that come with Tomcat. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 Thanks so very much for your assistance, it is genuinely

RE: Path index.jsp does not start with a /

2003-02-04 Thread Tim Moore
WebSphere may not be strictly conformant. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Inocencio Richiez [mailto:[EMAIL PROTECTED]] Sent: Tuesday

RE: more about custam tag life cycle

2003-02-04 Thread Tim Moore
guaranteed by the spec that a given tag instance will only be reused for invocations with the same attribute set. Each attribute will either be overwritten or assumed to stay the same, so why do you need to ever clear them? -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor

RE: Throwing jar file through servlet..CODEBASE problem

2003-02-04 Thread Tim Moore
be downloaded by users' web browsers. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 - To unsubscribe, e-mail: [EMAIL

RE: more about custam tag life cycle

2003-02-04 Thread Tim Moore
of the tag that it makes sense to release it in doFinally. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 On Tue, 2003-02-04 at 13:44, Tim Moore wrote: -Original Message- From

RE: WAR format question

2003-02-04 Thread Tim Moore
Hi Erik, EP What about if we have a tag descriptor somewhere below WEB-INF, is EP it EP safe to refer to the path directly from the uri attribute of the %@ taglib % directive? Yeah, you can do that. :-) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th

RE: WAR format question

2003-02-04 Thread Tim Moore
-Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 04, 2003 2:14 PM To: Tomcat Users List Subject: Re: WAR format question Tim Moore wrote: Hi Erik, EP What about if we have a tag descriptor somewhere below WEB-INF, is EP

RE: WAR format question

2003-02-04 Thread Tim Moore
making the location a context-param. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 Thanks, Jim Jacob Kjome wrote: Put stuff that isn't supposed to be accessed via the web under

RE: Why won't anyone help me out??

2003-02-04 Thread Tim Moore
You need to use the fully qualified class name in the useBean tag. I don't mean to be rude, but probably the reason you're not getting much help is because the concept of packages is really basic Java, and this isn't really a list for teaching really basic Java. -- Tim Moore / Blackboard Inc

RE: Custom tag life cycle

2003-02-03 Thread Tim Moore
yourself -- let the container manage them. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 - To unsubscribe, e-mail: [EMAIL

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
This is NOT true, AFAIK. The same tag instance can be used multiple times *sequentially* but not *concurrently*. Check out the lifecycle state diagram in the JSP spec. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
there are no guarantees on the state of the properties, a tag handler that had some optional properties set can only be reused if those properties are set to a new (known) value. This means that tag handlers can only be reused within the same 'AttSet' (set of attributes that have been set). -- Tim Moore

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
the classic tag interface. Hopefully in the future most tags can use that interface instead, and the classic Tag interface can be reserved for the rare tags that benefit from reuse. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860

RE: Custom tag life cycle

2003-02-03 Thread Tim Moore
-Original Message- From: Will Hartung [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 1:38 PM To: Tomcat Users List Subject: Re: Custom tag life cycle From: Tim Moore [EMAIL PROTECTED] Sent: Monday, February 03, 2003 9:30 AM Subject: RE: Custom tag life cycle

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
was that the same instance *could* be reused, as long as setBaz(b) is called between the first doEndTag and the second doStartTag. Am I mistaken? -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
()... Nope. :-) You should reset them to null in release, and not change them at all anywhere else (except for the setters, of course). -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863

RE: more about custam tag life cycle

2003-02-03 Thread Tim Moore
case, the spec guarantees that the attributes will be stable *until* release is called, and that the instance will not be reused for an invocation with a different set of attributes defined. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036

RE: web.xml question

2003-02-03 Thread Tim Moore
-of-the-box install. You should define an explicit servlet-mapping in your web.xml. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 ... -Original Message- From: Pooleery, Manoj [mailto

RE: web.xml question

2003-02-03 Thread Tim Moore
, the mapping to the InvokerServlet is commented out by default. It is generally true that for a URL to be served by a servlet container, it needs to refer either to a resource in the webapp, or a mapping defined for a servlet or filter. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW

RE: placement of 3rd party class files

2003-01-31 Thread Tim Moore
other? ;-) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 --- Filip Hanik [EMAIL PROTECTED] wrote: just put them in the /WEB-INF/lib directory. your webapp has to have a WEB

RE: background servlets

2003-01-31 Thread Tim Moore
in the background of Tomcat that JSPs or servlets can talk to. http://java.sun.com/docs/books/tutorial/essential/threads/ -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863

RE: pass complex object to custom tag

2003-01-30 Thread Tim Moore
tag handler have a method like setSrc(UserBean src) and that should work fine. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863

RE: pass complex object to custom tag

2003-01-30 Thread Tim Moore
, of course) Oh yeah, that too :-) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 On Thu, 2003-01-30 at 18:31, Tim Moore wrote: -Original Message- From: Erik Price [mailto

RE: Remote Restart Tomcat 4.1.8

2003-01-30 Thread Tim Moore
and then exec the program you're trying to start. That's certainly something you could do, but nothing like that comes with Tomcat. On Unix there's SSH. Windows has the Management Console. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202

RE: pass complex object to custom tag

2003-01-30 Thread Tim Moore
-Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 5:19 PM To: Tomcat Users List Subject: Re: pass complex object to custom tag Tim Moore wrote: I have a class I've written and I'd love to find a way to pass it to a custom

RE: getting java.lang.NoClassDefFoundError

2003-01-28 Thread Tim Moore
scheme only brings pain. :-\ -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: getting java.lang.NoClassDefFoundError

2003-01-27 Thread Tim Moore
Where is your bean's code being loaded from? It should be in $CATALINA_HOME/common/classes or your webapp's WEB-INF/classes (or it can be in a JAR in $CATALINA_HOME/lib or your webapp's WEB-INF/lib). -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-24 Thread Tim Moore
be allowed to submit it back to the project. Good luck, -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Lorenti, John [mailto:[EMAIL PROTECTED]] Sent: Friday

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-24 Thread Tim Moore
hardcoded. Other than that, I'm not looking for any drastic changes. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 Charlie -Original Message- From: Tim Moore [mailto:[EMAIL

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-24 Thread Tim Moore
-Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 11:05 AM To: 'Tomcat Users List' Subject: RE: java.lang.NoClassDefFoundError: javax/servlet/Filter Well, in my case, all I really want to do is effectively move the common/lib

RE: Single Servlet vs Multiple Servlet

2003-01-24 Thread Tim Moore
regardless of which approach you take. I personally prefer the single-servlet, multiple command class approach. I use Struts, which takes care of the basics for you. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258

RE: Single Servlet vs Multiple Servlet

2003-01-24 Thread Tim Moore
anyway for one reason or another, but it can't hurt to check it out and possibly steal some ideas. :-) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -- Robert - Original Message

RE: INSECURE to rely on sendRedirect (??)

2003-01-24 Thread Tim Moore
if you return right after calling sendRedirect? -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto

RE: Single Servlet vs Multiple Servlet

2003-01-24 Thread Tim Moore
. :-) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Chris Ward [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 1:03 PM To: Tomcat Users List Subject

RE: java.lang.NoClassDefFoundError: javax/servlet/Filter

2003-01-23 Thread Tim Moore
... -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Lorenti, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 2:26 PM To: 'Tomcat Users List

RE: Anyone VIRTUAL WEBAPP?

2003-01-22 Thread Tim Moore
Maybe just use a filter mapped to /* ? -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: David Keyes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22

RE: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Tim Moore
done. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: System.out logs

2003-01-17 Thread Tim Moore
output. Tomcat 4 uses plain old shell redirection to log standard out to a file. If you think using Sysstem.setOut is a better solution, then go right ahead, but personally I feel that using shell redirection is both simpler, and more maintainable. -- Tim Moore / Blackboard Inc. / Software Engineer

RE: Re: Classes not being found in app's WEB-INF directory.

2003-01-17 Thread Tim Moore
-Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 1:29 PM To: Tomcat Users List Subject: OT: Re: Classes not being found in app's WEB-INF directory. Tim Moore wrote: Can Ant read the package declarations of the source files

RE: System.out logs

2003-01-17 Thread Tim Moore
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, January 17, 2003 3:46 PM To: Tomcat Users List Subject: RE: System.out logs On Fri, 17 Jan 2003, Tim Moore wrote: Date: Fri, 17 Jan 2003 13:34:50 -0500 From: Tim Moore [EMAIL

RE: Can you set a webapp as Tomcat's default page?

2003-01-17 Thread Tim Moore
directory, then you could make your authentication filter pass through requests to the image directory without checking for a login. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -- To unsubscribe, e

RE: is there a list for jsp / tag development?

2003-01-16 Thread Tim Moore
To answer your original question, look at the BeanUtils package in Jakarta Commons. http://jakarta.apache.org/commons/beanutils.html In particular, BeanUtils.populate(Object, Map) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202

RE: Java Bean Scope questions (a lengthy one) [getting desperate]

2003-01-10 Thread Tim Moore
to understand in general. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 10:00 PM

RE: Java Bean Scope questions (a lengthy one)

2003-01-10 Thread Tim Moore
scope=session/ % formBean.reset(); % jsp:setProperty name=formBean property=*/ -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED

RE: Java Bean Scope questions (a lengthy one) [getting desperate]

2003-01-09 Thread Tim Moore
instance was created each time you visited the page. Now it's accessing the same instance from the session each time. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From

RE: JSP Question

2003-01-08 Thread Tim Moore
that you won't be able to access the enclosing page's local variables from within the included page (as you can with static includes), but if you add those variables to the request context you'll be able to access them that way. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th

RE: Tomcat Standalone Redirects auto redirects to index.html

2003-01-08 Thread Tim Moore
Somebody recently posted a patch to tomcat-dev that is supposed to fix this. See http://www.mail-archive.com/tomcat-dev%40jakarta.apache.org/msg38868.htm l -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax

RE: Java Bean Scope questions (a lengthy one)

2003-01-07 Thread Tim Moore
(sorry again Noel ;) ). As long as the bean is in session scope, you'll be able to access it from any page the user accesses. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -- To unsubscribe, e

RE: Java Bean Scope questions (a lengthy one)

2003-01-07 Thread Tim Moore
tries to validate, fails, forwards to Retry.jsp, which then forwards back to CCProcess, etc. When you use request scope, the form bean is blanked out and you never enter the loop. Good luck! -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036

RE: Object Pooling

2002-12-23 Thread Tim Moore
to change much and all changes will be going through the cached objects. If some other program may be writing updates directly to the database, however, you'll need to worry about your cached data going out of date. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor

RE: Object Pooling

2002-12-23 Thread Tim Moore
sure you're really improving it. Cheers, -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 On Mon, 2002-12-23 at 18:52, Tim Moore wrote: -Original Message- From: Felipe Schnack

RE: Should not be this hard(why is this a security risk)

2002-12-19 Thread Tim Moore
See these messages: http://www.mail-archive.com/announcements@jakarta.apache.org/msg00122.ht ml http://www.mail-archive.com/announcements@jakarta.apache.org/msg00128.ht ml -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860

RE: Should not be this hard(why is this a security risk)

2002-12-19 Thread Tim Moore
not necessary in any case. It's best to use explicit mappings. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 Larry [EMAIL PROTECTED] 12/19/02 09:38 AM See these messages: http://www.mail

RE: How to start a standalone app from a servlet and problems with reading properties file

2002-12-19 Thread Tim Moore
What does partial success mean? And in regards to question three, what exactly did you try, and in what manner did it fail? -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original

RE: How to start a standalone app from a servlet and problems with reading properties file

2002-12-19 Thread Tim Moore
is = WhateverTheServletIsCalled.class.getResourceAsStream( parmPassedFromServlet ) or even better, instead of passing the file name from the servlet to the support class, why not have the servlet just load the properties and pass the properties object to the support class? -- Tim Moore / Blackboard Inc. / Software

RE: How to start a standalone app from a servlet and problems with reading properties file

2002-12-19 Thread Tim Moore
(depending on the appserver, security settings, etc.) And of course, you can put the file wherever you want in the webapp, it doesn't have to be in classes (and probably shouldn't be, since it's not a class, natch). Just pass getRealPath the path relative to the context root. -- Tim Moore

RE: in search of more efficient design

2002-12-19 Thread Tim Moore
at some earlier point that pushed it up to 500, it will stay there until you restart the VM. I don't know if that's relevant to your case, though. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863

RE: in search of more efficient design

2002-12-19 Thread Tim Moore
own ActionServlet subclass, however, that throws out its action cache after a while. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Tim Moore [mailto:[EMAIL

RE: in search of more efficient design

2002-12-19 Thread Tim Moore
can't assume at any point that the GC has freed all of the memory that it could. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 Rick - Original Message - snip It's also worth

RE: JSP to Servlet to JSP pathing issue. Relative PathingPlease help.

2002-12-17 Thread Tim Moore
to that JSP, even when the address bar shows the servlet's address. That will probably be the quickest and easiest change for you, but in truth Mike's solution B is probably the best in the long term. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036

RE: File access from a servlet.

2002-12-17 Thread Tim Moore
#getResourceAsStream(java.lang.String) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: File access from a servlet.

2002-12-17 Thread Tim Moore
().getResourceAsStream(blah.dta)? -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Tim Moore [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 10

RE: Tomcat/IIS losing request parameters

2002-12-16 Thread Tim Moore
Try this: http://localhost/mydir/test%20with%20spaces.jsp?one=1two=2 Literal spaces are not legal in URLs (as Cees pointed out) but they can be encoded as %20 and that should be decoded correctly by Tomcat. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor

RE: 4.1.12 JSP Tag Lifecycle -- Where to re-initialize tag?

2002-12-12 Thread Tim Moore
Mostly in doStartTag. See http://jakarta.apache.org/taglibs/guidelines.html for more tips. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Will Hartung

RE: Directory Structure

2002-12-11 Thread Tim Moore
The mapping should be something like this: servlet-mapping servlet-nameDocViewServlet/servlet-name url-pattern/servlet/DocViewServlet/url-pattern !-- or whatever you like -- /servlet mapping It sounds to me like you may have forgotten the package name in the servlet-class element above. -- Tim Moore

RE: RE: I don´t understand the objective of this open list !

2002-12-09 Thread Tim Moore
. YMMV. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Error with THIS web.xml file:

2002-12-09 Thread Tim Moore
*, ejb-local-ref*) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Johnson, Garrett [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 7:03 PM

RE: Error with THIS web.xml file:

2002-12-09 Thread Tim Moore
Yes, exactly! http://java.sun.com/dtd/web-app_2_3.dtd is a real URL for the DTD. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Johnson, Garrett [mailto

  1   2   >