Thanks for respond me soon.
I used oratypes.h, ociapr.h,ocidem.h and ocidfn.h changing the lines
#include ... to #include ..., compile good and oalib.o oracleauth.o
are generated but i can't link it and is when appear the undefined
references.
Thanks again!!! David.
Tres anillos para los
hi everyone,
I'm running an apache server on a RedHat top box ...
I've downloaded the latest sources from the apache CVS server (checkout
webapp / checkout apr)
here's what I do to get the webapp module:
cd /usr/local/jakarta-tomcat-connectors/webapp/
./support/buildconf.sh
and what I get as
ISAPI redirector doesn't rely on tomcat version. You can use
isapi_redirector.dll of tomcat3.3 with tomcat 4.0.4.
The Setup of this redirector is the same as the setup for tomcat3.3.
For more explications, go to www.
members.ozemail.com.au/~lampante/howto/tomcat/iisnt/
garsJC
France
--
To
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thanks I will try that as soon as I can.
But when am I supposed to remove the object inside the request from memory ?
Le Mardi 09 Juillet 2002 20:20, David Mossakowski a écrit :
If you are making requests of servlets, create cResource there and
On Wednesday 10 July 2002 04:47, you wrote:
I have noticed on my dev system (redhat72, jdk14, tc404) running with
the JPDA debugger makes tomcat not want to shutdown.
Larry
[EMAIL PROTECTED] 07/09/02 16:48 PM
99% of the time, that means your app has started a thread someplace and
not
Title: some new probs (tomcat with IIS).. service() failed
Hi,
i am configuring tomcat with IIS. i was successful on my local machine.
I was nect trying out the same thing on serevr machine, but for some reason it
is bombing.. i hv attched isapi.log file. and i am getting
HttpExtensionProc
That's the beautifull thing, the objects that are bound
to the request will be released from memory as soon as
the request is finished. (Technically not perfercly true
they are just marked as 'not needed anymore' and will be
removed witg the next run of the garbage collector().
When and under
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Well that's in the java doc sorry :
attributes only persist as long as the request is being handled.
Le Mercredi 10 Juillet 2002 09:55, Raphael Di Cicco a écrit :
Thanks I will try that as soon as I can.
But when am I supposed to remove the
Matt Preston wrote:
That's not the way to do it! :-)
All that was neccessary for me was to set two environment variables:
JAVA_HOME = /usr
CATALINA_HOME = path to tomcat
In my case, I have multiple tomcat versions installed, and I set a
symbolic link to the one I want to use in
onnection:
// Class.forName(org.gjt.mm.mysql.Driver);
^^^use this, it works.
conn =
DriverManager.getConnection(jdbc:mysql_caucho://localhost/ticket
localhost:PORT/DBNAME PORT =
Hi ,
is it possible to use different ssl keys for differen vhosts?
TC 3.3.x Linux?
M.Schwarz
Ihr Support-Team
POWER-NETZ®
Full-Service-Provider
Online-Support:
Support: 0190 - 15 11 15 (EUR 0,62/Min)
http://Support.Power-Netz.de (kostenlos)
http://Support.Power-Netz.com
Hi,
I need to read .xsd (schemas) for xerces validation under tomcat. How do
I get tomcat to look for them in a directory like WEB-INF/schemas ?
Currently, tomcat is looking for them in the root of the main drive (under
windows 2K professional).
Thanks for your help - edwardJones
--
Bryan,
The link Eddie included will more than likely help fix your problem.
However, I would highly recommend the AJP (mod_jk) connector over the
WARP (mod_webapp) connector... it seems more mature, and also supports
load balancing (a useful thing if you still want to use Apache, which it
Hi
I want to know what parameters need to be set for
CATALINA HOME
CATALINA BASE
CATALINA TMP
in tomcat 4.04 i did set tomcat home to be c:\Tomcat.
Regards
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I'm not positive, but I was under the impression that you cannot see
inside the WEB-INF folder.
I would just create a new folder in the root of your app and reference
them absolutely /Schemas
- Andrew
-Original Message-
From: Dr. Edward R. Jones [mailto:[EMAIL PROTECTED]]
Sent:
Hi Schwarz,
when an SSL-Connection is established, the Certificate(s) are
exchanged FIRST, and only then the Browser sends the Request with all
the headers. So the Server only knows which Virtual Host you request
AFTER it has sent its certificate.
There IS a way to get this working though,
Hi,
I get the same using jdk1.3/Tomcat 4.0.4 with Caldera OpenLinux 3.1.1. I
have not had it dieing yet, but I have only just installed it, so haven't
really hammered it yet. Did you find out what the problem was?
Regards,
Wm.
-Original Message-
When we start Tomcat on our Redhat 7.2
Sorry for my imperfect english. I tried to do what you did and I have got
some unexpectable result. I created the page wait.jsp with a code exactly you
pointed in you e-mail and it really does not show anything in browser
although the page wait.jsp works perfectly itself. But when I put (below
Yes, that seems to be the case. The problem is that I'm validating
arbitrary xml files using namespaces, and the schema locations specified
in those files are relative to the application directory. In other
words, xerces is expecting to find them in the same directory as the
class file,
Hello.
For a customer I developped a webapp which will be deployed under Tomcat
4.0.1 (Because of the validation cycle which can't allow me to upgrade the
release easily).
When TC starts, it creates in the temp directory several jar_cache* files. I
suppose that it represents all jars in all
You can delete them after stoping tomcat and before starting it again
This is at least what i do.
Arnaud HERITIER wrote:
Hello.
For a customer I developped a webapp which will be deployed under Tomcat
4.0.1 (Because of the validation cycle which can't allow me to upgrade the
release
ok... but remember that all the classes will reside in the common\classes dir...
So how will the class know which context accessed it? That's what I can't figure
out... I tought about config files... but I don't know inside the dispatcher class how
to identify the context... or to read the
But if there are several tomcat servers on the same server, how can I
recognize which jar_cache file belong to which server ???
-Message d'origine-
De : Skondras P. [mailto:[EMAIL PROTECTED]]
Envoye : mercredi 10 juillet 2002 13:55
A : Tomcat Users List
Objet : Re: jar_cache files
well... first one thing... the class that provides the connection (DAO) is not a
Servlet... would I have to make a Servlet (the mentioned Connection Dispatcher) in
order for that to work???
.:| Christian J. Dechery
.:| FINEP - Depto. de Sistemas
.:| [EMAIL PROTECTED]
.:| (21) 2555-0332
Howdy,
You may have to unpack your 3rd party jars, and repack them with only
the classes you want. This is a sucky (official technical term)
situation, as one shouldn't fuss around with 3rd party jars ;(
However, I know other people have run into this with Sybase EAS jars and
this is the
I've never experienced any probs with jars made in Sybase EAS and we are
running the application server for a while now on multiple projects with
success, so I could only recommend it
Gunter
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Shapira,
Hi, how can I turn off logging alltogether for Tomcat 4 from May 30th on a
development machine, and I'm not into debugging Tomcat itself. I'm using
log4j for my webapps, and in my webapp I have added
servlet
servlet-namecondb/servlet-name
...
init-param
I have a class (let's name her A)... and I want it to be accessed by all webapps...
so I tried placing her at tomcat_home\classes, tomcat_home\common\classes... but when
I execute the JSP it says :
Generated servlet error:
C:\Tomcat 4\work\localhost\teste1\teste$jsp.java:59: Class
Hi Christian,
Try placing the class in tomcat_home\shared\classes . That works for
me.
take care - edwardJones
On Wed, 10 Jul 2002, Christian J. Dechery wrote:
I have a class (let's name her A)... and I want it to be accessed by all webapps...
so I tried placing her at
Hello all,
Anyone know how to automate a JDBC realm login, so the user will not have to login
when visiting a secure page during a different session ? This would be similar to a
remember me checkbox on the login page.
I have tried to use a bean and servlet to set the j_username and
Howdy,
1. Go through server.xml and make sure the various debug=x statements
are set to debug=0.
2. I didn't see a level for the root logger, and I think the log4j
version is DEBUG. Do you programmatically specify the root logger level
for some other reason? It's a good idea to have the root
tomcat keeps a lock on all the current jar_cache files; if you write a batch
file that runs once a day that removes them the directory shouldn't clutter
with outdated cache files.
a batchfile with something like:
cd \temp
del /F /Q jar_cache*.tmp
this will generate error messages for files
didn't work... I did a test here to see if this thing worked before implementing the
Connection Dispatcher...
the Servlet can't find the context in which the JSP that called it is...
here's what I did:
* created two classes TesteDispatcher and TesteCallDispatcher.
TesteDispatcher is the
Hi, and thanks for answering
1. Go through server.xml and make sure the various debug=x statements
are set to debug=0.
Except for the JDBC, all were at 0. The JDBC were at 99, and I've set them
to 0 now. I still get heaps of messages like
DEBUG [main - characters]
Is it possible to set up virtual jsp/image folders in a stand-alone
implementation of Tomcat?
Ant.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Well, the classes themselves wouldn't be used to get the init params or read
the db.properties file. You would use a Servlet to do that, and then you
would just pass the params (or Connections created from those params - however
you're doing things) to the instance of the DAO class you would be
Hi Folks,
I'm trying to setup a web app protected with an http digest
authentication. Everything looks fine, except that Tomcat behaves like my
username/password were always wrong.
I tested it against the following clients (supporting digest auth of
course) :
- Opera 6.0
- Internet Explorer
Howdy,
So yes, I want to keep the DEBUG level. However, most of TomCat's info
comes at DEBUG level, and this is the information that I want to get
rid
of. I don't think that raising the level to WARN is a good idea as this
is
not warnings but debugging messages. WARNings should be kept warnings.
First thanks for Craig for is explanations.
I have missed that we can use the role link in jsp, so as you said I can
in fact use only the web.xml to link the roles to real user/groups or
roles in my deployment system.
My point, is that reading again the specification this is not very
I reported the issue with DBCP as bug 10614:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10614
As far as versions of the various commons libraries, I am currently using
Tomcat-4.1.7, so the commons library versions are whatever come with the
4.1.7 build of Tomcat except for the
Try,
InputStream is =
getServletContext().getResourceAsStream(/WEB-INF/Schemas/MySchema.xml);
This will work whether the webapp is deployed as a directory on the file
system or as a .war file.
Jake
At 05:31 AM 7/10/2002 -0500, you wrote:
Yes, that seems to be the case. The problem is
Hi,
I'm trying to run 2 different versions of Tomcat (3.2.1 and 4.0.3) through
1 Apache (1.3.26). I haven't had much luck running the two modules
ApacheModuleJServ and Mod_jk together through Apache with Include
statements, actually I'm not even sure if it's possible...?
Now I'm going to try
Under unix it's legal to delete files that are in use.
If a used file is deleted, the directory entry (i-node)
is removed but not the file. The file will automagically
deleted if the file isn't used any longer. Depending
on the architecture of the process that uses the file
you may get
Under AIX 4.3.3, when I do a rm -rf /tmp/jar_cache* the command don't
failed.
It is normal ???
This files aren't used after bootstrap of webapps ???
Arnaud
-Message d'origine-
De : Mark Prins [mailto:[EMAIL PROTECTED]]
Envoye : mercredi 10 juillet 2002 15:27
A : 'Tomcat Users
I was playing around with creating some custom error pages for a web application
(servlets and JSPs) and I'm not sure if what I am seeing is correct or not. I've
had a look around the archives but can't see anything about this particular
problem, but apologies if someone's already asked it
You can put the mount directives for both mod_jserv and mod_jk into apache's
VirtualHost containers...their shouldn't be any need to put them on
different ports. Something like this:
VirtualHost www.site1.com
AppJServMount /someURL ajpv12://someURL:someTomcat_3.2.1_Port/someURL
/VirtualHost
Burk !!
If a TC dev can say to me if this files are used after the bootstrap it can
help me.
Otherwise it is possible to generate this files to another directory in
order to have files of each TC in differents dirs ??
-Message d'origine-
De : Ralph Einfeldt [mailto:[EMAIL PROTECTED]]
I don't now if it is realy possible to use mod_jserv and
mod_jk in one apache.
Is there any reason that you don't setup two instances of
apache? That would be the easiest and safest way to get
what you want.
If you wan't to stick to your approach I would recommend
to setup 2 virtual hosts
Thanks again. Any suggestions as to how to test/repair the servlet setup? The file is
empty.
Would the web.xml file cause any conflict between IIS and tomcat?
Thanks,
Diana
-Original Message-
From: Kranson, Bob [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 4:32 PM
To:
I was actually trying to do this.
VirtualHost lindos.mapinfo.com:8080
ServerAdmin [EMAIL PROTECTED]
DocumentRoot F:/apache1.3.26/Apache/htdocs/manual
ServerName lindos.mapinfo.com
ErrorLog logs/error8080.log
CustomLog logs/access8080.log common
Include
Sorry for this off-topic mail but :
Maybe you should take care with what you say about other's products - especially if
you are a concurrent vendor.
On CMS (content management systems) mailing lists people had problems when they told
bad about some products.
Regards,
Andre POWROZNIK
PS :
As Ralph pointed out, that may be the preferred way to go. Two instances of
Apache is no problem, you just have to make sure the various parameters are
separate (port, logs, etc).
John Turner
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Hi,
I came across this error in mod_jk.log:
[jk_ajp13_worker.c (228)]: connection_tcp_get_message: Error -
jk_tcp_socket_recvfull failed
Can anyone tell me what this means?
There is a bug posted for this error but there doesn't seem to be a fix yet.
Here's the link:
Hi,
I have two version of tomcat - 4.1.3 and 4.1.7!
If I deploy the same war file on both and keeping the conf dir files the
same. Then I get debugging info printed on the console windows when I
use 4.1.3 but not on 4.1.7 - why? Is this a bug or a new feature? I do
get the information printed
Ahh, that looks like what I may have to do. Thank you both for your help.
Since I've got your attention, I've just got one more question. The reason
I'm setting up two different versions of Tomcat on my machines, wasn't by
choice. We were actually running everything on Tomcat3.2.1 and it was
Hi,
my servlet opens a jdbc connection in init() (connection pooling) and saves the
connection in a variable.
If the database becomes out of service for any reason, the connection gets corrupted
and the servlet throws a SQLException.
Is it possible to reload (init()) the servlet after an
Hi,
So you want the servlet to always keep the connection open and available?
If your web-server is long-lived, that may not be the best idea.
How about having some singleton that keeps the connection, and a monitor thread that
periodically validates the connection? If the connection is
You can still do this (by using 4.1.7 at least) by declaring all the
resources under global resources with different names and then providing a
ResourceLink in each context with the generic name you are using to each
the appropriate resource.
Regards.
- Original Message -
From: Christian
It is possible we have a structure like that:
/www/online/site 1 - n
/conf
httpd.conf
File that contains the site specific setup for apache
...
/bin
start.sh
Script that calls the apache that we want to use for
this site with the site specific httpd.conf
There must me a servlet called somewhere which then hands control over to
the helper classes to do the work ?
Regards.
- Original Message -
From: Christian J. Dechery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 1:10 PM
Subject: Re: Need Ideas... big problem!
A JSP is a servlet, so you shouldn't need to create another class derived
from servlet to do the job.
If your call is directly to a servlet, that servlet can use the code for
parameter lookup itself as is.
Regards.
- Original Message -
From: Christian J. Dechery [EMAIL PROTECTED]
To:
- Original Message -
From: Arshad Mahmood [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 4:12 PM
Subject: Re: Need Ideas... big problem! (long)
A JSP is a servlet, so you shouldn't need to create another class derived
from servlet to do the
- It's not a good idea to open a connection in the init method.
- It's better to use a connection pool (e.g. DBCP from the
commons project) and get the connection from the pool for
each request (ideally this handles timeouts transparently to
the application programmer).
- If you want
is there a way to change the location of the jar_ cache files ?
I dont want to have them into the system TMP dir
regards
ekkehard
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
This is my second email. Can anyone send me the tomcat start/stop script
. I am running tomcat as tomcat user and want to start tomcat as tomcat
user on system startup automatically.
Thanks
jerry
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
You have to tell us what platform. ;)
John Turner
[EMAIL PROTECTED]
-Original Message-
From: Kapil Sharma [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 11:45 AM
To: 'Tomcat Users List'
Subject: Tomcat startup script
Hi,
This is my second email. Can anyone send me the
How do I configure Tomcat to run behind iPlanet Web Server? I have the
tomcat-jk2.jar. How do I use this jar? Any pointers to docs would be
very helpful.
Thanks
Sesha
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Google is your friend. Always.
http://tomcatbook.sourceforge.net/book/defaulthtml/ch06.html
for other results:
http://www.google.com/search?hl=enie=UTF-8oe=UTF-8q=iplanet+tomcat+integr
ationbtnG=Google+Search
John Turner
[EMAIL PROTECTED]
-Original Message-
From: Sesha Nandyal
About that 'load-balanced Tomcat'...
Are you load balancing them through an Apache connector (the mod_jk this
thread is about)?
Is it possible to use the catalina HTTPConnector? I suppose it would
require telling HTTPConnector that there are multiple instances of
Tomcat right? WOuld that
Andrew Conrad wrote:
Not sure of your version. I'm referring to 4.x
Yep, 4.0.1.
The documentation says that the port is used for shutting down the
server only, and that the request MUST come from the local machine.
Meaning, to me, that it probably binds to the 127.0.0.1 Address, and
that
John,
Thanks for the reply - however, the first link uses NSAPI (C Version). I am
trying to use the java version, tomcat-jk2.jar (the jakarta site has a note
about it). So far I have not been able to find any doc that tells how this jar
could be used.
Incidentally, what is Coyote
Let me provide a few pointers.
http://developer.iplanet.com/docs/technote/webserver/migratin.html
The short story is to use the NSAPI redirector
and AJP13. Configure the AJP13 Connection handler
in server.xml.
The redirector is typically included in the tomcat
distribution. Though some
Hi:
I am using:
Windows 2000
IIS 5.0
Tomcat 4.04
JDK 1.4
Oracle 9i
Orcale OCI JDBC driver
( I am using NMP in place of TCP for connecting db server)
using JSP/java beans
I am getting following error when I tried to connect to database.
ORA-12560: TNS:protocol adapter error
sqlState=66000
I
I'm having some difficulty understanding the solution u guys provided me... maybe I
explained my problem badly, so u aren't fully understanding it...
but I have a question that is quite simple:
Is it possible for a class (or Servlet) located in $tomcat_home\common\classes - that
will be
You've successfully stumped me. Don't feel as though it is a great
accomplishment though ;-) Every time I feel I nearly have my mind
around this stuff, I realize another aspect that I am clueless about.
My inference is that people who want to load-balance use mod_jk. Using
mod_jk (to me)
On Wed, 10 Jul 2002, Christian J. Dechery wrote:
Date: Wed, 10 Jul 2002 13:27:26 -0300
From: Christian J. Dechery [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Need Ideas... big problem! (long)
I'm having some difficulty understanding
On Tue, 9 Jul 2002, Clay Graham wrote:
Date: Tue, 9 Jul 2002 19:49:59 -0700
From: Clay Graham [EMAIL PROTECTED]
To: 'Craig R. McClanahan' [EMAIL PROTECTED],
Tomcat Users List [EMAIL PROTECTED]
Subject: RE: going crazy with DBCP
Craig,
my reading from that was that it was trying
On 10 Jul 2002, Chris A wrote:
Date: 10 Jul 2002 06:31:06 -0700
From: Chris A [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: automate JDBC realm login
Hello all,
Anyone know how to automate a JDBC realm login, so the user will not
Sorry, I haven't been listening to this thread but can't you just pass the
context as a parameter to the method?
Andy
-Original Message-
From: Christian J. Dechery [mailto:[EMAIL PROTECTED]]
Sent: 10 July 2002 17:27
To: [EMAIL PROTECTED]
Subject: Re: Need Ideas... big problem!
But I want the code I would write in the A class... cuz I will create a Servlet to
provide a connection to the JSPs, but I don't wanna change the JSPs... inside my
Servlet (A) I don't have access to the request object.
Could u write some example code for the A class to figure in which context
Hello
I have Tomcat configured to use client authentication in server.xml .
I'm using Sun j2se 1.4 .
When I try to get the client certificate, with:
X509Certificate[] certs =
(X509Certificate[])request.getAttribute(javax.servlet.request.X509Certificate);
I get the cast exception:
Say that again? If you have a servlet, it extends HttpServlet, and you most
certainly have access to the Request object, as well as the Response object.
John Turner
[EMAIL PROTECTED]
-Original Message-
From: Christian J. Dechery [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10,
is there a way to solve this problem :
A vulnerability has been reported for Apache Tomcat 4.0.3 on a Microsoft
Windows platform. Reportedly, it is possible for a remote attacker to make
requests that will result in Apache Tomcat returning an error page
containing information that includes the
Hi, Christian.
I would recommend now taking a good look at the Java Servlet
Specification and letting all these suggestions digest while you go through
that. Things should start to make more sense once you have a better handle on
servlets. Maybe take a look at the Tomcat servlet examples
We are seriously looking into using Tomcat. What 3rd party company can we use for
Tomcat Support?
Thanks.
Jose Aguilera
This message is intended only for the use of the individual or
I have set up Tomcat with an addition to the PATH in startup.bat (set
PATH=..\webapps\TestServlet\dll;%PATH%). When Tomcat starts from this batch file,
the servlet can access files in this directory. However, when Tomcat runs as a
service, the servlet can't access the files in this
[EMAIL PROTECTED] ;)
John Turner
[EMAIL PROTECTED]
-Original Message-
From: Jose Aguilera [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 1:26 PM
To: Tomcat Users List
Subject: Looking for 3rd party support for Tomcat.
We are seriously looking into using Tomcat. What 3rd
Hi Kyle
Run the following code in your servlet.
ServletContext sc = getServletContext();
String RootPath = sc.getRealPath(/);
This will return the path where the context is. Ie:
$TOMCAT_HOME/webapps/yourapp
This will work in all situations no matter where your app is installed
Hope this helps
exaclty... I looked on HttpServlet... request and response are passed as parameters...
so I don't HAVE it. And since it's passed as a parameter I would have to change 150
JSPs to pass this new parameter...
and I don't wanna change anything, only create a new class... if in the solution comes
No promises, but it would be interesting if you created a key for tomcat.exe
in:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths
-Original Message-
From: Pearsall, Kyle [mailto:[EMAIL PROTECTED]]
Sent: 10 July, 2002 11:32 AM
To: Tomcat (E-mail)
Subject: PATH
The servlet engine handles it for you. Definitely take a look at some
examples and the servlet spec, and it'll start to make more sense.
Christian J.
Hi,
Regarding the recent advisory from Westpoint Security:
-
Westpoint Security Advisory
Title:Apache Tomcat Cross Site Scripting
Risk Rating: Low
Software: Apache Tomcat v4.0.3
Platforms:WinNT, Win2k, Linux
Vendor URL:
Please, check some docs and some servlet examples.
You most certainly DO HAVE both the Response object and the Request object
EVERY TIME your servlet is called. That's just how it works. Whether you
choose to use the objects in your class's methods is up to you. Just
because you don't choose
And, BTW, you DON'T need to change any JSP pages to be able to use the
Request and Response objects. They are there automatically.
John Turner
[EMAIL PROTECTED]
-Original Message-
From: Turner, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 1:51 PM
To: 'Tomcat Users
But that's exactly what I'm talking about...
if doSomething() has to receive parameters, then the answer to my question (like 10
posts ago) is NO - there is no WAY a class/Servlet can know in which context its
method was called. This can only be done if the something is passed to this class:
hi,
in a servlet, you can try :
String contextpath = request.getContextPath();
or even :
ServletContext sc = getServletContext();
String contextName = sc.getServletContextName();
If I understand your question correctly, this is at least one of the things you're
asking about ?
hope it
I apologize if I didn't answer your question, but you've honestly got me
going in circles. You're saying that your servlet can't know it's context
unless it gets something passed to it (which it does), and your servlet
can't have something passed to it because you don't want to change JSP
From: Christian J. Dechery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 10, 2002 6:56 PM
Subject: RE: Need Ideas... big problem! (long)
But that's exactly what I'm talking about...
if doSomething() has to receive parameters, then the answer to my question
(like 10 posts ago) is
I think you need to start again and explain what the problem is you are
trying to solve. Include snippets of code where relevant so that we know
what you are doing even if you're not sure ;)
Reading your posts you seems to think you know the solution while ignoring
all that is being said. I
1 - 100 of 195 matches
Mail list logo