On 10/11/05, Developer Developer [EMAIL PROTECTED] wrote:
I wrote my first html and servlet and deployed it on tomcat 5.5. The html
works okay when i call it from the browser. The servlet too works okay when
i call its doget() method by invoking it from the browser. EG:.
thanks everybody. I could solve the problem.
There was a typo in my response text.
When I changed the following line
response.setContentType(test/html);
with
response.setContentType(text/html);
It jus worked like a charm.
thanks !
On 10/10/05, Developer Developer [EMAIL PROTECTED] wrote:
Did you define your servlet in your WEB-INF/web.xml?
Mauricio Fernandez
-Mensaje original-
De: Developer Developer [mailto:[EMAIL PROTECTED]
Enviado el: martes, 11 octubre, 2005 5:23
Para: tomcat-user@jakarta.apache.org
Asunto: Newbee question on servlet and html - Really frustated
Hello,
I have a tomcat server which serves some webapps for different purposes.
I now would like to have another instance of the the manager webapp just
for one of the webapps on this server, that another person can use the
manager webapp to administer this one special webapp and not
all the
that question by myself. If I use
vhosts in tomcat and I have just the manager and the normal
webapp in that one vhost will I see more than one webapp?
And how do I secure access to that special vhosts manager
webapp? As the normal tomcat-users.xml users with the manager
role would be able to login
On Tue, Oct 11, 2005 at 05:13:33PM +0200, Marcus Franke wrote:
On Tue, Oct 11, 2005 at 04:00:24PM +0200, Marcus Franke wrote:
Can this be done? And if yes, what do I have to do?
Hmm, I guess I can answer that question by myself. If I use
vhosts in tomcat and I have just the manager
that question by myself. If I use
vhosts in tomcat and I have just the manager and the normal
webapp in that one vhost will I see more than one webapp?
Hmm, just tried the config on my local test server and only in the
first host I can reach the /manager/html pages, in the second host
I created
I wrote my first html and servlet and deployed it on tomcat 5.5. The html
works okay when i call it from the browser. The servlet too works okay when
i call its doget() method by invoking it from the browser. EG:.
http://localhost:8080/VBeer/BeerSelect
However, when i try to invoke the servlet
I wrote my first html and servlet and deployed it on tomcat 5.5. The html
works okay when I call it from the browser. The servlet too works okay when
I call its doget() method by invoking it from the browser. EG:.
http://localhost:8080/VBeer/BeerSelect
However, when i try to invoke the servlet
does anybody know how to fix this problem.
Invocation of servlet prompts a messagebox posing a questions do you
want to save this ? instead of executing it and returing the output in the
html document.
:(
On 10/10/05, Developer Developer [EMAIL PROTECTED] wrote:
I wrote my first html and
Two questions...
(1) Does your servlet implement a doPost() method? Since you are
POSTing the form, you need to do that.
(2) Is there a typo in your form there? I see:
form method=3DPOST action=3DBeerSelect
That's not proper... my guess is you want:
form method=3DPOST action=3DBeerSelect
I think you are getting this error because Tomcat doesn't realize you
are trying to activate the servlet.
You probably will need to look at your WEB-INF/web.xml of your web
application. You'll need a servlet/ entry that defines BeerSelect and
a servlet-mapping/ that ties BeerSelect to its
Hi All.
Perhaps has this question answered in previous mails but i could not
find it. I would like to put this question to the list...
At home i have 2 webservers running . the one of my partner (iis) on
port 80 and mine at port 8000. I would like to continue with Apache2
because it supports
[EMAIL PROTECTED]
Received: 10/7/2005 5:38 PM
To: tomcat-user@jakarta.apache.org
Subject: apache question
Hi All.
Perhaps has this question answered in previous mails but i could not
find it. I would like to put this question to the list...
At home i have 2 webservers running . the one of my
-user@jakarta.apache.org
Subject: apache question
Hi All.
Perhaps has this question answered in previous mails but i could not
find it. I would like to put this question to the list...
At home i have 2 webservers running . the one of my partner (iis) on
port 80 and mine at port 8000. I
question
Hi All.
Perhaps has this question answered in previous mails but i could not
find it. I would like to put this question to the list...
At home i have 2 webservers running . the one of my partner (iis) on
port 80 and mine at port 8000. I would like to continue with Apache2
because it supports
Hi, I asked this question yesterday and got no hints from anyone.
Since then, I have been able to accomplish what I want using multiple
instances of Tomcat. However, I would much rather use one instance
and serve requests on different Apache port.
Does anyone have ANY comments regarding my
Aria Bamdad wrote:
Hi, I asked this question yesterday and got no hints from anyone.
Since then, I have been able to accomplish what I want using multiple
instances of Tomcat. However, I would much rather use one instance
and serve requests on different Apache port.
Does anyone have ANY
On Thu, 06 Oct 2005 15:33:15 +0200 you said:
Aria Bamdad wrote:
Hi, I asked this question yesterday and got no hints from anyone.
Since then, I have been able to accomplish what I want using multiple
instances of Tomcat. However, I would much rather use one instance
and serve requests on different
is fine on my machine, but on the win2k machine (with 256 mb memory),
the log file gives the error:
Error [jk_isapi_plugin.c(496)]HttpExtensionPOroc: worker is NULL
I have rebooted both machines, and the filter DOES have an up arrow listed
for its status in both machines.
My question is - What
If you want use javax.net.ssl you must have tomcat in a version upper or egal
to 5.
[EMAIL PROTECTED] 04/10/2005 18:28:59
Hi, thanks!
I've got my own TrustManager/HostnameVerifier and it works when I use Apache's
SecureWebServer and SecureXmlRpcClient. I'm not using javax.net.ssl, but
Greetings,
I'm having problems executing functions in an external javascript file.
It's like the .js file can't be found. I was able to do this under Tomcat
4.0 but for some reason it's not working under Tomcat 5.0.
The folder under webapps is /EdiHost and I've got another folder, /js,
under
You have to specify the full path, this should not work under any of the
webservers.
DarekC
On Wed, 2005-10-05 at 08:03, Pigott, Paul wrote:
Greetings,
I'm having problems executing functions in an external javascript file.
It's like the .js file can't be found. I was able to do this under
Hi
Not exactly sure what you mean. Could you send me a snippet of your web.xml?
That would be very nice. Thanks!
Greetings from Vienna
--- Yassine ELassad [EMAIL PROTECTED] wrote:
hi i'm not sure if this will help you but i have hade a quite similar issue :
i have passed a full URL a
You may be able to use this instead:
src=js/EdiHost.js
IDEA will get pissed about it, but it should work (I know it does for images).
It is nice, because you can rename your context, and not break your webapp. :)
Larry
On 10/5/05, Pigott, Paul [EMAIL PROTECTED] wrote:
Greetings,
I'm
Larry Meadors wrote:
You may be able to use this instead:
src=js/EdiHost.js
It is nice, because you can rename your context, and not break your webapp. :)
Or, if you're using JSTL, use:
src=c:url value=/js/EditHost.js/
which has the added advantage of *not* being a relative path that'll
Yeah, i just hate the tag inatag / / stuff.
Messy. ;-)
Larry
On 10/5/05, Hassan Schroeder [EMAIL PROTECTED] wrote:
Larry Meadors wrote:
You may be able to use this instead:
src=js/EdiHost.js
It is nice, because you can rename your context, and not break your webapp.
:)
Or, if
Hi,
Sorry if this has been asked before but I can't find any such example..
I have Apache talking to Tomcat and everything works fine.
My situation is as follows:
I am using Apache VirtualHost directive to set different document roots
depending on the PORT number the request comes in. So, I
an up arrow listed
for its status in both machines.
My question is - What are the ways a worker is NULL can occur, and how do
I fix this error???
John McClain
Senior Software Engineer
TCS Healthcare
[EMAIL PROTECTED]
(530)886-1700x235
Skepticism is the first step toward truth
What is u r declaration in web.xml file.
If you give any alias name then you have to use that in u r URL.
http://localhost:8080/app/anyaliasname.
Parthi
On 10/3/05, Andrew Pierce [EMAIL PROTECTED] wrote:
Hello. I realize this is about the stupidest question I could ask but,
I've scoured
this is about the stupidest question I could ask but,
I've scoured the web, etc. and cannot get an easy example of making
servlets actually work with Tomcat.
I have written a few Hello World servlets and gotten them to work with
Resin but I cannot get even the most simple servlet to work with Tomcat
Hi
I've got a servlet which works fine when using http. But when I want to access
it through https I get a certificate unknown exception. Why does
https://localhost:8443 work in a browser but accessing my servlet (with java
client) not? Do I need to make my servlet SSL aware? Using another
hi i'm not sure if this will help you but i have hade a quite similar issue :
i have passed a full URL a param Vlaue in my web.xml something like
http://localhost:8080/MyServlet
both http and :8080 are specifying a differnt port number than the ssl port so
if you are performing such a call you
Many articles talk about how access https using java client throws
HttpsURLConnection.
You must use :
- your own TrustManager (implements javax.net.ssl.X509TrustManager)
- your own KeyManager (implements javax.net.ssl.X509KeyManager)
- your own HostnameVerifer(implements
Hi, thanks!
I've got my own TrustManager/HostnameVerifier and it works when I use Apache's
SecureWebServer and SecureXmlRpcClient. I'm not using javax.net.ssl, but
instead com.sun.net.ssl - couldn't make it work with javax.net.ssl. Is the code
below necessary for the servlet as well? Thought
Hello. I realize this is about the stupidest question I could ask but,
I've scoured the web, etc. and cannot get an easy example of making
servlets actually work with Tomcat.
I have written a few Hello World servlets and gotten them to work with
Resin but I cannot get even the most simple
OK. This was a bit of a simple one. Found my answer with the help of a
couple of folks on IRC.
Please disregard.
Andrew Pierce wrote:
Hello. I realize this is about the stupidest question I could ask but,
I've scoured the web, etc. and cannot get an easy example of making
servlets actually
Thomas K. Cheriyan Jr. wrote:
Hey guys,
Im trying to get the latest version of TomCat on my laptop which has has
MacOS Tiger 10.4. I have also installed the latest version of Java. I read
the installation guide on the Jakarta site as well as many others online and
they haven't worked at
Hey guys,
Im trying to get the latest version of TomCat on my laptop which has has
MacOS Tiger 10.4. I have also installed the latest version of Java. I read
the installation guide on the Jakarta site as well as many others online and
they haven't worked at all. If somebody is an expert at this
Hi,
What's the problem ? Send us the log, if there is.
Witch version of tomcat ?jdk ?
do you set the JAVA_HOME=/Library/Java/Home in your env ?
do you update os ?
Fadil
On 9/30/05, Thomas K. Cheriyan Jr. [EMAIL PROTECTED] wrote:
Hey guys,
Im trying to get the latest version of TomCat on my
match, but a couple of classes that are
in jmx.jar are missing from mx4j.jar. I presume these are classes
req'd by others in the package but are not called directly by tomcat.
So you are suggesting that I replace the tomcat/bin/jmx.jar
with the mx4j.jar ?
If so, then I have a stupid question
The fix is to replace the mx4j jar file in the release (bin/jmx.jar)
with the fixed version (latest 2.1.x) which has been available for a
long time now from the mx4j project site.
You might also search this mailinglist. This must be one of the more
frequently raised topics. I know I found the
Hello Tomcat people
When tomcat is restarted, it occasionally (1 in 25 times)
gets the below exception. (tomcat 5.0.28, on Fedora Core 1)
What is the significance of this?
Thanks
Maurice
INFO: Starting Coyote HTTP/1.1 on http-8080
Sep 26, 2005 9:29:19 AM
Search bugzilla. There is a bug report about ConcurrentModificationException
- it has to do with mx4j having a race condition. The bug describes a fix.
-Tim
Maurice Yarrow wrote:
Hello Tomcat people
When tomcat is restarted, it occasionally (1 in 25 times)
gets the below exception.
I am new to Tomcat, and this is basic question.
I have jsvc setup to start Tomcat, and then run as user wwwadmin on port 80.
When
I execute, I get two processes running, a parent running as root, and the child
as
the wwwadmin user.
Is this normal? I thought the root process was supposed
C:\tomcat-sourceant checkout
Buildfile: build.xml
checkout:
[echo] If the checkout fails, run `cvs -d
:pserver:[EMAIL PROTECTED]:/
home/cvspublic login` and try again. The password for the anonymous CVS
access i
s `anoncvs`
[cvs] cvs [checkout aborted]: connect to cvs.apache.org:2401
Can somebody tell me if there is a way to determine when session
replication is complete after a new tomcat instance joins the cluster?
When updating our cluster we usually restart one tomcat instance at a
time. What we noticed is if we restart the second one too quickly after
the first
Hi all,
I have been using Tomcat for some time now, but I still feel like a newbie in
most regards. At least when it comes to configuring it.
Tomcat has been working great, together with Apache 2, for several months now.
But now, I find myself wanting to use the manager webapp for the first time.
Jimi,
try /manager/html
PJ
[EMAIL PROTECTED] wrote:
Hi all,
I have been using Tomcat for some time now, but I still feel like a newbie in
most regards. At least when it comes to configuring it.
Tomcat has been working great, together with Apache 2, for several months now.
But now, I find
Ah, it worked like a charm! Thanks a bunch, Peter! :)
/Jimi
Quoting Peter Johnson [EMAIL PROTECTED]:
Jimi,
try /manager/html
[EMAIL PROTECTED] wrote:
Hi all,
I have been using Tomcat for some time now, but I still feel like a
newbie in
most regards. At least when it comes to
Hi!
I also use (or try to use) that tomcat-delivered jspc-task with tomcat
5.5.9.
My problem is that whenever there is a character reference (like #160;)
in a jsp file, the compiled jsp contains nonsense at that location, and
compile errors follow in javac.
Is there a fix/update available or
When our application starts up, it removes admin information about old user
sessions from our database; We store information such as locks and session
state in our DB. BUT, if we are running in a cluster and Tomcat stars up, we
do NOT want this to occur EXCEPT for on the first server in the
Hallo,
unter Ihrer E-Mail-Absenderadresse tomcat-user@jakarta.apache.org liegt
uns leider keine Anmeldung vor.
Ich bitte Sie, uns Ihre Anfrage noch einmal von der E-Mail-Adresse zu
senden, die bei uns registriert ist.
Aus datenschutzrechtlichen Gruenden duerfen wir nur dann persoenliche
When our application starts up, it removes admin information about old user
sessions from our database; We store information such as locks and session
state in our DB. BUT, if we are running in a cluster and Tomcat stars up, we
do NOT want this to occur EXCEPT for on the first server in the
Hi!
I just read about your Jasper2 precompiling...
Do you do it via ant?
I tried tomcat's JspC task (tomcat 5.5.9), but jasper generates rubbish
wherever a character reference like #160; is encountered. Compile
errors follow.
A bug, isn't it?
Is there a solution/upgrade/fix available?
How comes
Drive
Suite 700
Los Angeles, CA 90045
Tel: (310) 957-3930
Fax: (310) 957-3917
e-mail: [EMAIL PROTECTED]
It's not really a question of Tomcat using MyFaces or JSF RI - they are
really independent technologies which can work together. You choose
which one you want to use based upon your needs
Does Tomcat 5.x have a JSF implementation
Does JSF have to be installed separately
Stephen Bovy
Computer Associates
6100 Center Drive
Suite 700
Los Angeles, CA 90045
Tel: (310) 957-3930
Fax: (310) 957-3917
e-mail: [EMAIL PROTECTED]
Bovy, Stephen J wrote:
Does Tomcat 5.x have a JSF implementation
Does JSF have to be installed separately
Stephen Bovy
Computer Associates
6100 Center Drive
Suite 700
Los Angeles, CA 90045
Tel: (310) 957-3930
Fax: (310) 957-3917
e-mail: [EMAIL PROTECTED]
Angeles, CA 90045
Tel: (310) 957-3930
Fax: (310) 957-3917
e-mail: [EMAIL PROTECTED]
-Original Message-
From: David Haynes [mailto:[EMAIL PROTECTED]
Sent: Friday, September 02, 2005 6:48 PM
To: Tomcat Users List
Subject: Re: JSF Please Help with a simple question thanks ???
Bovy, Stephen J wrote
I have a jsp page that uses a class I wrote to connect to a database (mysql)
and pull up some information based on what the user fills in one of three
text boxes. I understand why if I fill in a text box once and press submit
I get my result, but I do not understand why if I press enter again
On 9/1/05, David Shapiro [EMAIL PROTECTED] wrote:
I have a jsp page that uses a class I wrote to connect to a database
(mysql)
and pull up some information based on what the user fills in one of three
text boxes. I understand why if I fill in a text box once and press submit
I get my
Hello All,
I'm a newbie to database pooling via JNDI and I have a JNDI/Tomcat question
(more of a best practices/most scalable/fastest performance/least resource
consumption type of question).
Each time the JNDI resource (pooled database connection) is needed, should a
complete JNDI lookup
in any method that get's one.
--David
Hyatt, Gordon wrote:
Hello All,
I'm a newbie to database pooling via JNDI and I have a JNDI/Tomcat question
(more of a best practices/most scalable/fastest performance/least resource
consumption type of question).
Each time the JNDI resource (pooled database
AM
To: Tomcat Users List
Subject: Re: Real basic question - scope
On 9/1/05, David Shapiro [EMAIL PROTECTED] wrote:
I have a jsp page that uses a class I wrote to connect to a database
(mysql)
and pull up some information based on what the user fills in one of
three text boxes. I understand
On 9/2/05, David Shapiro [EMAIL PROTECTED] wrote:
It is just a jsp page Pretty much html accept for the class for processing
the mysql query. It uses basic jsp to display the rs data in a table with
a
little bit of css to snaze it up.
It will be useful if you post the relevant JSP/Java
Hi All,
I am having problems with Scandinavian characters on my system and am
attempting to isolate the problem; any help would be greatly
appreciated.
The problem manifests when forms are posted containing Scandinavian
characters. In some cases these characters are de/encoded correctly and
in
Hi All,
I am having problems with Scandinavian characters on my system and am
attempting to isolate the problem; any help would be greatly
appreciated.
The problem manifests when forms are posted containing Scandinavian
characters. In some cases these characters are de/encoded correctly and
in
On 8/29/05, Richard Jones [EMAIL PROTECTED] wrote:
Hi All,
I am having problems with Scandinavian characters on my system and am
attempting to isolate the problem; any help would be greatly
appreciated.
This is what I did to work with Tomcat.
a, Set up Tomcat first: To support UTF encoded
Just a guess:
Check the format of the .jsp-files. I had similar problems and solved
them by converting the jsp-files to UTF-8.
- Manfred
Richard Jones wrote:
Hi All,
I am having problems with Scandinavian characters on my system and am
attempting to isolate the problem; any help would be
Hi,
I am having problems with Scandinavian characters on my system and am
attempting to isolate the problem; any help would be greatly
appreciated.
This is what I did to work with Tomcat.
a, Set up Tomcat first: To support UTF encoded data send as part of
URI one has to set the
The setCharacterEncoding() must be called on the request before any
getParameter() method is invoked on it. There may be some filters that
is processing the request in the filter chain before the setCharacter
encoding filter.
Also what is the character encoding used by the OS ?.
URIEncoding
Hi,
The setCharacterEncoding() must be called on the request before any
getParameter() method is invoked on it. There may be some filters that
is processing the request in the filter chain before the setCharacter
encoding filter.
Yeah, I think this was the problem with the
This may come under the category of first time user usability testing.
- I installed Tomcat on my box and it runs fine.
- The admin webapp is in a separate download so one
can safely install it (proper)
BUT :)
From my naive user (and valuable in usability testing) POV I don't know
the
a
process that you can not recreate in java?
If I have misunderstood entirely which seems likely then you may want to
repost the question formated in accordance with the posting guilds lines
listed above. Posts to support forums should always include a detailed
step by step lise of the process
: Re: newbie with a short question
Couple of things
1. You will get better responses on this list if you review the posting
guide at. This post is way to vague to get specific answers. So most
people are not going to respond to it.
http://jakarta.apache.org/site/mail.html
2. If I follow
nick sturm wrote:
ok, I have done the two things on that page:
renamed the serverlet and deleted the comments around the cgi section
of the web.xml config file.
Uh, you probably want to *read* those comments :-) -- specifically
!-- executableName of the exectuable used to run the --
!--
. Allistair.
-Original Message-
From: Brian Cook [mailto:[EMAIL PROTECTED]
Sent: 23 August 2005 17:23
To: Tomcat Users List
Subject: Re: jndi question
Ok but do you have the resource defined in context.xml? If you go to
Tomcat Dir/conf/Cataliana/localhost/ do you see a file
: 25 August 2005 14:39
To: Tomcat Users List
Subject: Re: jndi question
Sean,
One thing that stands out in your message is that the conext.xml file
was placed in the META-INF folder. Is it also in Tomcat
Folder/conf/Catalina/localhost/ as the module name? i.e. If the
context path
Hi
I had the same problem and I managed to make this work when following
this post
http://forums.devshed.com/archive/t-120081
The only problem is that it works when a deploy a war file.
When I try using this out of Eclipse (I am running tomcat using sysdeo
plug-in) it makes problems.
Let
methods are contextname.xml as you say, and also
META-INF/context.xml within the webapp itself. Allistair.
-Original Message-
From: Brian Cook [mailto:[EMAIL PROTECTED]
Sent: 23 August 2005 17:23
To: Tomcat Users List
Subject: Re: jndi question
Ok but do you have the resource defined
[mailto:[EMAIL PROTECTED]
Sent: 23 August 2005 17:23
To: Tomcat Users List
Subject: Re: jndi question
Ok but do you have the resource defined in context.xml? If you go
to Tomcat Dir/conf/Cataliana/localhost/ do you see a file with
the name of the module ending with .xml? If so is the resource
.
-Original Message-
From: Brian Cook [mailto:[EMAIL PROTECTED]
Sent: 23 August 2005 17:23
To: Tomcat Users List
Subject: Re: jndi question
Ok but do you have the resource defined in context.xml? If you
go to Tomcat Dir/conf/Cataliana/localhost/ do you see a file
with the name
From: Sean Rowe [mailto:[EMAIL PROTECTED]
Subject: Re: jndi question
tomcat 5, and jdk 1.5
Which Tomcat 5? The configuration for the 5.0 series is not necessarily
the same as in 5.5.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus
right! sorry, it's 5.5.9
Caldarale, Charles R wrote:
From: Sean Rowe [mailto:[EMAIL PROTECTED]
Subject: Re: jndi question
tomcat 5, and jdk 1.5
Which Tomcat 5? The configuration for the 5.0 series is not necessarily
the same as in 5.5.
- Chuck
THIS COMMUNICATION MAY CONTAIN
I thought of that but his code samples and configs are consitant with
both the 5.0 and 5.5 docs.
Which Tomcat 5? The configuration for the 5.0 series is not necessarily
the same as in 5.5.
-
To unsubscribe, e-mail:
still valid. The 2 other
methods are contextname.xml as you say, and also META-INF/context.xml
within the webapp itself. Allistair.
-Original Message-
From: Brian Cook [mailto:[EMAIL PROTECTED]
Sent: 23 August 2005 17:23
To: Tomcat Users List
Subject: Re: jndi question
Ok but do
: Brian Cook [mailto:[EMAIL PROTECTED]
Sent: 23 August 2005 17:23
To: Tomcat Users List
Subject: Re: jndi question
Ok but do you have the resource defined in context.xml? If you go
to Tomcat Dir/conf/Cataliana/localhost/ do you see a file with
the name of the module ending with .xml? If so
within the webapp itself. Allistair.
-Original Message-
From: Brian Cook [mailto:[EMAIL PROTECTED]
Sent: 23 August 2005 17:23
To: Tomcat Users List
Subject: Re: jndi question
Ok but do you have the resource defined in context.xml? If you go
to Tomcat Dir/conf/Cataliana/localhost/ do
are contextname.xml as you say, and also
META-INF/context.xml within the webapp itself. Allistair.
-Original Message-
From: Brian Cook [mailto:[EMAIL PROTECTED]
Sent: 23 August 2005 17:23
To: Tomcat Users List
Subject: Re: jndi question
Ok but do you have the resource defined
the batch file.
thanks, sorry I'm very new to this.
-n
On 8/24/05, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Subject: RE: newbie with a short question
First I cause an open/save prompt with
response.addHeader(Content-Disposition
I am new to any web server, but hopefully this question is easilly answered:
If I wanted to make a link to execute a .bat file locally on the
server when a link is pressed, how would I do so?
I am making a pan/tiltable webcam and hope to use the siple controls shown here:
http
it without a content type as a open/save.
You'd do this in a servlet.
Allistair
-Original Message-
From: nick sturm [mailto:[EMAIL PROTECTED]
Sent: 24 August 2005 17:21
To: Tomcat Users List
Subject: newbie with a short question
I am new to any web server, but hopefully this question
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Subject: RE: newbie with a short question
First I cause an open/save prompt with
response.addHeader(Content-Disposition, attachment;
filename=somebat.bat);
Then I use the response.getOutputStream() and stream the bat
file down
, it's still valid. The 2 other methods are contextname.xml as you say, and also META-INF/context.xml within the webapp itself.
Allistair.
-Original Message-
From: Brian Cook [mailto:[EMAIL PROTECTED]
Sent: 23 August 2005 17:23
To: Tomcat Users List
Subject: Re: jndi question
Ok
,
sean
Dirk Weigenand wrote:
Sean,
--- Ursprüngliche Nachricht ---
Von: Sean Rowe [EMAIL PROTECTED]
An: Tomcat Users List tomcat-user@jakarta.apache.org
Betreff: Re: jndi question
Datum: Mon, 22 Aug 2005 09:24:10 -0500
Thanks for responding Dirk. I've practically memorized
[EMAIL PROTECTED]
An: Tomcat Users List tomcat-user@jakarta.apache.org
Betreff: Re: jndi question
Datum: Mon, 22 Aug 2005 09:24:10 -0500
Thanks for responding Dirk. I've practically memorized the
documentation on the link you sent:
// Obtain our environment naming context
Context initCtx = new
: Re: jndi question
Brian, thank you for replying. I was afraid my topic was
dead. If you
could look at my first post, I listed all the files that you have
suggested I take a look at. I have done everything you have
suggested,
but am still getting errors. The error I am getting now
(NullPointerException npE) {
// log somewhere
}
Does that work for you? Allistair
-Original Message-
From: Sean Rowe [mailto:[EMAIL PROTECTED]
Sent: 23 August 2005 16:29
To: Tomcat Users List
Subject: Re: jndi question
Brian, thank you for replying. I was afraid my topic was
dead. If you
16:41
To: Tomcat Users List
Subject: Re: jndi question
no, that didn't help. thanks though.
could this maybe be a class problem? am i using the wrong
jar files? i
can list the files i'm using if anyone thinks it might be the problem
Allistair Crossley wrote:
Hi
[mailto:[EMAIL PROTECTED]
Sent: 23 August 2005 16:41
To: Tomcat Users List
Subject: Re: jndi question
no, that didn't help. thanks though.
could this maybe be a class problem? am i using the wrong
jar files? i
can list the files i'm using if anyone thinks it might be the problem
Allistair
1 - 100 of 4774 matches
Mail list logo