flower [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
Let's consider situation like this:
We have got some servlets responsible for genereting galery page. We want
group galery pages by use common part in uri (/galery/):
http://x.com/galery/galery_id/firstpage.html
Bill Barker wrote:
flower [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
Let's consider situation like this:
We have got some servlets responsible for genereting galery page. We want
group galery pages by use common part in uri (/galery/):
to a welcome file unless it shows up in the
directory. But once you map the servlet to the same URL, the servlet
will intercept the request.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 02, 2005 9:25 AM
To: Tomcat Users List
Subject: Re: servlet
in the
directory. But once you map the servlet to the same URL, the servlet
will intercept the request.
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 02, 2005 9:25 AM
To: Tomcat Users List
Subject: Re: servlet mapping and url
Hi,
I don't think there is any
you can configure your web.xml file and make index.jsp
file as an welcome file using,
welcome-file-list
welcome-fileindex.jsp/welcome-file
/welcome-file-list
now, create index.jsp file which will simply forward
the request to your servlet!
Rgds,
Hardik
--- s s [EMAIL PROTECTED]
Hi,
I don't think there is any restriction to mapping a servlet to a welcome
page:
servlet
servlet-nameMyServlet/servlet-name
servlet-classcom.company.app.MyServlet/servlet-class
/servlet
servlet-mapping
servlet-nameMyServlet/servlet-name
url-pattern/myServlet/url-pattern
/servlet-mapping
, 2004 5:36 AM
Subject: Re: Servlet mapping problem.
Hi,
I'm not using struts.
Stefan
www.killersites.com
- Original Message -
From: sven morales [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 12:25 AM
Subject: Re: Servlet mapping
Hi,
message /loginResponse.do
description The requested resource (/loginResponse.do) is not
available.
It seems the context_name part of your form element is blank, missing,
or wrong, since the page is asking for /loginResponse.do and not
/whatever/loginResponse.do. Accordingly, how do you
mapping?
Stefan
www.killersites.com
- Original Message -
From: Andoni [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 7:39 AM
Subject: Re: Servlet mapping problem.
If you are not using Struts why did you call the login JSP,
loginResponse.do
List
Subject: Re: Servlet mapping problem.
Hi,
This is my web.xml for the web app:
?xml version=1.0 encoding=UTF-8?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web
Application
2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd;
web-app
welcome-file-listindex.jsp/welcome-file-list
filter
22, 2004 9:03 AM
Subject: RE: Servlet mapping problem.
Hi,
message /loginResponse.do
description The requested resource (/loginResponse.do) is not
available.
It seems the context_name part of your form element is blank, missing,
or wrong, since the page is asking for /loginResponse.do
www.killersites.com
- Original Message -
From: Stefan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, November 21, 2004 10:31 PM
Subject: Re: Servlet mapping problem.
Hi,
I am actually using a form to post to the target servlet:
form action=/context_name
Hi,
form action=/the_context/loginResponse.do method=post
name: input type=text name=adminPassword
input type=submit
/form
I meant the server-side code, not the HTML output.
Q. Accordingly, how do you generate this form element?
A. I'm not sure what you mean, it's just a hard-coded HTML
, November 21, 2004 10:31 PM
Subject: Re: Servlet mapping problem.
Hi,
I am actually using a form to post to the target servlet:
form action=/context_name/loginResponse.do method=post
name: input type=text name=adminPassword
input type=submit
/form
The form itself
, November 22, 2004 10:12 AM
Subject: RE: Servlet mapping problem.
Hi,
form action=/the_context/loginResponse.do method=post
name: input type=text name=adminPassword
input type=submit
/form
I meant the server-side code, not the HTML output.
Q. Accordingly, how do you generate this form
, November 22, 2004 10:19 AM
Subject: Re: Servlet mapping problem.
Why don't you just use a relative link?:
form action=loginResponse.do method=post
On Mon, 2004-11-22 at 10:13, Stefan wrote:
Hi,
Just out of curiousity I changed the forms' action attribute to include
the
full path
List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 10:19 AM
Subject: Re: Servlet mapping problem.
Why don't you just use a relative link?:
form action=loginResponse.do method=post
On Mon, 2004-11-22 at 10:13, Stefan wrote:
Hi,
Just out of curiousity I changed the forms
at this
point I'm not too impressed the Tomcat.
Thanks Ben.
Stefan
- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 10:40 AM
Subject: Re: Servlet mapping problem.
In your context tag, your specifying: path
Hi,
I actually put the context reference in the context tag ... just
something
I
omitted in the email. But alas, it still does not work ...
/snip
I'm actually going to see if I can get the client to use Resin (for
some
reason, everything works fine is Resin ... out of the box), frankly at
this
Subject: Re: Servlet mapping problem.
In your context tag, your specifying: path=
but in your url you're using:
http://127.0.0.1/the_context/loginResponse.do;
^^^
Either put: path=/the_context in your context tag or
don't specify it in your url
...
Thanks for your help.
Stefan
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 11:34 AM
Subject: RE: Servlet mapping problem.
Hi,
I actually put the context reference in the context tag ... just
Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 11:41 AM
Subject: Re: Servlet mapping problem.
If you're interested, I've got some simple apps all WARed up on my site.
http://simple.souther.us.
Try dropping one of those wars
Shapira http://www.yoavshapira.com
-Original Message-
From: Stefan [mailto:[EMAIL PROTECTED]
Sent: Monday, November 22, 2004 11:54 AM
To: Tomcat Users List
Subject: Re: Servlet mapping problem.
Thanks Ben - I'll give it a go .. the client may insist still on
Tomcat,
anyway it bugs me
?
Thanks,
Stefan
- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 11:41 AM
Subject: Re: Servlet mapping problem.
If you're interested, I've got some simple apps all WARed up on my site.
http
]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 11:58 AM
Subject: RE: Servlet mapping problem.
Hi,
The problem is that you've messed up your configuration. You created
context.xml and you created your static HTML page. One says path= and
the other asks for path
, could it be some physical
path issue?
Thanks,
Stefan
- Original Message -
From: Ben Souther [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 11:41 AM
Subject: Re: Servlet mapping problem.
If you're interested, I've got some
Subject: Re: Servlet mapping problem.
Yoav,
As I stated in a previous post - I actually included the context name
in
the
context.xml file, I just omitted it in my email.
Beyond that, I initially did not include a context.xml file - but it
did
not
work, so I figured I'd give it a go.
But if you
, November 22, 2004 12:12 PM
Subject: RE: Servlet mapping problem.
Hi,
Do you get any errors in your log on startup? Are you running Tomcat as
a Windows service, or from the command line?
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Stefan [mailto:[EMAIL PROTECTED]
Sent
: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 12:12 PM
Subject: RE: Servlet mapping problem.
Hi,
Do you get any errors in your log on startup? Are you running Tomcat as
a Windows service, or from the command line?
Yoav
Can you show us what you type in to your browser?
--- Stefan [EMAIL PROTECTED] wrote:
Hi,
I first posted this question with the wrong subject
heading ... sorry about
the duplicates.
My question:
Using Tomcat 5.0.28 standalone on windows XP with
JVM 1.4, I get this error
even
PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Sunday, November 21, 2004 9:58 PM
Subject: Re: Servlet mapping problem.
Can you show us what you type in to your browser?
--- Stefan [EMAIL PROTECTED] wrote:
Hi,
I first posted this question with the wrong subject
heading
.
Stefan
www.killersites.com
- Original Message -
From: sven morales [EMAIL PROTECTED]
To: Tomcat Users List
[EMAIL PROTECTED]
Sent: Sunday, November 21, 2004 9:58 PM
Subject: Re: Servlet mapping problem.
Can you show us what you type in to your
browser?
--- Stefan
Hi,
I'm not using struts.
Stefan
www.killersites.com
- Original Message -
From: sven morales [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 22, 2004 12:25 AM
Subject: Re: Servlet mapping problem.
Can you also post all your struts-config.xml
Anto Paul wrote:
Hi all,
I am writing an application which have to serve content based on the
hostname it is requested. Different hosts will be set to same ROOT
directory. There wont be any content at the ROOT. Everything will be
on subdirectories. I wrote a servlet with mapping as / . But when
Hi there,
I posted this to Tomcat User List. I didnt posted this to Struts.
Although the application is using Struts it is not specific to Struts.
rgds
Anto Paul
On Wed, 29 Sep 2004 00:59:53 -0700, Michael McGrady
[EMAIL PROTECTED] wrote:
Anto Paul wrote:
Hi all,
I am writing an
Hi,
You cannot map a single url. Tomcat only maps prefixes. So, you cannot
map
Really? Where did this nugget come from? ;) I nearly choked on my
(otherwise fabulous) croissant. Your assertion above is wrong. Tomcat
implements servlet mapping exactly as required by the Servlet
Specification
Hi,
However, I am sure about the fact, that you cannot map a single url
such as
/.
(Yes, you can define a mapping of /, but that maps to EVERY request,
NOT
to the root url only.)
No. You're mistaking the default configuration for something that's
hard-coded. Out of the box, / is mapped to
What if I use a filter ?. I will map it like this
filter-mapping
filter-nameMappingFilter/filter-name
url-pattern//url-pattern
/filter-mapping
filter-mapping
filter-nameMappingFilter/filter-name
url-pattern/*/url-pattern
/filter-mapping
In filter
Millennium Research Informatics
-Original Message-
From: Anto Paul [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 10:06 AM
To: Tomcat Users List
Subject: Re: Servlet mapping problem
What if I use a filter ?. I will map it like this
filter-mapping
filter
Anto Paul wrote:
Hi there,
I posted this to Tomcat User List. I didnt posted this to Struts.
Although the application is using Struts it is not specific to Struts.
rgds
Anto Paul
On Wed, 29 Sep 2004 00:59:53 -0700, Michael McGrady
[EMAIL PROTECTED] wrote:
Anto Paul wrote:
Hi all,
I am
Hi,
See http://jakarta.apache.org/tomcat/faq/misc.html#invoker. You should
have always had servlet-mappings.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 1:52 PM
To: Tomcat Users List
You need to enable the invoker servlet in your web.xml. This is not recommended for
production but it should work just as you expect.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 03 August 2004 18:52
To: Tomcat Users List
Subject: servlet-mapping
The mapping rules are dictated by the servlet spec. Its not tomcat specific.
-Tim
Daniel Gibby wrote:
Too bad though. I really like ant's recursive matching capabilities. I
think that eventually a 'rebash' shell will be written that supports **
as recursive so that
grep catalina **/docs/*.java
I'm just predicting the future, and I think eventually the ** convention
will be adopted in many systems and specs. I'm kinda going off topic, so
sorry.
dangby
Tim Funk wrote:
The mapping rules are dictated by the servlet spec. Its not tomcat
specific.
-Tim
Daniel Gibby wrote:
Too bad
Howdy,
I am very troubled over a servlet mapping problem, and I am hoping that
someone can make a suggestion.
I have added a context in conf/Catalina/localhost/test.xml as follows:
Context path=/mywebapps docBase=/cs/home/jas/webapps
reloadable=true
autoDeploy=true/Context
In
Jason Keltz wrote:
Hi.
I am very troubled over a servlet mapping problem, and I am hoping that
someone can make a suggestion.
I have added a context in conf/Catalina/localhost/test.xml as follows:
Context block should be in conf/server.xml file.
Best
Bao
Context path=/mywebapps
Howdy,
Context block should be in conf/server.xml file.
It doesn't have to be, and with tomcat 5 that's actually discouraged.
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or
Thanks, Yoav.
Using localhost:8080/test works if the docBase in the context is defined
to include test. However, as you suggested, I'm trying to create a
directory with multiple webapps, and I want to have multiple directories
like this. For example:
/cs/home/jas/webapps1/app1
Howdy,
Host name=localhost debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
xmlValidation=false xmlNamespaceAware=false
If I want multiple appBase directories for this host, can I define
multiple host lines, changing the appBase directive for each one?
Each host has one
/actions/blah.do with a *.do mapping, struts only gets /actions/blah to
match by..
-David
- Original Message -
From: Daniel Gibby [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, February 25, 2004 6:54 AM
Subject: Re: Servlet-Mapping Question, recursive capable?
I'm
No. You can prefix match or file extension match, but not both at the same time.
-Tim
David Erickson wrote:
Hi I would like to do something like:
servlet-mapping
servlet-nameaction/servlet-name
url-pattern/docs/**.pdf/url-pattern
/servlet-mapping
So that anything in the /docs/ folder AND
Too bad though. I really like ant's recursive matching capabilities. I
think that eventually a 'rebash' shell will be written that supports **
as recursive so that
grep catalina **/docs/*.java
would look for only java files in a subdirectory somewhere named docs
with the text catalina in it.
What about using one centralized servlet that parses
req.getPathInfo(), sets the language as request attribute
and forwards to the real servlet(s) ?
-Original Message-
From: Marten Lehmann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 11:26 PM
To: [EMAIL PROTECTED]
Hello,
What about using one centralized servlet that parses
req.getPathInfo(), sets the language as request attribute
and forwards to the real servlet(s) ?
how is a request-forwarding done?
Regards
Marten
-
To unsubscribe,
Hello,
Have a session variable that tracks what language they're using.
I'm not looking for a different solution, but one, that solves my
question. I definitely cannot do anything else than the /de/ or /en/ thing.
Regards
Marten
Sorry not much time, try searching for request dispatcher and forward
-Original Message-
From: Marten Lehmann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 4:46 PM
To: Tomcat Users List
Subject: Re: servlet-mapping like mod_rewrite?
Hello,
What about using one
req.getRequestDispatcher(path/To/servlet)
On Wed, 2003-12-10 at 10:46, Marten Lehmann wrote:
Hello,
What about using one centralized servlet that parses
req.getPathInfo(), sets the language as request attribute
and forwards to the real servlet(s) ?
how is a request-forwarding done?
Have a session variable that tracks what language they're using.
Justin
to offer language-depended websites I want to make a webapp available
through /de/* (german) and /en/* (english). Of course, I don't want to
use two servlet-repositories for that. My idea is, that no matter if
e.g.
Following up to myself here...
On Thu, 7 Aug 2003, Fredrik Jonson wrote:
I'm trying to get tomcat (from sun's jwsdp1.2) to do a default mapping.
I (and a lot of other people, apparently =) have tried:
servlet-mapping
servlet-nameMainView/servlet-name
Howdy,
2. Name of JSP = whoKnows.war
I'll assume you meant name of war file.
1. The main problem ist, that 'normal call' (/whoKnows/) works fine.
That
means that I get my index.jsp, and all works the way I wanted to.
BUT, if I use /whoKnows/foo/bar my java-class of my jsp-Servlet
(defined in
Alternatively, having a zero-length index.html file in your directory,
together with a servlet-mapping should also work.
Shapira, Yoav [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Howdy,
Today I changed it to:
servlet-mapping
Howdy,
Today I changed it to:
servlet-mapping
servlet-nameMainView/servlet-name
url-pattern/index.html/url-pattern
/servlet-mapping
And, as I understand it, tomcat(?) returns that servlet mapping for
requests for the root catalog. Well, it is
There are 2 ways you can use wildcards in URL mappings:
1. /content/* - maps all URLs in the content directory to your servlet
2. *.vp - maps all URLs with a .vp extension to your servlet
You cannot mix these (/content/*.vp, for example)
The servlet specification discusses this. Look at section
Try the following URL: http://host:port/bugtracker/servlets/LoginServlet
Hope this helps,
Andy
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 27 June 2003 18:17
To: [EMAIL PROTECTED]
Subject: Servlet mapping error
I'm trying to map a Servlet URL and
Howdy,
Under tomcat home/webapps/bugtracker/WEB-INF/web.xml, I have the
following
snippet of lines:
servlet
servlet-nameLoginServlet/servlet-name
servlet-classcom.bugtracker.servlets.LoginServlet/servlet-class
/servlet
servlet-mapping
:
Subject: RE: Servlet mapping error
06/27/2003 12:35
PM
Speechley [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 1:29 AM
To: Tomcat User
Subject: Re: Servlet Mapping with parameters
I was wondering whether it is possible to map parameters to a url
besides
using init-param in web.xml because I want it to be during normal
operation not just when
I was wondering whether it is possible to map parameters to a url besides
using init-param in web.xml because I want it to be during normal
operation not just when the servlet is initialised eg
http://server.mycompany.com/something instead of
http://server.mycompany.com/ServletName?task=2 . I have
This is a bug, as I've now checked the Servlet Specification v2.3:
The key phrase is:
The path used for mapping to a servlet is the request URL from the request
object minus the context path.
ie for my /control/plots/x.jpg request, the context path is /control, so
only /plots/x.jpg should be used
configuring path=/control
here...
(I don't think it's a bug?)
-Ursprüngliche Nachricht-
Von: Andy Eastham [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 15. Januar 2003 16:17
An: Tomcat Users List
Betreff: RE: Servlet Mapping Bug?
This is a bug, as I've now checked
Are you sure this is happening when you go directly to Tomcat rather than
through Apache? All my mappings in web.xml make no mention of the context
name and work just fine.
Try you app at:
http://localhost:8080/control/
Then try it at:
http://localhost/control/
If it works in the former
At 01:48 PM 1/8/2003, you wrote:
So you're talking about using the sorts of Filters available as of the
Servlet 2.3 spec? That actually sounds promising, I'll take a look at
it.
Yep.
Okay, one question about this: in the Filter, I'd parse the url and
determine
which servlet should be the
Depends upon your point of view. Mine is different from those I've seen
in
reply to your inquiry so far. If I can do something declaratively in
Apache, I do it. If I am going to write code, I put do it in Tomcat.
Apache is a world-class web server. Tomcat is an application
(Servlet/JSP)
On Thu, 9 Jan 2003, Jeffrey Winter wrote:
Date: Thu, 9 Jan 2003 09:35:09 -0500
From: Jeffrey Winter [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Re: Servlet Mapping Strategy w/ user-specific URLs
At 01:48 PM 1/8/2003
There's no way to accomplish what you're shooting for using only the
mappings in the web.xml. However, you could pretty easily do it through a
filter running on requests to /user/*. If you do this, you could forward
any requests that match URI /user to your UserServlet and anything that
in these areas? Or at least some good
resources that go into these issues?
Thanks.
- Original Message -
From: Justin Ruthenbeck [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, January 08, 2003 3:40 PM
Subject: Re: Servlet Mapping Strategy w/ user-specific URLs
From: Justin Ruthenbeck [EMAIL PROTECTED]
Sent: Wednesday, January 08, 2003 12:40 PM
Subject: Re: Servlet Mapping Strategy w/ user-specific URLs
There's no way to accomplish what you're shooting for using only the
mappings in the web.xml. However, you could pretty easily do it through
PROTECTED]
Sent: Wednesday, January 08, 2003 3:40 PM
Subject: Re: Servlet Mapping Strategy w/ user-specific URLs
There's no way to accomplish what you're shooting for using only the
mappings in the web.xml. However, you could pretty easily do it through a
filter running on requests to /user
From: Jeffrey Winter [EMAIL PROTECTED]
Sent: Wednesday, January 08, 2003 1:48 PM
Subject: Re: Servlet Mapping Strategy w/ user-specific URLs
There certainly is some overlap between those services as outlined in the
Servlet spec, and the functionality provided by Apache itself
Is it possible to setup a servlet mapping such that a UserServlet handles
requests to /user/xxx, but a ResourceServlet handles requests to
/user/xxx/resource/yyy?
Easy enough to do with mod_rewrite, as you have planned since you have
apache as a front end, or you could write a Servlet Filter.
On Fri, 15 Nov 2002, Trevor MacPhail wrote:
Date: Fri, 15 Nov 2002 19:17:18 -0800
From: Trevor MacPhail [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Servlet Mapping to /
How can I set up a servlet-mapping to map a specific
Craig R. McClanahan wrote:
On Fri, 15 Nov 2002, Trevor MacPhail wrote:
Date: Fri, 15 Nov 2002 19:17:18 -0800
From: Trevor MacPhail [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Servlet Mapping to /
How can I set up a
Trevor MacPhail wrote:
Craig R. McClanahan wrote:
[ big snip ]
Ok, then the question I have now is, how do I set up a welcome-file to
be a servlet instead of a static file?
You can't.
I've tried welcome-fileHomePage/welcome-file but that didnt work.
I've also tried
Trevor MacPhail [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Craig R. McClanahan wrote:
On Fri, 15 Nov 2002, Trevor MacPhail wrote:
Date: Fri, 15 Nov 2002 19:17:18 -0800
From: Trevor MacPhail [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL
Try without the forward slash . So it looks like this:
FORM METHOD=GET ACTION=auditor
Shruti Ahuja, Noida wrote:
Hi,
I have deployed a web appplication whose context name is graduate . It has 2
servlets(named auditor and blobserve) in it placed in the Web-inf/classes
directory .
I have
,
Shruti
-Original Message-
From: Kwok Peng Tuck [mailto:pengtuck;makmal.com]
Sent: Monday, November 11, 2002 12:06 PM
To: Tomcat Users List
Subject: Re: servlet mapping
Try without the forward slash . So it looks like this:
FORM METHOD=GET ACTION=auditor
Shruti Ahuja, Noida wrote:
Hi
Hello Aryeh,
The proper syntax is:
JkMount /examples/servlets/* ajp13
You define the protocol, not a worker after the mount pattern.
Jake
Tuesday, October 15, 2002, 11:03:01 AM, you wrote:
AK I'm trying to integrate mod_jk and tomcat.
AK My httpd.conf file has the following mapping
AK
Hello Aryeh,
The proper syntax is:
JkMount /examples/servlets/* ajp13
You define the protocol, not a worker after the mount pattern.
This did not help matters. Even after changing httpd.conf and
workers.properties, I get the same behavior.
Just one question. Can you point me to
people have working
configurations just like that.
John
-Original Message-
From: Aryeh Katz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 1:17 PM
To: [EMAIL PROTECTED]
Subject: Re: servlet mapping help
Hello Aryeh,
The proper syntax is:
JkMount /examples
You didn't have to change workers.properties at all.
snip
So, you should have a line like this in httpd.conf:
JkMount /examples/servlets/* ajp13
And a few lines like this in workers.properties:
worker.list=some-name
worker.some-name.port=8009
worker.some-name.host=your.host.com
On Tue, 15 Oct 2002, Aryeh Katz wrote:
You didn't have to change workers.properties at all.
snip
So, you should have a line like this in httpd.conf:
JkMount /examples/servlets/* ajp13
And a few lines like this in workers.properties:
worker.list=some-name
debug=0/
HTH
John
-Original Message-
From: Milt Epstein [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 2:29 PM
To: Tomcat Users List
Subject: RE: servlet mapping help
What do you have where ajp13 is, and where some-name is? Because
they need to match. Because
I would post the relevant section of httpd.conf (not the whole thing,
please) with the JkMount statements, and the contents of your
workers.properties file. Also, which version of Apache and Tomcat you
httpd.conf (main server, not virt)
JkWorkersFile
On Tue, 15 Oct 2002, Aryeh Katz wrote:
I would post the relevant section of httpd.conf (not the whole thing,
please) with the JkMount statements, and the contents of your
workers.properties file. Also, which version of Apache and Tomcat you
httpd.conf (main server, not virt)
snip
workers.list=ajp13
workers.ajp13.port=8009
workers.ajp13.host=correct.server.name
workers.ajp13.type=ajp13
apache = 1.3.27
jakarta = 4.0.6
This is different from what you had previously. So what is/isn't
happening now, and what (error) messages are you seeing in the logs?
On Tue, 15 Oct 2002, Milt Epstein wrote:
On Tue, 15 Oct 2002, Aryeh Katz wrote:
I would post the relevant section of httpd.conf (not the whole thing,
please) with the JkMount statements, and the contents of your
workers.properties file. Also, which version of Apache and Tomcat you
Yikes, good eye, Milt!
John
-Original Message-
From: Milt Epstein [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 3:26 PM
To: Tomcat Users List
Subject: RE: servlet mapping help
On Tue, 15 Oct 2002, Milt Epstein wrote:
On Tue, 15 Oct 2002, Aryeh Katz wrote
Should've noticed it the first time around, but all of these above
four lines should have worker instead of workers.
Cut and paste will do that to you every time (I set the home attr).
Thanks for all the help.
Now I'm going to go back and see how much of my orig config I had to change.
I
On Sat, 11 May 2002, Luuk de Vries wrote:
Date: Sat, 11 May 2002 17:58:41 +0200
From: Luuk de Vries [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: servlet-mapping with *.suffix problem
Hi,
I have a working application using RedHat
- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, May 11, 2002 6:15 PM
Subject: Re: servlet-mapping with *.suffix problem
On Sat, 11 May 2002, Luuk de Vries wrote:
Date: Sat, 11 May 2002 17:58:41 +0200
From
1 - 100 of 164 matches
Mail list logo