asn't shown in
getHeaderNames) -- this was something that had to be done because of
the way this information was transferred from the web server to the
servlet engine/container. I don't know if this is still the case.
But try alternatives for "referer" (and/or check the ar
uch.
Have you read this (and tried what it suggests)?:
http://marc.theaimsgroup.com/?l=tomcat-user&m=98648985324332&w=2
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
ways need to restart
> > Tomcat.
> >
> > Benoit
> >
>
> > > Hi,
> > >
> > > Is there any option in tomcat CONFIGURATION by which, I can
> > > instruct Tomcat
> > > to restart automatically whenever a servlet gets modified (
YLOR [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, April 17, 2001 8:05 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: please unsubscribe me
> >
> >
> > please take me off this list.
>
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
t; > > To: [EMAIL PROTECTED]
> > > Subject: Tomcat monitor/poller/email
> > >
> > >
> > > Has anybody out there set anything up that will email them in the
> > > event the Tomcat would crash or not be running? (Or know of free
> > > soft
new (2.3) servlet spec that will address
loading/startup of non-servlet classes. At least, I remember that
being "on the list" some time back. The 2.3 spec (draft) is up at
java.sun.com, so you can check there.
Milt Epstein
Research Programmer
Software/Systems Development Group
Comp
IL PROTECTED]
> Subject: Remove me from list
>
>
> Please remove me from this mailing list.
>
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
you arrived at page2.jsp by clicking from
> page1.jsp?
Try getting the referer header (not sure of exact spelling or
capitalization).
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana
u need to
about concurrency, analyze your code, and make it handle it as
best/easily as possible. Avoid concurrency issues as much as
possible, and when unavoidable, limit it to the smallest block
possible and synchronize it.
Milt Epstein
Research Programmer
Software/Systems Development Group
Com
useful
and friendly) since I joined, so this probably isn't something to be
concerned about (on either side).
> - Original Message -
> From: "Milt Epstein" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, April 06, 2001 7:05 AM
> Subject: Re
little large but it also makes it
> easier
> > > for other
> > > developers to figure out where to look for source. Another is to code
> it as
> > > java.sql.Date d = new java.sql.Date();
> > >
> > > ---
> > > Michael Wentzel
> > > Software Developer
> > > Software As We Think - http://www.aswethink.com
> >
> > --
> > Cordialement,
> >
> >
> > Stéphane BAUDET
> >
> > _
> > GL Trade
> > 48, rue Notre Dame des Victoires - 75002 Paris
> > Tel : 01 53 40 43 12 (interne 1312)
> > Fax : 01 53 40 01 40
> > Email : [EMAIL PROTECTED]
> > _
>
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
??
> > > Date: Thu, 05 Apr 2001 09:47:48 -0400
> > >
> > > I have setup the Tomcat 4.0b1 running with SSL. Is it possible to run
> > > non-SSL in a different context?? It seems to me that whenever i turn on
> > > SSL all context will be listening on SSL port.
> > >
> >
>
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
f there were some way to specify that such things be
included in the conf-auto file, but I don't know that one currently
exists.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
om: Trakhtenberg, Victor [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 05, 2001 7:41 AM
> To: '[EMAIL PROTECTED]'
> Subject: how to unsubscribe this list?
> Importance: High
>
> Hello!
> Does anyone how to unsubscribe this list?
> I've tried to send emai
EMAIL PROTECTED]"
> Subject: can SSL an non-SSL run at the same time??
> Date: Thu, 05 Apr 2001 09:47:48 -0400
>
> I have setup the Tomcat 4.0b1 running with SSL. Is it possible to run
> non-SSL in a different context?? It seems to me that whenever i turn on
> SSL all context w
)
>
> Next choice is TC 3.3 (a beta must be out before too long)
> and use mod_jk or wait TC 4.0 and mod_webapp.
So, what are the pros/cons/considerationgs in going to 3.3 or 4.0 from
3.2? (Not to instigate anything between the various developers :-).
Milt Epstein
Research Programmer
>Sent: Wednesday, April 04, 2001 11:08 PM
> >> >To: [EMAIL PROTECTED]
> >> >Subject: timestamps for mod_jk log
> >> >
> >> >
> >> >Can anyone tell me how to generate time-stamps in the mod_jk.log?
> >> >I assume that thi
e mod_jk.log?
> >I assume that this is an Apache configuration issue, and I've been
> >looking through the Apache docs, but I haven't been able to
> >figure it out.
> >Thanks in advance.
> >Ed ([EMAIL PROTECTED])
> >
>
Milt Epstein
Research Programm
t's being passed back
and forth on the request/response.)
> -Original Message-
> From: Milt Epstein [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 4 April 2001 6:07 AM
> To: [EMAIL PROTECTED]
> Subject: Session problem -- sessions being recreated, browser related?
>
mandated by the spec.
Why do you want to, i.e. what are you trying to do?
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
is, or is going to be, case-sensitive on all
> >platforms. Maybe that's for 4.0.
>
> Didn't it change between 3.1 and 3.2? I seem to recall having fun
> with that one, especially on the URLs.
Maybe so, I don't remember exactly, I just remember seeing it somewhere.
M
ssions. I
think it just has something to do with the cookie handling that is
getting screwed up. Like apache/tomcat not getting the session cookie
back, so it thinks there's no session. (And recall that this is
something that was apparently working fine a few weeks ago when we
were using NES/
oes appear to be something Apache/Tomcat-specific.
Thanks.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
e. And on Windows, it generally isn't.
Although I thought I saw some Tomcat-related documentation that
indicated that Tomcat is, or is going to be, case-sensitive on all
platforms. Maybe that's for 4.0.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and
uot;Tomcat-User Archives" on the
jakarta.apache.org page that lists the archives; the former has
archives for a ton of lists, including a bunch of apache-related ones,
and has a nicer interface.)
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
hat covers the
changes from servlet spec 2.0 to 2.1 (I don't have the exact URL, but
you should be able to find it from that info), and it talks about this
there (page 7, near the bottom, "Writing to an abstract resource").
Take a look at that for details.
Milt Epstein
Research Pr
>
> test
>
>
> com.tst.TestServlet
>
>
>
>
>
> test
>
>
> /foo/bar/*
>
>
>
>
> * TestServlet.class sits at
> /opt/ja
ments/updates to the book to cover the new servlet specs that
came out in the interim. And the second edition is in fact already
out (I haven't seen it myself, but that's what I've heard).
> - Original Message -
> From: "Milt Epstein" <[EMAIL PROTECTED]>
s stuff is.
> - Original Message -
> From: "Milt Epstein" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, April 01, 2001 5:45 PM
> Subject: Re: getServletNames()?
>
>
> > On Su
(including Loaded itself).
> I know that this method has been deprecated in jdk1.3, which I'm
> using, but it should work anyway.
> Any suggestions?
Why do you think it should work even if it's been deprecated? This
method was deprecated long ago, in JSDK Spec 2.1, and doesn'
the
appropriate Mount directives to the tomcat/apache conf file.
> On Fri, 30 Mar 2001, Milt Epstein wrote:
>
> > On Fri, 30 Mar 2001, Kyle Tippetts wrote:
> >
> > > Yes, tried this:
> > > mydomain.com/test/foo/bar/myServlet
> > > and it still did
ences of
Mount'ing a URL pattern like "/test/*" (as you conjecture), I'm not
quite sure.
> - Original Message -
> From: "Milt Epstein" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, March 30, 2001 1:42 PM
> Subject: Re: 2nd
ecent post? Apparently he was able to
get it to work by adding an appropriate ApJkMount directive.
This does seem to be one of the less clear/less well-documented
aspects of setting tomcat up.
> -Original Message-
> From: Milt Epstein [mailto:[EMAIL PROTECTED]]
> Sent: Friday
> would have saved
> > you some time and trouble - your JAVA_HOME is not set correctly. Some
> > people will probably tell you that tools.jar is not in your
> > classpath, but
> > this is a side effect of not setting the JAVA_HOME variable
> > correctly. (I
ain.com/test/servlet/requestMap.Servlet1 or
> mydomain.com/test/servlet/servlet1, everything works as it should. So,
> Tomcat is not paying attention to the servlet-mapping entry.
>
> I think this is a problem, unless somebody has an explanation. I'm out of
> ideas.
[ ... ]
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
HOME variable correctly. (It
> should point to the JDK's root so that lib\tools.jar is an actual file.
[ ... ]
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
e, whether it's in the JSP
or HTML)? Also, the exact text of the error message in the log might
suggest something.
(I don't necessarily have an idea of what the problem is, just trying
to throw out ideas that might turn into leads.)
> -Original Message-
> From: Milt Eps
ounds like 3.2.X is a little more ready for prime time,
but beyond that, I'm not really sure (and I gather things are changing
every day).
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
that are bad). I can save them and mail
them to an appropriate person/entity next time I post something.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
the parameter in sequence with:
> >
> > Enumeration yourEnumeration = request.getParameterNames();
> > while (yourEnumeration.hasMoreElements())
> >/*do something funny with */
> > request.getParameter((String)yourEnumeration.nextElement())
> >
> > Hop
, maybe something like:
ApJServMount /promo-dev /promo-dev
There may be some negative consequences of doing this, I'm not sure,
so maybe there are better solutions.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
On Sun, 25 Mar 2001, Anuj Agrawal wrote:
> Thanks. That would do it. I guess i was hoping for some kind of
> config file setting or something. 8)
I think that's the way it's handled in 4.0, but I don't know of any
such thing with 3.2.
> Milt Epstein wrote:
>
&g
e the
stdout/stderr output to files. In fact, I actually have a script that
does it. Basically, it makes a call like:
/path/to/tomcat/bin/startup.sh > /somedir/stdout 2> /somedir/stderr
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Serv
hread safe, adding
synchronization where needed -- this has been discussed extensively on
sun's servlet-interest mailing list).
> -Original Message-
> From: Milt Epstein [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 23, 2001 8:17 PM
> To: 'Tomcat
vlet code:
>
> public void init (ServletConfig config) throws ServletException
> {
> super.init(config);
> bla-bla-bla.
> // Load configfile if it exists.
> configfile = config.getInitParameter("Config
tag block?
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
let.log). How can I make it to restart only once
> for rotating 3 log files??
>
> Rgds,
> unplug
>
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
bug of this version of mod_jk? Wouldn't it be useful to post
> it to the developers list?
Don't know, although I suspect it's not a bug, probably just some
details in your configuration need to be worked out.
Much of what I was saying/suggesting were just conjectures, trying to
com
programmatically as well via
HttpSession.getMaxInactiveInterval()). (According to the spec, the
setting in the web.xml file is in minutes, the argument to
getMaxInactiveInterval() is in seconds.)
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office
protocol is. I'm wondering if this could be (part of) the
problem.
Because it seems like the URL you're using wouldn't be matched by
either of the ApJKMount directives shown below.
> > > my welcome looks like this:
> > >
> > >
> > > works
I only want to be able to run the
> servlets and JSP in https. Anyone have any pointers
Did you try putting all the tomcat/mod_jk/mod_jserv related apache
directives in the tag block?
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Servic
guess they're ApJKMount
> > > directives. Anyway, look at the documentation for this conf file on
> > > the tomcat web site.
> > >
> > > Milt Epstein
> >
> > Dear Milt, perhaps your theory is right, but take a look at this:
> > I've renamed my
to forward to tomcat
everything for that context. And it is the context for which the
welcome-file is specified.
> my welcome looks like this:
>
>
> worksheet.jsp
>
>
> and my mod_jk.conf looks like this:
>
> #
> # The following line mounts all JSP files and the /servl
On Mon, 19 Mar 2001, Craig R. McClanahan wrote:
> On Mon, 19 Mar 2001, Milt Epstein wrote:
>
> > Do you have your context defined in server.xml? Did you use
> > 'reloadable="true"'? (That should be default, anyway.)
>
> I disagree that this sh
specify that a servlet is started up when the container
is started, but otherwise it controls the servlet lifecycle (and
servlets are started up upon the first request to them).
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
way.)
My first/best guess is that your servlets are on your classpath
(perhaps instead of or in addition to being available to tomcat), and
hence is being loaded by the system classloader, and hence is not
subject to reloading.
Milt Epstein
Research Programmer
Software/Systems Development Group
h', and then logout
>
> Login, and then Tomcat be stoped
>
> thank you!! ^^!
Run it in the background by appending an "&" to the command, i.e.:
startup.sh &
People may suggest useing nohup, a la:
nohup startup.sh &
But with many/most shells, runn
: Starting Tomcat in Apache Date:
> > >Fri, 16 Mar 2001 12:17:13 +1000
> > >
> > >In Windows, does a batch script exit if any of the commands fails? If it
> > >does not, the script will hang if startup.bat fails, or fails to produce
> > >mod_jk.conf-auto.
n docs that it is needed for Tomcat shutdown.
>
> So, bottom-line, is ajp12 needed for a stand alone
> Tomcat? If so, why?
>
>
>
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
999/jw-10-servletapi.html
You can also download the spec from Sun's site, off the servlets
product page.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
unt
directives. Anyway, look at the documentation for this conf file on
the tomcat web site.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
D] wrote:
>
> > I was told there's no way to configure it. But tomcat 3.3-m1
> > seems to set ajp13 as the default.
> >
> >
> > On Tue, 13 Mar 2001, [iso-8859-1] Jörg Petschat wrote:
> >
> > > Hallo,
> > >
> > > Where can
vlet-interest list, and has posted some updates there on how the
book is going.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
the work
> directory when it is first requested.
[ ... ]
FWIW, the .java files that JSPs are converted into are also placed in
the work directory. If you're getting some compiler errors on a JSP,
it can sometimes be helpful to take a look at the corresponding .java
source file.
implemented it, so I'm not sure what to make of that.
Maybe you should verify the spelling, capitalization, access level,
etc. of the method.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
x27;t know what it means that it worked with 3.1 and isn't
with 3.2, but we just had a bit of discussion of get init-param's to
work with JSP's. For one thing, you have to use a jsp-file tag
instead of servlet-class in web.xml. And you might also have to set
up a servlet-mapping
t; www.vlm.com/servlets/VS/servlet/LogonServlet/VLM
>
> To say:
>
> www.vlm.com/LogonServlet/VLM
Again, you might be able to do this with some appropriate ApJServMount
directives. It also might depend on how you have things set up with
tomcat, e.g. what the contexts are
t; anyone have any better suggestion for organizing this problem.
I don't see why the java source files have to go there. In fact, I'd
think it would be a bad idea. You could put them anywhere, really,
and use an appropriate javac command to get the compiled class files
into that cl
onnect()); %>
>
> <% out.print(select.select()); %>
>
> Format results
>
>
> <%@ page import="java.util.Vector" %>
> <% Vector aResult = select.getResult(); %>
>
>
> <% for (int i=0; i < aResult.size(); i++) { %>
>
>
eant when I said it was documented on the
tomcat/jakarta site:
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.html
> Milt Epstein wrote:
>
> > On Tue, 13 Mar 2001, aras wrote:
> >
> > > Quick question. Embelish or not as you see fit.
> > >
p://jakarta.apache.org/site/mail2.html
which in turn I found from :-):
http://jakarta.apache.org/site/mail.html
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Ur
xt is null. I'm not sure why
else that would be.
How are you calling the servlet? Is that happening in the JSP? Maybe
it has something to do with that.
Not sure what else to suggest at this point.
> > -Original Message-
> > From: Milt Epstein [SMTP:[EMAIL PROTEC
dn't specify port 8080 in your
URL's (instead specify the port for wherever Apache's running, or
leave it out if it's using the default port(s)).
This is documented at the Tomcat site (although it is confusing).
Milt Epstein
Research Programmer
Software/Systems Develop
>ResultSet myResult = Stmt.executeQuery("SELECT lst_nm from
> > > person_profile ORDER BY lst_nm");
> > >
> > >while (myResult.next()) {
> > > result.addElement(myResult.getString(1));
> > >}
> > >
> > > // Clean up
> > > myResult.close();
> > > Stmt
On Tue, 13 Mar 2001, Craig R. McClanahan wrote:
> On Tue, 13 Mar 2001, Milt Epstein wrote:
>
> > On Fri, 9 Mar 2001, Richard Yumul wrote:
[ ... ]
> > > I guess what I really am asking is it possible to share the
> > > HttpSession object between web apps?
> &g
f you're not being "supposed to", more
just that there may some cons to doing it that way. For example, you
may have to add appropriate Directory/Location tags to protect access
to them as documents from apache. On the other hand, if you have no
particular reason for doing it this
by Sun. You
might check there -- you can access the archives from:
http://archives.java.sun.com/archives/servlet-interest.html
> -Original Message-
> From: Milt Epstein [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 09, 2001 9:59 AM
> To: [EMAIL PROTECTED]; [EMAIL P
On Mon, 12 Mar 2001, Arnaud Vandyck wrote:
> Milt Epstein wrote:
> >
> > On Fri, 9 Mar 2001, Jose Euclides da Silva Junior - DIGR.O wrote:
> >
> > > -BEGIN PGP SIGNED MESSAGE-
> > >
> > > Hi.
> > > I would like to know where the
/java.apache.org/jserv/install/index.html
but unfortunately, that link wasn't working (it goes to
http://www.servletcentral.com, which wasn't responding.)
> >From: Milt Epstein Reply-To: [EMAIL PROTECTED] To:
> >[EMAIL PROTECTED] Subject: Servlet via URL of the form
> >
I added another directive
ApJServMount /blah /blah
and after that, I was able to use a URL of the form
http://my.domain.com/blah
as I originally wanted to.
Hope this helps someone else. And if someone understands better
exactly how the ApJServMount directive works, please feel free to fill
in t
servlet virtual directory in the URL is just
"servlet", so your URL should be:
http://127.0.0.1/examples/servlet/TEST
It looks like the stuff in ..\examples\servlets\ are html files that
document the example servlets included with tomcat. The servlet
classes themselves are in ..\examples
d on what's in the
server.xml file. But, as someone suggested, it's probably a good idea
to make a copy of that autogenerated file, modify is as needed, and
"Include" that modified file (since the autogenerated one might not be
100% what you need).
Milt Epstein
Research
Craig McClanahan
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>
>
>
>
>
>
> Sent via the WebMail system at mail.
Result() {
> return result;
> }
>
>/**
> * Mutator for result
> **/
>public void setResult(Vector avector) {
> result = avector;
>}
>
> } // class DataBaseSelect
>
>
>
>
>
>
>
>
>
ed to the window/tty where tomcat was started. As such, it's
possible to capture them to files by redirecting stdout and stderr on
the command line you use to start tomcat.
Note: This is on UNIX, not sure how things would be on Windows.
Milt Epstein
Research Programmer
Software/Systems Develo
OMCAT_OPTS and adds that to the call to java.
(I'm talking UNIX here, I'm not sure about how it works on Windows --
although it does look like it uses the TOMCAT_OPTS environment
variable in tomcat.bat.)
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and C
7;t deploy the individual app's
> separately.
>
> If I'm missing the bigger picture, somebody please enlighten me. :)
Thought off the top of my head: Will crossContext help with this?
That's a property of contexts that you set up in server.xml.
According to the comments there
note you mention
getInitParameter() (even though you indicate above that you're using
getAttribute()).
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
servlet parameters. A context is basically a web
application, so context parameters are intended to be use for
application-wide parameters. Servlet parameters are only for a
specific servlet (i.e. a subset of the application).
Sure, you can avoid using servlet parameters, and only use context
parameter
On Thu, 8 Mar 2001, Milt Epstein wrote:
[ ... ]
>
>
> Testy
>
>
> <%@ page
> import="java.util.*"
> %>
> <%!
> Enumeration names;
> String name;
> %>
>
> The value of init parameter var1 is:
> <%=
> get
t it in /webapps/blah/, and it
did work. I'm not sure I fully understand why that is, but at least I
did get the init-param's working.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Cha
the following lead to distinct servlet instances:
http://www.my.com/myapp/servlet/foo
http://www.my.com/myapp/servlet/com.my.foo
and will cause init to be called twice on the underlying servlet-class.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communic
TED]
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Servic
1
http://groups.google.com/groups?hl=en&lr=&safe=off&th=9eb4e0cd3b0f1fb6&rnum=9&seld=958627636&ic=1
Actually, I don't know if these URLs will work outside the context of
my search -- if not, go to the google advanced newsgroups search page
at:
http://groups.google.com/adva
to set anything extra up (i.e. to get Tomcat
working with it). If you're using Tomcat standalone, I believe there
are some extra steps involved (check the comments in the server.xml
file).
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Service
On Mon, 5 Mar 2001, Milt Epstein wrote:
> When tomcat tries to reload my servlet, I get the following error
> message:
>
> java.lang.UnsatisfiedLinkError: Native Library ... already loaded in another
>classloader
>
> (This is for a native library that I have and am expli
When tomcat tries to reload my servlet, I get the following error
message:
java.lang.UnsatisfiedLinkError: Native Library ... already loaded in another
classloader
(This is for a native library that I have and am explicitly loading in
my code.)
Is there any way around this? Thanks.
Milt
On Mon, 5 Mar 2001, Milt Epstein wrote:
> On Mon, 5 Mar 2001, Brett W. McCoy wrote:
>
> > On Mon, 5 Mar 2001, Samson, Lyndon [IT] wrote:
> >
> > > But but but... tomcat does serve static pages. It can be used as a
> > > stand alone web server, and with a si
meone creates mod_jperl or something. :-)
This thread just goes to prove the old mailing list/newsgroup adage,
the best way to get responses is to post incorrect information :-).
On a related note, I'm assuming it's possible to disable Tomcat as a
standalong web server (i.e. to just use
use mod_rewrite (which I haven't tried yet, but plan to)
Anyway, sounds like this will be easier to do with the new 2.3 spec.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (
401 - 500 of 505 matches
Mail list logo