We use only tomcat and we set following:
response.setHeader(Cache-Control, no-cache);
response.setHeader(Pragma, no-cache);
response.setDateHeader(max-age, 0);
response.setDateHeader(Expires, 0);
and we combine it with:
hi All
i have a global include file . i have put to header in the file as given
below.
response.addHeader(Cache-Control,no-cache);
response.addHeader(expires,0);
when i work with tomact + IISboth header works fine.
but when only tomact is running the these headers doesn't work. is
hi again,
answering my own question ...
Using Tomcat with Taglibs requires jdk-1.3.
Stefan
hi,
as I've tried to summarise in the subject already, I run tomcat 3.2.2
both under linux (suse 7.0) and under windows (2000). The linux-box uses
java 1.2.2, the windows-box java 1.3. I have
Hi, i work on a SCO Unix Openserver 5 without perl installed.
(and I can't installed perl on it :( ).
Does anyone can send me a mod_jk.so
it will work if I take an mod_jk.so from another server
Thanks for your help.
Uzeb
__
Voila vous propose
Hi all
i am testing tomcat with using ap which comes with apache
what is ideal test case , ? for example 1000 user , 7 concurrent is ideal ?
and while i am testing tomcat sometimes it uses %98 cpu and never gives it
back ..
i configured my server.xml like that
Parameter
Hello,
I've got a SUSE-linux 7.0 machine running and installed Tomcat on it. I
configured it and can now start/stop Tomcat without errors. Now I want to
configure tomcat to work under apache and started reading the how-to on
this. Problem however is that the doc's refer to
You have to download the sources here :
http://jakarta.apache.org/site/sourceindex.html
and unzip the file in
/path/to/tomcat/jakarta/src/
I hope it will help U.
Uzeb
Hello,
I've got a SUSE-linux 7.0 machine running and installed Tomcat on it. I
configured it and can now start/stop Tomcat
Dear Fellow Tocaters:
Could someone tell me how to obtain a non corrupt
version of the isapi_redirect.dll. I have spent my entire weekend trying to get
the dll to load successfully (i.e. obtaining the upward green arrow).
I am running windows 2000 professional, and using
IIS5.0. I have
HI
Can someone tell me where exactly I must put my servlets in Tomcat?
Thanx.
S.
You should map url's to your servlets. See the servlet and
servlet-mapping
tags in web.xml, e.g.:
servlet
servlet-name
login
/servlet-name
servlet-class
com.yourcompany.LoginServlet
/servlet-class
/servlet
servlet-mapping
servlet-name
login
Hmm, should I get the servlet-API sources or the jakarta-tomcat sources?
:--Original Message-
:-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
:-Sent: Monday, June 11, 2001 11:53 AM
:-To: [EMAIL PROTECTED]
:-Subject: Re:I need to build mod_jk.so, can't find it however
:-
:-
:-You
Egidijus,
I have the same problem you have (had?)
That is when going through apache (port 80 via
mod_webapp to Tomcat 4b5) I get the following behavior:
/examples/jsp/num/numguess.jsp returns
a blank screen.
/examples/jsp/dates/dates.jsp works
correctly.
When going directly to tomcat
I spent most of last week struggling to get the green arrow! (same
configuration). Finally got it to work by deleting reg key and re-entering
all details (although I spend a couple of hours checking settings were
correct!) - the isapi_redirect.dll will not register with regsvr32, although
this
i have followed your instructions but it doesn't work
the Webbrowser tells me that he could not find the page
-Ursprüngliche Nachricht-
Von: Amos Shapira [mailto:[EMAIL PROTECTED]]
Bereitgestellt: Montag, 11. Juni 2001 12:14
Bereitgestellt in: tomcat-user
Unterhaltung: jsps and
I'm not sure but I put them under WEB-INF/classes
BR,
Istvan
-Original Message-
From: Kotsari Aspasia [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 3:14 AM
To: '[EMAIL PROTECTED]'
Subject: where do i put servlets?
HI
Can someone tell me where exactly I must put my servlets in
Hi,
I have installed Apache, mod_ssl and OpenSSL. The thing I want to do is
create a servlet to get the client's certificate. I have successfully
installed Jakarta Tomcat 3.2.1 and tested with HelloWorld servlet by HTTPS
and it works. That means the servlet works ok with SSL. However
Look at tomcat's logs, for a start
-Original Message-
From: Burkard Endres [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 1:40 PM
To: [EMAIL PROTECTED]
Subject: AW: jsps and servlets in same context?
i have followed your instructions but it doesn't work
the Webbrowser tells me
you have to configure your tomcat to require client certificate.
see attribute clientAuth in the SSL configuration
On Monday, June 11, 2001 12:56 PM, J. Chong [SMTP:[EMAIL PROTECTED]]
wrote:
Hi,
I have installed Apache, mod_ssl and OpenSSL. The thing I want to do
is
create a servlet
Hello:
Could someone tell me how to obtain a non corrupt
version of the isapi_redirect.dll. I have spent several hours trying to get the
dll to load successfully (i.e. obtaining the upward green arrow).
I am running windows 2000 professional, and using
IIS5.0, along with Jakarta-Tomcat
This is correct. Servlets are simply another class and should
be placed in webapps/name here/WEB-INF/classes/package name/.
Then add the appropriate servlet mapping(s).
---
Michael Wentzel
Software Developer
Software As We Think - http://www.aswethink.com
I'm not sure but I put them under
I've read everything I can find on the list, and in the
documentation and I still can't get "FORM" authentication to work.
I'm using tomcat 3.2.2. I'm accessing Tomcat
directly (via port 8080) - I've turned Apache off to make sure that
itdoesn't get in the way.
Tomcat correctly redirects
Are you getting any error messages? Do you see a widnow appear and
disappear really quickly?
I would suggest trying tomcat run instead, which will launch to
the same DOS window and probably give you more information about your
problem.
Randy
-Original
All,
I have a Tomcat / Apache / mod_webapp that mostly works.
I'm running the following:
Suse Linux 2.4 kernel
IBM JDK 1.3
Jakarta-Tomcat 4b5
Apache 1.13.19 (as default installed by Suse Yast2)
http://localhost:8080 returns the tomcat homepage
http://localhost returns the apache homepage
All
Hmm, should I get the servlet-API sources or the jakarta-tomcat sources?
jakarta-tomcat sources
Hmm, should I get the servlet-API sources or the jakarta-tomcat sources?
:--Original Message-
:-
:-You have to download the sources here :
First, I would suggest posting only in plain text messages to this
list - a number of readers don't support HTML email and, therefore, have a
hard time reading your message (probably not what you want).
Second, in the same directory as the .dll file, there is a .zip file
named
Did you try restarting Tomcat after changing the web.xml file?
-Original Message-
From: Burkard Endres [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 6:40 AM
To: [EMAIL PROTECTED]
Subject: AW: jsps and servlets in same context?
i have followed your instructions
Hi all
i am testing tomcat with using ap which comes with apache
what is ideal test case , ? for example 1000 user , 7 concurrent is ideal ?
and while i am testing tomcat sometimes it uses %98 cpu and never gives it
back ..
i configured my server.xml like that
Parameter
Remove me from this group^..
Try action="/VP/j_security_check" while assuming that
the rest of the
setup is correct.
Pae
I've read everything I can find on the list, and in the
documentation and I still can't get "FORM" authentication to
work.
I'm using tomcat 3.2.2. I'm accessing Tomcat
Just wondering if anyone else has had the same experience and if they were
able to resolve it.
Trying to get Tomcat 3.2.1 working with IIS5 but I seem to have issues with
the ISAPI redirector. I've used exactly the same configuration with IIS4 on
a different machine and it works perfectly.
The problem is with your Tomcat configuration - AJP12 is reading a
404 from the connector (about 1/2 way through your log entry). Check out
your Tomcat configuration, specifically look that /conference is either a
webapp or a directory from the ROOT context, but the Tomcat logs should
Thanks, but it makes no difference. Is there
any easy way to be sure that my mod_jk.conf is being used?
Mark
- Original Message -
From:
Pae
Choi
To: [EMAIL PROTECTED]
Sent: Monday, June 11, 2001 1:11 PM
Subject: Re: j_security_check
Try
AS SEEN ON NATIONAL TV:Making over Half Million Dollars
every 4 to 5 Months from your Home for an investment of only$25 U.S. Dollars
expense one timeTHANK'S TO THE COMPUTER AGE AND THE
INTERNET!==BE A
MILLIONAIRE LIKE OTHERS WITHIN A
Hi,
I have an application with a Servlet command processor
and business logic, and many JSPs for user interface.
When I'm using JBuilder 4 Ent + Tomcat 3.2.1 to run
the app, all works fine. The Web Server is NT4 +
Apache 1.3.12 and Tomcat is running on port 8080.
However, when I try to deploy
Hi Mark,
I send you attached the parts of mod_jk.conf , web.xml which works for
me;
belonging to directory structure
c:\tomcat\webapps\tute6\form\protected.jsp
c:\tomcat\webapps\tute6\secure\login.jsp error.html
c:\tomcat\webapps\tute6\WEB-INF\web.xml
set Logger name=tc_log
-BEGIN PGP SIGNED MESSAGE-
First of all,
what does spare-treads mean?
Secondly,
there are 2 very important parameters that should be configurated: delay and
threads - and 1 important concept: each new group will begin after the prior
one ends. So, you should have enough CPU and memory to
Ok well I have made some progress this morning. I now how the green up
arrow for the ISAPI filter. I am so excited. Now I just have a couple more
questions. Does it matter what the home directory is for my IIS web server?
I did put in a virtual directory for jakarta. Now when I go to
I changed in the registry the logging to debug and this is what my log file
looked like for one request to http://localhost/examples/jsp/index.html
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp/index.html
-Original Message-
From: Winer, Matthew [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 9:54 AM
To: 'Tomcat-User (E-mail)
Subject: Tomcat and IIS revisited!
Ok well I have made some progress this morning. I now how
the green up
arrow for the ISAPI filter. I am so
Members,
Hello. Does anyone know or has tried to
have multiple domain names on the same IP.
servlet.xml mentions virtual hosts
(commented out):
!-- Virtual host example -
In "127.0.0.1" virtual host we'll
reverse "/" and
"/examples"
(XXX need a better example
)
(use
Keep getting:
A Servlet Exception Has Occurred
org.apache.jasper.JasperException: Unable to compile class for
JSPc:\tomcat4\work\localhost\myapp\javabean\counter_jsp.java:3: Class
javabean.Counter not found in import.
import javabean.Counter;
^
1 error
What folder do I need to put my
Hi Randy,
Thank you for your reaction. I got it working. This will save me a lot
of time and will make my application more scalable.
Sophie
Randy Layman schreef:
The answer is you can't. Even if you could get it to generate the
file names correctly, Tomcat still wouldn't use them.
hi ?
what kind of testing tool or tools are you suggesting ?
-Original Message-
From: Jose Euclides da Silva Junior - DIGR.O
[mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 4:24 PM
To: [EMAIL PROTECTED]
Subject: RES: stress test
-BEGIN PGP SIGNED MESSAGE-
First of
Peter
Can I check what version of Tomcat you're using? Mine still doesn't work.
Thanks
Mark
- Original Message -
From: P.Miller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 11, 2001 1:58 PM
Subject: Re: j_security_check
Hi Mark,
I send you attached the parts of
Spare-threads are idle threads. We want a few idle
threads to quickly answer incoming requests. We don't
want too many idle threads, or else we can negatively
impact performance. So, we can represent the config
below with this pseudo-code in an attempt to make it
more clear:
// Max spare threads
Mark
I'm working with Apache 1.3.19 and TTomcat 3.2.1
My configuration requires Apache Tomcat (Tomcat standalone doesn'T
neewd mod_jk at all!)
regards
Peter
Mark Muffett wrote:
Peter
Can I check what version of Tomcat you're using? Mine still doesn't work.
Thanks
Mark
-
Thanks for your advice but I'm afraid all the tomcat logs seem to be in
order to me. Does anyone have any idea what might be causing this problem?
Thanks again,
Hamish
--console---
2001-06-11 01:53:01 - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll + null)
null
--jasper.log---
2001-06-11
Hi there,
1. can somebody tell me what does the getAttribute removeAttribute methods
of the request object? How can I use them?
2. how can I remove a parameter from a request before forwarding it to
another jsp or servlet?
10x
Florin
Hi All,
I am using Apache and Tomcat to build
my website. The adapter is JServ.I have certain word documents which have
to be displayed on the browser on demand from the end user. I dont
want to end users to view these documents unless they have logged into
the system. What happens right now is
HI There.
We have created two .reg files for NT 4 and Windows 2000. They work for
tomcat installations on
c:\jakarta-tomcat-3.2.1 but should be editable for other file paths. I found
the process to be very error prone, manually making the keys every time.
Win 2k
Windows Registry Editor Version
Hi,
I'm running Tomcat 4.0 m5 with Cocoon2 on Apache 3.1.19 and mod_webapp.
Scenario:
1)lynx http://localhost:8080/examples/servlets/ shows Tomcat's examples
(servlets and JSP) file correctly.
2)lynx http://localhost:8080/examples/cocoon/ shows Coccon's xml files correctly
3)lynx
On Mon, 11 Jun 2001, Burkard Endres wrote:
Hi
i want my servlets and my jsps be served out of the same directory.
this means:
the servlet shoud be mapped to a folder so that they are accessible via:
/myfolder/myservlet
the jsps should also be accessible via
/myfolder/myjsp.jsp
if i
When I check the IIS log files I see a
GET /jakarta/isapi_redirect.dll 401
It is a 401 error. I still have the
jk_uri_worker_map_t::uri_worker_map_close, NULL
parameter
[jk_uri_worker_map.c (185)]: In
jk_uri_worker_map_t::uri_worker_map_free,
NULL parameters
in my isapi.log file and
Hi,
Can anyone tell me how to set the parameters for JNDI etc within the TOMCAT
server configuration. Details that need to be entered appear as follows for
the Java WebStart jnlp file to give you an idea
property name=java.vm.name value=Classic VM/
property name=ORBInitRef
Your workers file is not correct - from your previous messages,
isapi_redirect is finding that the resource should be a redirect to Tomcat.
The problem is it can't find the worker for the redirect - the right side of
the mapping in uriworkermap.properties is not defined (or not correctly
HI :
place following line at top of your startup.bat
set TOMCAT_HOME=d:\Tomcat\jakarta-tomcat-3.2.2
set JAVA_HOME=d:\jdk1.3.1
It should work
Regards,
Hemant
- Original Message -
From: gek hua [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, June 10, 2001 7:22 PM
Subject: setting up
HI Ann:
no doubt your problem is offcourse configuration related.
Try giving all permission in your java.policy file(Make sure it is
java.policy or .java.policy)
eg.
grant {
permission java.security.AllPermission;
}
Let me know if this also don't work
Regards,
Hemant
- Original Message
HI Peter:
you are getting the BindException, the most
possible reason for this is that box you are trying to run tomcat already
running some application which is using port 8080, so you try changing the port
from 8080 to someother (In server.xml) and try running it again,
Regards
Hemant
I'm having problems with Tomcat's sticky session implementation while in a
cluster of Tomcat 3.2.2 worker instances running Ajp13.
From what I understand from the documentation, when a session exists, mod_jk is
suppose to forward all requests for that session to the original Tomcat instance
that
Mark,
The mod_jk stuff doesn't matter if you are talking to tomcat directly. Have
you
checked out the security example that comes with tomcat 3.2.2?
Does that work? (You might need to modify your server.xml file)
-Mike Jennings
- Original Message -
From: Mark Muffett [EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Up now, none.
José Euclides Júnior
__
E-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://euclides.8m.com
- -Mensagem original-
De: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Enviada em:
Hello.
Does anyone have any advice to offer on setting up an Apache/Tomcat
server for student projects? Currently our students can just ask for
CGI permission if they need it for their project and we enable their
~/public_html/cgi-bin directory. Is there a way I can just enable
Am I
the only one who just got this in.. is it.. Russian?
-Original Message-From: MVB
[mailto:[EMAIL PROTECTED]]Sent: Friday, June 08, 2001 11:58
PMTo: [EMAIL PROTECTED]Subject:
MVB
ÂÛ ÇÍÀÅÒÅ ×ÒÎ ÒÀÊÎÅ ÃÐÈÍÌÅÉË
?ÝÒÎ ÀÊÖÈÎÍÅÐÍÛÉ ØÀÍÒÀÆ, ÀÃÐÅÑÑÈÂÍÎÅ ÏÎÃËÎÙÅÍÈÅ
Hi,
I have done this before on my Linux server, but only by manually
modifying server.xml to explicitly add contexts that point to
something off of each user's home directory.
For example, in my server.xml file (tomcat 3.2.2) I've got the following:
Context path=/~craig
Hello:
I would like to send a special thanks to Rex...I finally got the
isapi_redirect.dll working. I would appear that using regedit does not
entirely do the job. As Rex had suggested, it would be best (but time
consuming) to manually create the .reg file and that's it.
Personally, I don't
Here is a copy of my workers.properties and uriworkermap.properties files.
I was told that this is where my problem lies. If somebody could take a
quick look, maybe see if anything is wrong. Thanks
#
# $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v
1.2.2.1 2000/10/16
-BEGIN PGP SIGNED MESSAGE-
So, spare-threads seems to be waiting listenners, doesnt it? Its always very
very important that you have an ideia about the amount of users which are
using your application at the same time... Thats the reason for using
threads. Some questions: does your app
I have a web application served by Tomcat (currently 3.2.2b3). I've
configured Tomcat to offer both a secured connector at HTTPS://host:8086/
and an unsecured version available at HTTP://host:8085/. My question is,
should I expect my servlets to see the same session attributes when a
client
Hello:I finally got it to work. I just
wanted to include this post to clarify anymisconceptions about the
isapi_redirect.dll being corrupt. They are notcorrupt!!!I got things
working by following Rex's advice. I would appear that usingregedit does
notentirely do the job. As Rex had
Forwarding
-Original Message-
From: Filip Hanik [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 11:53 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: From Vaskar
please refer this to the tomcat-user list
thanks and have a great week
Filip
~
If I
have the green up arrow in IIS can I assume that my registry setting are 100%
correct?
-Matt
Winer
-Original Message-From: Lawrence Kemdirim
[mailto:[EMAIL PROTECTED]]Sent: Monday, June 11, 2001 1:56
PMTo: [EMAIL PROTECTED]Subject: Re: Corrupt
isapi_redirect.dll and
I just created an applet using javax.swing components. I got it to run but
I had to add the jar file to my classpath so that the import statements
would find javax.swing.*. Obviously, users are not going to know how to add
a jar file to their classpath. Can someone point me to some docs for
-Original Message-
From: Winer, Matthew [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 1:38 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Tomcat and IIS revisited
Here is a copy of my workers.properties and
uriworkermap.properties files.
I was told that this is where my
My guess is that your settings are correct as far
as finding the dll file. However, I don't believe that this means that this is a
carte blanche for all your other settings (i.e. worker.properties, logs, and
workeruri, etc.).
Lawrence
- Original Message -
From:
Winer,
I have Tomcat running as a service successfully however I have one issue.
When I run it as a service I am able to access:
http://localhost/examples/jsp and everything in there. However when I try
to access http://localhost/uwi/com.ups.uoi.servlets.LoginServlet I get:
Error 500:
Location:
You can assume that they are acceptable, and if you're asking the
question then they are probably correct. The only time they would be
acceptable but not correct involves two sets of files and you not wanting to
use one of them
Randy
-Original Message-
From:
Hi all
i am testing tomcat with using "ap" which comes with apache
what is ideal test case , ? for example 1000 user , 7 concurrent is ideal ?
and while i am testing tomcat sometimes it uses %98 cpu and never gives it
back ..
i configured my server.xml like that
Parameter
I appoligize here is the correct file
#
# $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/workers.properties,v
1.3.2.2 2000/10/16 01:59:22 larryi Exp $
# $Revision: 1.3.2.2 $
# $Date: 2000/10/16 01:59:22 $
#
#
# workers.properties -
#
# This file provides jk derived plugins with with the needed
What option did you use with jspc? I am encountering the same problem.
Thanks
Oskar
FRED wrote:
Hi Randy,
Thank you for your reaction. I got it working. This will save me a lot
of time and will make my application more scalable.
Sophie
Randy Layman schreef:
The answer is you
I've a similar requirement...
If anyone has done this before, please let me know..
Thanks,
-Ratnakar
From: Swart, James (Jim) ** CTR **
Subject: RE: Tomcat NT service mode
Date: Tue, 5 Jun 2001 13:00:07 -0400
can't you just change it's properties to startup up automatically in
the
Now, my question is, have you modified Tomcat's server.xml file?
This file indicates that it will try and use ajp12 to connect to
localhost:8007 to find Tomcat. From your uriworkermap.properties file we
know that this one should be used, and from the log files posted earlier we
know
Ratnakar,
After you run the jk_nt_service -i service config-file if you go into
the Services Control Panel you will see the service Sitting there set to
manual and stoped.
For example if I create a service by the following:
jk_nk_service -i Tomcat wrapper.properties
In the Service I will
To do this from a program/non-interactive environment, for an
already installed service, edit the registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[ServiceName]\Start.
The value 2 is definitely for Automatic. I believe that 0 is disabled, 1 is
manual, but I'm not
Randy,
Here is a clip from my server.xml file:
!-- Apache AJP12 support. This is also used to shut down tomcat.
--
Connector className=org.apache.tomcat.service.PoolTcpConnector
Parameter name=handler
Thanks Randy... I think, this one helps...
-Ratnakar
-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 11:00 AM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat NT service mode
To do this from a program/non-interactive environment, for an
Hello
I dowloaded the Tomcat 3.2.2 and unzipped all the
files in a folder: foo\jakarta-tomcat-3.2.2
I set the TOMCAT_HOME variable set
TOMCAT_HOME=foo\jakarta-tomcat-3.2.2
and JAVA_HOME=C:\jdk1.2.2
But still when I try startiing Tomcat from command
it says The system cannot find the
Your TOMCAT_HOME path must be a FULL path like D:\foo\jakarta-tomcat-3.2.2
-Original Message-
From: Priya Gupta [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 12:01 PM
To: [EMAIL PROTECTED]
Subject: Problem starting TOMCAT on Win 2000
Hello
I dowloaded the Tomcat 3.2.2 and
TOMCAT_HOME should be C:\some\dir\foo\jakarta-tomcat-3.2.2 (i.e.
absolute path).
-Original Message-
From: Priya Gupta [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 3:01 PM
To: [EMAIL PROTECTED]
Subject: Problem starting TOMCAT on Win 2000
Hello
I
Hi!Hemant,
Inspite of including the all permission grant in
.java.policy file I have problem connecting to the
database.
The .java.policy file looks like:
grant codeBase http://localhost:8080/log/; {
permission java.lang.RuntimePermission usePolicy;
permission java.net.SocketPermission *,
Hi All,
My application has already been coded to use the encodeURL() method for all
URL references within all of the JSP pages. I now have a need to take the
output of encodeURL() and add additional text to it. Is it possible to
write my own version of encodeURL() that will call the
Priya,
I think you need to set the path of java in your environment variables.
The error system cannot... is generally associated with dos not finding
the executable to run the program.so,include the jave home and tomcat home
in your PATH variable of your comp.also,i think its mentioned in the
At 03:18 PM 6/9/2002 +0530, you wrote:
hi all
can somebody tell me how to precompile the jsp's of my webapp.
i have tried using jspc with options . it just creates the related java
files but not the compiled servlets.
Hit your jsp content once before you go
into production, they'll be compiled
it is possible if you change the source code yourself.
you can read a little bit about the architecture at
http://www.filip.net/tomcatbook/TomcatInterceptors.html
this is focused on the interceptors though
Filip
~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL
Hello,
When we try to upload a long file to a servlet we encounters a problem with
the session
timeout because of the long time it takes to upload the file over a slow
connection (sometimes
several hours).
It seems that the problem is in the way the session timeout is specified in
the servlet
I recently installed Tomcat 3.2.2. When I start the server,
it appears to start correctly (no error messages). However,
when I try to execute the example SnoopServlet from the
browser by typing:
http:localhost:8080/examples/servlet/SnoopServlet
I get an error message indicating that the page
Hi !
I'm using Tomcat 3.2.1
and Struts 1.0-b1.
I'm trying to set up an error page to catch all the 500 errors.
So, following web.dtd (and the order between tags), inside of web.xml, I added
those 4 lines :
error-page
error-code500/error-code
When we try to upload a long file to a servlet we encounters
a problem with
the session
timeout because of the long time it takes to upload the file
over a slow
connection (sometimes
several hours).
It seems that the problem is in the way the session timeout
is specified in
the
I recently installed Tomcat 3.2.2. When I start the server,
it appears to start correctly (no error messages). However,
when I try to execute the example SnoopServlet from the
browser by typing:
http:localhost:8080/examples/servlet/SnoopServlet
I get an error message indicating that the
Tomcat doesnt seem to reload servlets when they are called in a chain. Is there any
way to manually force a reload of servlets and even regular classes with java code
(like an
admin servlet or something)?
Hello,
Yes, I was hoping I could do this just like i've modified the
SessionInterceptor, but the problem is I need to modify the response - not
the request. Am I assuming correctly that interceptors can only modify
requests and not responses?
The actual implementation of encodeURL is done
1 - 100 of 123 matches
Mail list logo