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]> wr
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:.
> http://localhost:
; >
> >
> > Hmm, I guess I can answer 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
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
es, 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 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&q
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 othe
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 with
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 entry that defines BeerSelect and
a that ties BeerSelect to its actual url-pattern.
(/VBee
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:
That's not proper... my guess is you want:
Frank
Developer Developer wrote:
does anybody know how to fix this proble
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
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 from
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 from
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
Received: 10/7/2005 5:38 PM
> > To:
> > 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 webser
ter thesing" <[EMAIL PROTECTED]>
> Received: 10/7/2005 5:38 PM
> To:
> 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
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
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 are the
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
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
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
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 st
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 am
Yeah, i just hate the " /> 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
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=""
which has the added advantage of *not* being a relative path that'll
only work if referen
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
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 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 un
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",
und
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
i
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 Tomca
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 javax.net.ssl.Host
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 b
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 secure
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
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//anyaliasname.
Parthi
On 10/3/05, Andrew Pierce <[EMAIL PROTECTED]> wrote:
>
> Hello. I realize this is about the stupidest question I could ask but,
&g
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 act
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
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 a
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
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 an
tly a good 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
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
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. (tomcat
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 org.apache.coyote.http11.Http11Protoc
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 to
C:\tomcat-source>ant 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 rejoin
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 configuri
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 mys
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.
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 cluster
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 )
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 another
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 cluster
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
Informat
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 is encountered. Compile
errors follow.
A bug, isn't it?
Is there a solution/upgrade/fix available?
How comes that t
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 need
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
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]
---
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]
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 J
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
>
eded
anymore 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
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
compl
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 m
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 with
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 "pro
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 RequestDumperVa
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 metho
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 se
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 g
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 e
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 o
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 o
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
bject: 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 f
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 that
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
Although this is now scorned, 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:
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 in
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 <>/conf/Cataliana/localhost/ do you see a file
Host
element. Although this is now scorned, 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: Tomca
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: [EMA
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 CO
> 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
MAT
NF/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 in context.xml? If you
go to <>/conf/Cataliana/localhost/ do
ginal 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 <>/conf/Cataliana/localhost/ do you see a file with
the name of the module ending
d, 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 ques
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 me
ailto:[EMAIL PROTECTED]
> Sent: 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 < Folder>>/con
F/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 in context.xml? If you go to
<>/conf/Cataliana/l
this is now scorned, 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
> 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 th
, as did
others, just send 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 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
[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
<>/conf/Cataliana/localhost/ do you see a file with the
name of the module ending with .xml? If so is the resource
ECTED]
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
<>/conf/Cataliana/localhost/ do you see a file
with the name
of the module ending with .xml? If so is the resource
defined in that
f
.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 in context.xml? If you go
ined in both web.xml and context.xml.
In looking at the code snip it in the first post I am not following
what you are trying to do. The post is for a JNDI question but in the
code it looks like you are calling the DB URL directly. The whole
point of JDNI being to get specific URL, and configur
2005 16:45
To: Tomcat Users List
Subject: Re: jndi question
thank you, i will
Allistair Crossley wrote:
If you could please send
1. server.xml
2. web.xml
3. context.xml or yourwebapp.xml
4. list of files in common/lib
5. list of files in yourwebapp/WEB-INF/lib
I'd be happy to see
e calling it but does not show web.xml or
context.xml.
The error you are getting just means that that the JNDI resource being
called in the code is not defined in both web.xml and context.xml.
In looking at the code snip it in the first post I am not following
what you are trying to do. The p
1 - 100 of 4939 matches
Mail list logo