Thank you for your answer. Sorry about the new thread for new topic
business - I hadn't understood the thread mechanism.
I presume for this topic I'd better continue as we are and I'll get it
right next time.
I was wondering exactly how the servlet container knows whether the user
has already
That's not quite what I meant, but I shan't want to bother people any more
with this question.
I can get along with what you told me in another email.
Thanks for you time.
Malcolm Warren
On Thu, 1 Apr 2004 09:06:51 -0600, QM [EMAIL PROTECTED] wrote:
: The automatically generated .class files in
That information is stored in the session.
So your programm has to include the session id
that was created by tomcat in the requests (either
as cookie or as query parameter)
-Original Message-
From: Malcolm Warren [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 10:12 AM
To:
SImple :) don't follow the instructions.
Do a ./configure --help to get the options you need (--with-apxs2 --with-jni
--with-pcre and related java/tomcat options) then do a straight make and
manually copy the binary to your web server's module location.
-Original Message-
From: Thomas D.
Hi,
I'm having problems including a JSP page from another JSP page using
parameters with special characters.
I looked through the archives, but couldn't find anything about this issue.
I can encode a string, and the result is correct
URLEncoder.encode(blåbærgrød, ISO-8859-1)
But if I make
I've tried including the session id, but it creates a new one.
It's calling a url in another application in the same engine. Can't
session info be shared across applications?
I've allowed single sign-on in server.xml.
I don't want to merge them into one application, because I may put one of
(1)Set page directive attributes right
(Maybe, pageEncoding = your platform encoding and charset = UTF-8)
(2)Use a Servlet/JSP container other than Tomcat. For example, Resin
from caucho.com.
quote
Scott Ferguson wrote:
Actually, the underlying problem is a difficult one. Unfortunately, URLs
Hello,
I'd like to know how to implement connection pooling in my
application.
This is what I had done so far. Pls let me know what I need to change
to use the pooling mechanism.
1. I created a singleton class: DatabaseOperations.
2. It has an Connection instance: conn.
3. During
Hello
I think this:
form method=POST action=GetInput
Should read:
form method=POST action=/myapplication/GetInput
Also, consider packing your classes, so that this servlet registration:
servlet
servlet-nameGetInput/servlet-name
Hi there.
May be this bug report
http://issues.apache.org/bugzilla/show_bug.cgi?id=23929 will enlighten
you, me and others who have issues with i18n. Very professional
explanation of the problem, thanks to Remy.
[EMAIL PROTECTED] wrote:
The problem:
I am using Oracle 8.1.7 DB , in a
Hiroshi Iwatani wrote:
(1)Set page directive attributes right
(Maybe, pageEncoding = your platform encoding and charset = UTF-8)
They are correct. The generated servlet already contains the wrong value
'%3F'.
(2)Use a Servlet/JSP container other than Tomcat. For example, Resin
from
Dennis Thrysøe wrote:
Hi,
I'm having problems including a JSP page from another JSP page using
parameters with special characters.
I looked through the archives, but couldn't find anything about this issue.
Try this URL:
http://issues.apache.org/bugzilla/show_bug.cgi?id=23929 . Connector
Hi,
I'm trying to compile the AJP connectors from source in order to communicate
with Apache 2.0.40 installed in my Red Hat 9a. I've installed tomcat 4.1.29
and I've done:
$ unzip jakarta-tomcat-connectors-jk-1.2-src-current.zip
$ cd jakarta-tomcat-connectors-jk-1.2.5-src/jk/native
$
Hi,
I have one resource made bound in tomcat. Lets assume that its name is mysqlds and the
resource type is javax.sql.DataSource. The connection pooling, jdbc driver classes and
other
supporting classes are all deployed tomcat. Now I have a test case which uses the
mysqlds
resource to create
Veniamin Fichin wrote:
Dennis Thrysøe wrote:
Hi,
I'm having problems including a JSP page from another JSP page using
parameters with special characters.
I looked through the archives, but couldn't find anything about this
issue.
Try this URL:
Dennis Thrysøe wrote:
Hiroshi Iwatani wrote:
(1)Set page directive attributes right
(Maybe, pageEncoding = your platform encoding and charset = UTF-8)
They are correct. The generated servlet already contains the wrong value
'%3F'.
(2)Use a Servlet/JSP container other than Tomcat. For
Hi,
Hello,
I'd like to know how to implement connection pooling in my
application.
This is what I had done so far. Pls let me know what I need to change
to use the pooling mechanism.
1. I created a singleton class: DatabaseOperations.
2. It has an Connection instance: conn.
3. During
On Fri, 2004-04-02 at 13:47, Kal Govindu wrote:
I'd like to know how to implement connection pooling in my
application.
This is what I had done so far. Pls let me know what I need to change
you don't have to write any database pooling functions, it comes built
in!
We have 4 gigs of memory on the box, although the entire machine peaks at
around 2 Gigs we have other sites on the same server running same code that
are perfectly alright. But, when the thread count on a site increases beyond
the magic number of 107, its slow responding and then a little later
Hi,
after switching from WebLogic 6.1 to Tomcat 5.0.19 as our web app
container we're running into a problem with a slight difference in how
these two containers handle HTTP request to the context path of our web
app. We have a web app with a context path /external and on WebLogic
GET
Hi,
In general, read the FAQ:
http://jakarta.apache.org/tomcat/faq/misc.html#externalJndi
And to your specific case, consider Cactus
(http://jakarta.apache.org/cactus/).
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Chandu [mailto:[EMAIL PROTECTED]
Sent:
Hi,
What are your files under ROOT instead of just under webapps?
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Taj [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 2:26 AM
To: 'Tomcat Users List'
Subject: Tomcat configuration
Hi
Iam having problem in
Are you sure the JVM has enough memory ?
long totalMemory = Runtime.getRuntime().totalMemory();
long freeMemory = Runtime.getRuntime().freeMemory();
long maxMemory = Runtime.getRuntime().maxMemory();
log.info(totalMemory=+totalMemory);
log.info(freeMemory =+freeMemory);
log.info(maxMemory
Hi.,
My environements are.,
Windows 2000
Tomcat 5.x + Apache 2.X + Mod_JK2
I have three tomcat instances and Apache server in a single machine..
Clusterring and load balancing is working fine.
But i'm getting this error in Apache error.log file.
1.Can you please check my Apache logs and worker
Hello everyone,
has anyone managed to make Tomcat5 cooperate with java.util.logging (JDK
1.4)?
1) How can I redirect all logging output by, for example, a
Logger.global.log(hi there) in my application to the Servlet log (the
resource that is defined with the Logger element in server.xml?
2)
Hi Peter,
Thanks!
Just wondering what this background process you speak of would be... and how
I would run it... would it be a piece of java code and if so, where would I
place it within Tomcat for execution?
Thanks,
Kay
- Original Message -
From: Peter Johnson [EMAIL PROTECTED]
To:
I would try making the directory for it possibly.
I don't know why it does this, but it puts a usr/local/apache2/modules
directory under the build directory.
/bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so
./../../build/jk2/apache2/mod_jk2.so
/bin/cp: cannot stat
Hi,
Just wondering what this background process you speak of would be...
and
how
I would run it... would it be a piece of java code and if so, where
would I
place it within Tomcat for execution?
Not necessarily within tomcat: you can write a simple java class and
execute it as a cron job.
Yoav
What's a cron job?? How do I create/execute one?
thanks!
~Kayley~
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, April 02, 2004 10:01 AM
Subject: RE: file uploading
Hi,
Just wondering what this background
HI,
I'd like to run two websites ( one straight HTML the other JSP and servlets ) on one
Linux server that is running Tomcat 5. I don't have apache to use it's virtual hosts.
On my DNS server I set up two domain names corresponding to the same IP address.
Tomcat documentation says I need to
Hi,
Dude, google ;)
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 10:08 AM
To: Tomcat Users List
Subject: Re: file uploading
What's a cron job?? How do I create/execute one?
thanks!
What's your environment?
OS version
Tomcat version
JVM version
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, April 02, 2004 10:07 AM
Subject: Re: file uploading
What's a cron job?? How do I create/execute one?
thanks!
~Kayley~
Hi,
What's your environment?
OS version
Windows 2000
Tomcat version
Tomcat 5
JVM version
j2sdk1.4.2_03
Thanks!
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, April 02, 2004 10:07 AM
Subject: Re: file uploading
Hi,
Anyone know where i can found RPM for Tomcat 4.1.30 ?
Regards
Philippe
Hey Yoav, we got another one from that there windows place!!
But seriously, a few years ago I had no I idea what one was either. It is
akin to task scheduler in windows.
That's why it is asked to put the environment information in to start with.
It guides the list to suggest the appropriate
Philippe Couas wrote:
Hi,
Anyone know where i can found RPM for Tomcat 4.1.30 ?
jpackage has Tomcat 5 (I did look for Tomcat 4.x...maybe it's there)
http://www.jpackage.org/rpm.php?id=2571
-- Jeanfrancois
Regards
Philippe
Jeanfrancois Arcand wrote:
Philippe Couas wrote:
Hi,
Anyone know where i can found RPM for Tomcat 4.1.30 ?
Here : http://www.jpackage.org/rpm.php?id=2570
:-)
-- Jeanfrancois
jpackage has Tomcat 5 (I did look for Tomcat 4.x...maybe it's there)
http://www.jpackage.org/rpm.php?id=2571
Hi,
I suppose what I consider a basic level of technical competency is not
basic, or in general I set the bar too high... But then again, I don't
particularly care ;)
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Parsons Technical Services
[mailto:[EMAIL
Thanks for this website
http://www.jpackage.org/rpm.php?id=2570
-Message d'origine-
De : Jeanfrancois Arcand [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 2 avril 2004 17:47
À : Tomcat Users List
Objet : Re: RPM for Tomcat 4.1.30 ?
Philippe Couas wrote:
Hi,
Anyone know where i can
I've searched previous postings for a possible solution regarding the memory leak
thread that was posted previously but didn't seem to find an answer.
I'm running TC5 on IIS5 and have noticed that the memory gradually decreases to the
point where the server needs to be rebooted.
Does anyone
Does anyone know where I can find a workable version awk for Windows,( and for that
matter most common [U}[Lin]ix utilities) that will run on a windows 2000 box? I was
attempting to run the makefile for Apache Server using MS C++ but at the end of the
build it tries to execute an awk script
I have been battling a memory problem for a few months now with no luck. I
have used profilers and everything else you could imagine. The problem is
we have never been able to duplicate it on the testing servers it only
happens on production which does not see much load at all (100 users a day).
Hi,
Cygwin perhaps? http://www.cygwin.com/.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Shaw, Laurence [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 11:03 AM
To: [EMAIL PROTECTED]
Subject: Unix utils for Windows?
Does anyone know where I can find a
Hi,
As you say, it's unfortunate you can't reproduce this on a test server.
What if you setup a test server and let JMeter pound at it for a few
days?
Is there something in your application, e.g. a user action, that would
trigger an infinite loop or infinite recursion? That would cause that
http://www.cygwin.com/
I'm using grep, tail and scp on windows xp all the time :)
I also like gVim on windows. http://www.vim.org/
Shaw, Laurence wrote:
Does anyone know where I can find a workable version awk for Windows,( and for that matter most common [U}[Lin]ix utilities) that will run on
On Fri, 2004-04-02 at 17:03, Shaw, Laurence wrote:
Does anyone know where I can find a workable version awk for Windows,( and for that
matter most common [U}[Lin]ix utilities) that will run on a windows 2000 box? I was
attempting to run the makefile for Apache Server using MS C++ but at the
I've been fighting a similar symptom. I downloaded the eval copy of
JProfiler and found the problem pretty quickly. I had some static classes
that kept allocating memory that never got de-referenced.
John
-Original Message-
From: LILES, DAVID (CONTRACTOR) [mailto:[EMAIL PROTECTED]
Thanks to all, The winner seems to be cygwin.
-Original Message-
From: Paul Mansfield [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 10:16 AM
To: Tomcat Users List
Subject:Re: Unix utils for Windows?
On Fri, 2004-04-02 at 17:03, Shaw, Laurence wrote:
Does
Is there any standart way to keep the passwords of databases encripted
when creating a pool through tomcat?
--
Emerson Cargnin
Analista de Sistemas
Setor de Desenvolvimento de Sistemas - TRE-SC
tel : (048) - 251-3700 - Ramal 3181
Hi, Just wondering if anyone found this aspect of Java annoying. I know this is
usually a faq, and a lot of people have put a lot of efforts making it better.
But I just find that the learning curve is a bit too steep for new comers. And
it hasn't been improve in j2sdk-1.5 either, at least from
I'd be very interested to hear how one can allocate memory without it
being de-referenced.
It's obviously something to avoid. Can you give a bit of detail?
Thanks.
On Fri, 2 Apr 2004 10:28:22 -0600, John Thompson
[EMAIL PROTECTED] wrote:
I've been fighting a similar symptom. I downloaded the
I am running Tomcat 4.1.24 as service but under stress I get
OutOfMemmoryError. To cure this I want to pass JAVA_OPTS=-server -Xms256m
-Xmx1000m -Xincgc to the Tomcat. Can somebody please tell me where should I
specify JAVA_OPTS so that Tomcat running as service will look at them.
Hello,
I have an application that uses frames. The problem that I am experiencing
is that when I go to a page that loads a new frameset all of my links and
buttons work correctly - that is they produce the correct url:
www.companyname.com/action.do?parameter1=blah . Now when I click one of
Hi,
You might want to search the others. Others as well as I have provided
examples of how easy this is to do.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Malcolm Warren [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 11:53 AM
To: Tomcat Users List
Hi,
You would need to specify this prior to starting up Tomcat.
Just set your environment variables accordingly and fire up the tomcat
afterwards.
Thomas
Mandy Joss [EMAIL PROTECTED]
04/02/2004 11:54 AM
Please respond to
Tomcat Users List [EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
I'm wondering if the leak isn't maybe in Tomcat. I have an environment that has only
be configured for about a week and there are only two java projects that have been
deployed. One is nothing more then a simple Struts site with no heavy code. The other
site only uses Java to send SMTP messages
It was basically a bug in my code that I'm not proud of but the point is
that I found it with the profiler. It showed me exactly which class
continued to absorb memory. It also showed me what memory allocation looked
like for the whole JVM.
-Original Message-
From: Malcolm Warren
Hello,
Particulars: tomcat 5.0.19, fedora core 1, java 1.4.2
When starting tomcat my application loads twice, and I don't know why. The
engine portion of my server.xml is as follows:
Engine name=Catalina defaultHost=localhost debug=0
Host name=localhost debug=0 appBase=webapps
Hi,
It's probably because you have autoDeploy set to true AND an explicit
context with a different path for your webapp. So tomcat deploys it
twice, one with your explicit context and once via autoDeploy with a
path=/ + the app name, i.e. /myApp. Pick one, in your case probably
you should set
Hi,
Thought I'd try again :)
We are using Tomcat v5.0.19 as a stand-alone server,
with the Coyote HTTP 1.1 Connector, on Windows 2000.
We have Tomcat configured with two virtual hosts
(i.e., two Host elements). The virtual hosting is
working great except for a problem with identically
named
Hi,
Wonder wonder wonder ;) Pick up a profiler (you can get free evals),
find the leak, and post your results. If it's in tomcat I guarantee it
will be fixed very quickly (these are top-priority fixes always).
Yoav Shapira
Millennium Research Informatics
-Original Message-
From:
there's no need to be embarrased. happens to everyone. I know I've done that before,
but since I stress test regularly, like weekly or bi-weekly I usually catch these
before it escalates.
maybe I'm anal, but when ever I add a significant feature or module to my webapp, I
always run a quick
We are configured with multiple host tags and each project has identically named
JSPs but we don't seem to be experiencing what you have described
We followed the following document we created
www.dynamichostings.com/TomCat5IIS5.do
-Dave
-Original Message-
From: Lisa Simaki
On Fri, Apr 02, 2004 at 09:18:54AM -0800, Lisa Simaki wrote:
: Host name=xxx.test2.com debug=0
: appBase=C:\TestWebSites\test2
: unpackWARs=true deployOnStartup='true'
: autoDeploy=false
:Context path=/ docBase= debug=0
: reloadable=false /
: /Host
:
: Host
I have already tried this if I set up an environment variable called
JAVA_OPTS as -Dmy.prop=myProp and then try to get it in my application thru
System.getProperty(my.prop); Its null. So I don't think it looks at the
environment variables.
If I specify the same thing in the startup.bat file,
On Fri, 2004-04-02 at 17:54, Mandy Joss wrote:
I am running Tomcat 4.1.24 as service but under stress I get
OutOfMemmoryError. To cure this I want to pass JAVA_OPTS=-server -Xms256m
-Xmx1000m -Xincgc to the Tomcat. Can somebody please tell me where should I
specify JAVA_OPTS so that Tomcat
On Fri, 2004-04-02 at 17:47, Yansheng Lin wrote:
Hi, Just wondering if anyone found this aspect of Java annoying. I know this is
usually a faq, and a lot of people have put a lot of efforts making it better.
But I just find that the learning curve is a bit too steep for new comers. And
it
it's hard to say what's causing the problem exactly without knowing your context
and your action-mappings. maybe in your action mapping, you have one extra / in
front. and tomcat would add that to the requestURL?
-Yan
-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent:
As requested.
_
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.com/go/onm00200415ave/direct/01/
-
To unsubscribe, e-mail: [EMAIL
Hi,
Looks fine.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: The Gman [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 12:42 PM
To: [EMAIL PROTECTED]
Subject: Test
As requested.
_
FREE
public interface MemoryLeak {
public void leak();
}
-
import java.util.Vector;
public class C implements MemoryLeak {
Vector v = new Vector();
public void leak() {
v.add(new Object());
}
}
-
public class MyLeakerServlet extends
Sorry, I made a mistake in my previous post. I end up losing the domain
name in the link i.e I get http://action.do?parameter=blah instead of
Http://www.companyname.com/action.do?parameter=blah. When I look at the
page source, the href attribute becomes href=//action.do instead of
Yan,
Thanks for the reply.
The context for my application is as follows (well the engine element and
onwards):
Engine name=Catalina defaultHost=localhost debug=0
Host name=localhost debug=0 appBase=webapps unpackWARs=true
autoDeploy=true xmlValidation=false xmlNameSpaceAware=false
Are you using IIS as the server? Does IIS forward JSP
requests to Tomcat or are you using Tomcat as your
stand-alone web server?
--- LILES, DAVID (CONTRACTOR) [EMAIL PROTECTED]
wrote:
We are configured with multiple host tags and each
project has identically named JSPs but we don't seem
to
Hi Emerson,
Thank you for your help. But I don't understand why I do I have to write Java
code to transmit the file. Shouldn't Tomcat already has this capability. For
example, when we press a link that references to a image said
http://hostName:portNumber/ImageFile/myImage.jpeg from a browser,
You can use hyades from eclipse, I tested it a long ago and it must be a
lot more stable (it worked nice when I tried).
http://www.eclipse.org/hyades/
Shapira, Yoav wrote:
Hi,
Wonder wonder wonder ;) Pick up a profiler (you can get free evals),
find the leak, and post your results. If it's in
I agree. I found date manipulation a real pain when I first started using
them.
On the other hand, I know how to work with them now and I'm not prepared to
write anything better than the existing Java date/calendar classes so I can
live with it now.
I think a short tutorial is probably the best
Shapira, Yoav wrote:
Hi,
It's probably because you have autoDeploy set to true AND an explicit
context with a different path for your webapp. So tomcat deploys it
twice, one with your explicit context and once via autoDeploy with a
path=/ + the app name, i.e. /myApp. Pick one, in your case
You can do this way, but a context just for containing the audio files
is a kind of weird. Other approach is to have a symbolic link from your
context to the audio directory...
Kam Lung Leung wrote:
Hi Emerson,
Thank you for your help. But I don't understand why I do I have to write Java
code
Thank Emerson,
That was what we had done so far. This is what we did;
1) deploy the myApp.war to the webapps directory.
2) start up tomcat and watching tomcat unpacks the myApp.war
3) stop tomcat after all wars are deployed
4) manually create a soft link within the myApp directory
ex. ls -s
The stickySession line is not recognized on Linux either. Where can I
find the correct method to implement sticky sessions?
Best regards,
E. Robles
Eulogio Robles wrote:
I'm trying to set up sticky sessions on Apache/Tru64, using JK2 latest
version. I'm using both Apache 2.0.49, and the
I apologize - but I haven't been receiving any of the tomcat-user lists emails to my
previous email account. I have since switched to this one. Anyway...
Tom K. - asked:
Are you using jstl tags to connect to your database? Looking at your
error, I noted the path http://java.sun.com/jsp/jstl/sql
Hi Chris,
Frames are very inconsistent on different browser, so most
developers try to avoid them. With that said, some times you have to
tune you path to work with the classpath.
First of all see where your path is pointing to by use a few commands
e.g.
String path =
Hi,
I am trying to connect tomcat 5.0 and Apache 2.0.48 through JK2
connector using JNI on Windows 2000. The channel.jni:jni init is failing.
I greatly appreciate any help with this.
Thanks,
Sreeni
Following are the errors from the log file mod_jk2.log
I apologize - but I haven't been receiving any of the tomcat-user lists emails to my
previous email account. I could only see responses in the mailing list archive. I
have since switched to this email address and the mailing list is working fine.
Anyway...
Doug - Parsons Technical Services
On Wednesday 31 March 2004 15:14, Emerson Cargnin wrote:
Hi, I run apache 1.3 whit Tomcat 4.1 and i use mod_jk2. Its works fine.
Ive being researching about mod_jk and as far as I can see, the mod_jk
was made to work with apache 2 (even that it says that it works with 1.3).
Do I have to
As I said, this is a faq. There is already tutorials on Sun's Website. But the
way it works now is kind of counter-intuitive. That's the problem to new user.
Wouldn't it be nicer if Sun came up with an Wrapper interface that allows the
user create a Date object with different arguments?
How can I mantain databases passwords without :
- Being put in the code (arg)
- Being in plain text in server.xml (as configured for tomcat)
I use another approache than the pool from tomcat, that consist in a
separate servlet and a PoolManager, which is accessed in a static way.
(so other
The directory already exists. The error seems to relate the fact that
mod_jk2.so doesn't exist in the source directory. But why? I don't see any
error that points to where the compile is failing.
--- Walter Truitt [EMAIL PROTECTED] wrote:
I would try making the directory for it possibly.
I am not sure about Context path=/ docBase=myApp/.
I think if you try Context path=/myApp docBase=myApp/, the container will
append a / to the path, i.e., /myApp/***.do. But if you use Context path=
docBase=myApp/, then that's the default webapp path, which is not something
you want. But the
Do sessionListeners reside in a different context from other servlets?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I highly recommend:
UnxUtils - GNU utilities for Win32
This are some ports of common GNU utilities to native Win32. In this
context, native means the executables do only depend on the Microsoft
C-runtime (msvcrt.dll) and not an emulation layer like that provided by
Cygwin tools.
SF seems to be
I have two contexts. I have marked both of them as
crossContext=true. I am able to forward via a
requestDispatcher from the first webapp to the second webapp.
However, I am getting a NPE in the destination servlet in the
following code:
if (request != null) {
HttpSession session =
Why does Sun need to do it? Anyone could do it. Seems like it could be
a candidate for Jakarta Commons... or is it too trivial?
http://jakarta.apache.org/commons/
dwh
Yansheng Lin wrote:
As I said, this is a faq. There is already tutorials on Sun's Website. But the
way it works now is
Thanks Tom,
That all looks interesting. What I have done for the
html:link=/action... page tags is removed the / from the front so when
it adds a / it becomes correct instead of adding a second slash ie //action.
The only problem is that the buttons do not work since they are within a
form tag
Actually Yan, that might be something that I want since I am only serving
out one web application and I want it to be mapped to the domain
www.myapp.com
Is that what specifying Context path= docBase=myApp/
c.
-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent:
Do sessionListeners reside in a different context from other servlets?
I'm trying to create a session listener that stores the sessions in a context scoped
Object.
For some reason, other servlets can't seem to access the the object.
/**
* Adds a reference to the new session to the
Hi,
if (request != null) {
HttpSession session = request.getSession(true); -- NPE
The stack trace points to this line as the NPE line? Are you sure? Can
you post the stack trace?
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
may
Hi,
No. I don't know why the code you posted wouldn't work, it looks fine.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004 2:59 PM
To: Tomcat Users List
Subject: Session Listeners in separate
Thanks
On Friday 02 April 2004 03:07 pm, Shapira, Yoav wrote:
Hi,
No. I don't know why the code you posted wouldn't work, it looks fine.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: Friday, April 02, 2004
1 - 100 of 148 matches
Mail list logo