John,
I had a similar problem, which seem to be resovled by explicitly setting
the path of the cookie to / before adding it to the response.
Cookie userCookie = new Cookie(U_ID, userId);
userCookie.setMaxAge(94608);
userCookie.setPath(/);
httpResp.addCookie(userCookie);
Todd,
The tools.jar file in the /lib directory of your Tomcat install needs to
be replaced with the tools.jar file from your 1.4.0 JDK.
~Scott
Ganey, Todd wrote:
I know this has been posted before, but I either missed or there was no
solution posted on how to correct the JSP compile error
After reading the last post on URL rewriting, I started
thinking.[look out!]
What if there was a JSP tag library that mirrors the subset of HTML tags
which support the href attribute and performs URL rewriting on the href?
Each JSP tag would create it's corresponding HTML tag by calling
~Scott
Jason Barr wrote:
Hi all,
Is one able to use a non-JKS type keystore with Tomcat? The docs don't
get very specific about this and mention that only JKS type keystores
can be used.
Not sure about this one. From what I understand, Tomcat usess JSSE,
which only supports the Java
One of the problems i've run into with open source servers on Windows is
getting binaries for many of the common tools, servers and dlls required
for Win32, such as connectors for Tomcat, OpenSSL for SSL on Apache, etc.
We don't have Visual Studio here, which i'm finding is quite important
if
Rui,
Under Windows, network drives are mounted independantly of the Operating
System. Each user has their own set of mapped drives when they log in,
which are unseen by services. Since you are running Tomcat as a service,
it runs under a user know as System, which does not have access to
I've noticed that several people are successfully using Tomcat with W2k
and NT.
We are slowly moving Tomcat 4 into our production environment.
Currently, I am testing Tomcat in stand-alone mode.
1. Are you using Tomcat in stand-alone mode? If so, are you having any
performance issues?
2. If
I'm attempting to add a cookie to a user agent in a servlet filter.
When a request comes in, i check the request and see if the cookie
already exists. If it is not found, I generate a new cookie with a
unique value and add it to the response object.
What i'm finding is that the cookie's
i was hoping i could use the session id instead of doing the research,
coding and testing required to create unique ids for this part of the
project. [i.e., i'm trying to do to much in too little time :)]
can anyone point me to a few good resources or techniques for generating
unique client
visit the following url for docs on how to configure the http1.1
connector
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html
based on this information, you should end up with an entry like this in
your server.xml file [located in the /config directory in tomcat home]
!--
Will do
Being somewhat green to Tomcat and the new Servlet API, I just wanted to
make sure I wasn't missing something obvious before officially
considering this as a 'bug'
Craig R. McClanahan wrote:
In order to avoid this problem report getting lost, *please* report it in
our bug
esteban,
the easiest way to do this is to download the .exe version of the tomcat
4 installer.
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/jakarta-tomcat-4.0.exe
choose 'custom install' and check the 'install as nt/w2k/xp service'
option. this will install tomcat as a
12 matches
Mail list logo