same session cookie. As long
as the same session cookie is returned, tomcat see's just one client.
The issue can be mitigated by storing state information in the
request via hidden form fields or GET params on the page links.
--David
Ryan O'Hara wrote:
Is there anyway to create
Is there anyway to create JSessionIDs per window rather than per
browser? I am having the problem of when you open multiple tabs
within a browser, and enter two simultaneous queries, the results
returned are corrupted. Any suggestions? Thanks for the help.
-Ryan
Ah. Thank you. Sorry, wrong list.
-Ryan
On Oct 16, 2006, at 4:08 PM, Christopher Schultz wrote:
Chuck,
Looks like this guy accidentally posted a Lucene question to the
Tomcat
list. I hope he comes back to see the responses.
-chris
Caldarale, Charles R wrote:
From: Ryan O'
I have a few questions regarding writing a custom analyzer.
My situation is that I would like to use the StandardAnalyzer but
with some data-specific rules. I was wondering if there was a way of
telling the StandardAnalyzer to treat a string of text, that would
normally be tokenized into m
How can I create a single object when Tomcat starts up and access that
object from multiple web apps?
Thanks,
Matt
Have you added listener and listener-class tags in each applications'
web.xml?
Ryan
-
To start a new topic,
here else) the CLASSPATH is being set to ~/cvs/fable/
web/info rather than
/usr/local/tomcat/webapps/fable(_[user])/WEB-INF/classes/info. Now,
if I can only find
where this is happening.. Anyone have any ideas? Thanks so much.
-Ryan
On Aug 4, 2006, at 1:15 PM, Ryan O'Hara wrote:
Unfo
where in your
restart script, you are setting the classpath manually to include
the classes.
another would be that your classes are in shared/classes or shared/lib
if not, you'd need to dig deeper.
Ryan O'Hara wrote:
Currently, we have a few three development instances of the "
Currently, we have a few three development instances of the "same"
application being run - webapps/A, webapps/B, and webapps/C. By same
I mean the same application, although each instance is usually a bit
different, as the developers work on their individual instance. The
problem we are f
Thanks a lot, David.
Ryan
Christopher Schultz wrote:
Not really. If the question is "how do I retrieve the stuff I put
in servletcontext?", the answer is getServletContext().getAttribute
( attributeName ).
Then just cast the result to the type it's supposed to be (String,
Array, Hashtabl
One more question: What is the best method for retrieving the
values? Thanks again.
-Ryan
On Jul 31, 2006, at 2:47 PM, David Smith wrote:
ServletContextListener is a new feature of servlet spec 2.4 (tomcat
5.0.x, 5.5.x). The essential parts are:
1. write a class implementing the
java
You are creating a ServletContextListener, which must be configured in
the "listeners" section of your web.xml file: simply mention the
ServletContextListener in there, and the contextInitialized() method
will be called when the webapp is initialized (i.e. once for the
life of
the webapp).
If
You're looking for . You can add these parameters to any
filter or servlet, or at the top-level for the entire webapp, and get
them when the filter or servlet runs (or any time you can get an
instance of the ServletContext which represents the webapp).
The usual way of doing this is to create a Se
Is there a way to initialize an array (or any other Java object, for
that matter), so that it is available to all users? I would like to
execute some Java methods to precompute and store two arrays to avoid
creating them every visit for every user. I read something about
param-name and pa
13 matches
Mail list logo