and is named
myClass this should work.
--
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: Andy Wickson [mailto:andy;awtech.co.uk]
Sent: Friday, October 18, 2002 1:17
webapp's web.xml file for your
GreetingServlet and then use that URL to access it. This is the better
way. The invoker servlet can be dangerous, and it's now recommended
that you leave it disabled.
--
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC
The servlet-mapping element needs to go after the servlet element, not
inside of it.
--
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: Andy Wickson
. When you map your
servlet directly, you should just use the context path followed by the
path that you mapped to.
Good luck and have a nice weekend!
--
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463
work as expected.
--
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:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat
:
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/jsp/tagext/T
ag.html
or the Jakarta Taglib Developer Guidelines (which clarify the problems
much better than the javadocs, IMO):
http://jakarta.apache.org/taglibs/guidelines.html
--
Tim Moore / Blackboard Inc. / Software Engineer
1899 L
#getResourceAsStream(java.lang.String)
That way, it will still work if your web app is packaged as a WAR file.
The path argument is context-relative.
--
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
Instead of making the class static, you could load the properties from a servlet that
runs when your web application starts 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
/iisref/html/psdk/asp/isgu744y.asp
(or http://makeashorterlink.com/?K1E726FA2)
for more information about IIS events.
--
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
?
Thanks in advance,
--
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
Are there currently pre-built binaries available?
I found
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.0/bin/ but it's currently empty.
In particular, I need the isapi filter for Windows, and mod_jk for x86
Linux and Solaris 8.
Thanks in advance.
--
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: Luca Ventura [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 4:29 PM
To: [EMAIL PROTECTED]
Subject
and readable. I haven't seen much about security. What makes
it more secure than JSP?
--
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: Jon Scott Stevens [mailto
OK, thanks. (The BugTraq search engine wasn't working when I checked
there.)
So it sounds pretty much like what I thought it was. I still don't
understand why Velocity wouldn't be vulnerable to this exploit.
--
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor
a runtime expression with static text as in
the above. You'll need to rewrite the attribute like this:
inc='%= path + /jsp/dd/inc %'
--
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
**
/org.apache.catalina.servlets.DefaultServlet - used by the invoker
servlet to determine what servlet class to invoke
/experiment/index.jsp - the context relative path to your JSP, served
statically by the DefaultServlet
--
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor
would need
to be able to catalog all of the servlets that your application was
using.
--
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: Brad Plies [mailto:[EMAIL
I can't really tell what the error is from that snippet. Can you post
the whole stack trace?
--
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: Atif Shahab
need to add a second servlet mapping to the source
disclosure blocker for
/servlet/org.apache.catalina.servlets.DefaultServlet/*
--
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
be nice.
:-) I haven't seen anything to indicate that it's possible, but if it
is, that would be cool!
--
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
? Or does anyone have any experience or advice that might
relate to this? Thanks in advance.
--
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
of shared taglib directy where we could
just drop taglib JARs and have them automatically available to every
webapp.
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
-Original Message
Just to follow up on my own post, the problem was that I was still using
the version of isapi_redirect that came with Tomcat 3.3.1. Upgrading to
the new JK 1.2.0 version fixed the problem. If anyone's interested in
more of the hairy details, email me off list.
--
Tim Moore / Blackboard Inc
(request.getContextPath() + /servlet/MyServlet);
--
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
4 Instances. You can write small batch
scripts that change the value of CATALINA_BASE and then start the
server.
--
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
Also check out
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.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: Turner, John [mailto
Does anyone know which nightly build of jakarta-servletapi is
distributed with the binary version of Tomcat 4.1.12?
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
to make JSPs as simple as possible, and avoid using any kinds of
scriptlets.
--
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: Alex Muc [mailto:[EMAIL PROTECTED
;
if (accessList == null) {
accessList = (Collection) pageContext.findAttribute(accessListName);
}
Kind of a pain, but that's the only way to be fully compliant with the
spec.
--
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext
. 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]
*, 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
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
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
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
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
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
#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]
().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
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
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
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
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
(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
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
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
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
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
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
(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
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
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
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
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
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
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
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
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]
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
-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
-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
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
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
...
--
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
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
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
-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
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
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
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
. :-)
--
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
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
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]
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
, 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
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
-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
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
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
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
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
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
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
-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
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
.
--
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
()...
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
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
-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
, 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
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
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
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
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
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
-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
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
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
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
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
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
1 - 100 of 129 matches
Mail list logo