n
>
>
> - Original Message -
> From: "Shapira, Yoav" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Monday, November 22, 2004 12:12 PM
> Subject: RE: Servlet mapping problem.
>
>
>
> Hi,
> D
; <[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 Shapira http://www.yoavshapira.com
>-Original Messag
t Users List
>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
&g
sion of Tomcat if it's installed in
> the 'Program Files' directory - that is to say, could it be some physical
> path issue?
>
> Thanks,
>
>
> Stefan
>
>
>
> - Original Message -
> From: "Ben Souther" <[EMAIL PROTECTE
v" <[EMAIL PROTECTED]>
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
ical
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 a context.xml file, it's up to you
to learn how to use it.
Yoav 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.
>
&
- 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
x27;t work ...
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
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=""
> > but in your url you&
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 ...
>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
>p
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
>
>
> - Original Message -
> From: "Ben Souther" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Monday, November 22, 2004 10:19 AM
> Subject: Re: Servlet mapping problem.
>
>
> > Why don't you
e, my web app is sitting in the 'webapps' directory in Tomcat.
Any ideas?
Stefan
www.killersites.com
- Original Message -
From: "Ben Souther" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, November 22, 2004 10:19 A
mcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, November 22, 2004 10:12 AM
Subject: RE: Servlet mapping problem.
Hi,
>
>
>name:
>
>
>
>
I meant the server-side code, not the HTML output.
>Q. Accordingly, how do you generate this element?
>A. I'
the servlet:
>
>
> loginResponse
> /loginResponse.do
>
>
>
> Does this shed any light on what is going on?
>
>
> Stefan
>
> www.killersites.com
>
>
> - Original Message -
> From: "Stefan" <[EMAIL PROTECTE
Hi,
>
>
>name:
>
>
>
>
I meant the server-side code, not the HTML output.
>Q. Accordingly, how do you generate this element?
>A. I'm not sure what you mean, it's just a hard-coded HTML form.
It shouldn't be. Try a relative URL instead.
>Q. I assume you don't have the webapp's name hard-cod
rom: "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:
>
>
>
> name:
&g
tion attribute? If so, is that a
problem?
Thanks,
Stefan
www.killersites.com
- Original Message -
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, November 22, 2004 9:03 AM
Subject: RE: Servlet mapping
Tomcat Users List
>Subject: Re: Servlet mapping problem.
>
>Hi,
>
>This is my web.xml for the web app:
>
>
>
>2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
>
> index.jsp
>
>
> authentication filter
> com._XYZ.authenticateAdminF
riginal Message -
> From: "Stefan" <[EMAIL PROTECTED]>
> Newsgroups: gmane.comp.jakarta.tomcat.user
> Sent: Monday, November 22, 2004 5:36 AM
> Subject: Re: Servlet mapping problem.
>
>
> > Hi,
> >
> > I'm not using struts.
> >
> > Stefan
Hi,
>message /loginResponse.do
>
>description The requested resource (/loginResponse.do) is not
available.
It seems the context_name part of your element is blank, missing,
or wrong, since the page is asking for /loginResponse.do and not
/whatever/loginResponse.do. Accordingly, how do you gener
Monday, November 22, 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: "Tom
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.
an
>
> 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.
>
>
ber 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 ... sorry
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 erro
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 wr
av Shapira
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
What if I use a filter ?. I will map it like this
MappingFilter
/
MappingFilter
/*
In filter I forward to the path substituted with the directory. With
servlet I failed to achieve what I want. I am sceptical about using a
forward in a filter.
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 mapp
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 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 writ
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 it
Howdy,
> 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 appBase directory. You can eithe
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
/cs/home/jas/weba
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
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
In "/cs/home/jas/webapps/test",
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:
>
>autoDeploy="true">
>
>In "/cs/home/jas/webapps/test", I have a directory "test" with a
>"WEB-INF" directory
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
===
-Original Message-
From: Dave Ferguson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 12:11 PM
To: Tomcat Users List
Subject: Re: servlet-mapping problem
This is basic stuff. It should work. What URL are you using to invoke the
servlet?
This is basic stuff. It should work. What URL are you using to invoke the servlet?
With no mapping the URL would be http://server/servlet/warservlet. If your mapping is
/blah
then the URL would be http://server/blah. Restart Tomcat to be sure your changes take
effect.
- df
Takeshi L T
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
> On Fri, 21 Dec 2001, Scott Eade wrote:
> > Subject: servlet-mapping problem - tomcat 4.0.1
> >
> > How do I default a user to my servlet without blocking access
> > to other directories? Using a default mapping of "/" results in
> > failure to gai
On Fri, 21 Dec 2001, Scott Eade wrote:
> Date: Fri, 21 Dec 2001 23:53:42 +1100
> From: Scott Eade <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: servlet-mapping problem - tomcat 4.0.1
>
> How do I default a user to my servlet without blo
MyServlet
index.html
I think you have to have an empty "index.html" file to convince the
that its valid.
This will take all index.html files, so if you have other index.html files
in other directories, add a dummy.html to the list and map it
to your servlet.
I recall doing t
set the welcome file list element to the URL address you want to default to
Something like -
pages/main.jsp
This will default a user going to your context to the file pages/main.jsp -
Tomcat (4.1) has a few default context attributes which are located in the
CATALINA_HOME/conf/web.xml whic
Its a little clunky, but you could use your second 'foo' mapping, and then
have an index.htm that does a meta-refresh to redirect them to your servlet:
Not nice and invisible I know, but it'll work..
ian
- Original Message -
From: "Scott Eade" <[EMAIL PROTECTED]>
To: <[EMAIL PROTEC
Hi,
Got it working eventually by the way, for anyone that is interested.
This is using mod_jk to communicate with a tomcat that is *not* listening
on port 8080.
web.xml:
ShoppingBasket
com.mysite.utils.shopping.basket
On Fri, 14 Sep 2001, Paul Downs wrote:
> Date: Fri, 14 Sep 2001 11:35:25 +0100
> From: Paul Downs <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED],
> Paul Downs <[EMAIL PROTECTED]>
> To: tomcat <[EMAIL PROTECTED]>
> Subject: servlet-mapping problem
>
> Hi,
> Still cannot use servlet-map
:14 PM
To: [EMAIL PROTECTED]
Subject: RE: servlet-mapping problem
Hi,
>
>*.ase
>AServlet
>
Thanks for the response. I am trying to use:
HelloWorld
/doHello
Where a whole directory is mapped to a servlet, I have tried diff
Hi,
Ah oops further to previous reply, could it be because the url I am
trying to use:
http://domain/doHello
Is not even getting to tomcat, the url error is returned by apache. Is
this a configuration problem or is it because I am using mod_jk and apache?
I don't really want to pass
Hi,
>
>*.ase
>AServlet
>
Thanks for the response. I am trying to use:
HelloWorld
/doHello
Where a whole directory is mapped to a servlet, I have tried different
forms:
/doHello/*
But to no avail.
Paul
Here is an example of a Servlet and URL mapping
AServlet
my.package.AServlet
*.ase
AServlet
The servlet mapping associates the name AServlet
to the servlet my.package.AServlet.
The URL mapping means that ANY request that ends in
.ase will be passed to the associated servlet v
---
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 12:34 PM
To: [EMAIL PROTECTED]
Subject: Re: Servlet Mapping Problem -- ???
Hunter Hillegas wrote:
> I have a strange problem with Tomcat 3.2 that I can't figure out...
>
> I have two
Stern & Sons, Inc.
[EMAIL PROTECTED]
805-565-1411 PH * 805-565-8684 FAX
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 12:34 PM
To: [EMAIL PROTECTED]
Subject: Re: Servlet Mapping Problem -- ???
Hunter Hillegas w
han" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 9 Feb 2001 12:33:47 -0800
> To: [EMAIL PROTECTED]
> Subject: Re: Servlet Mapping Problem -- ???
>
> Hunter Hillegas wrote:
>
>> I have a strange problem with Tomcat 3.2 that I can't figure out...
s, MCP
Web Engineer / System Administrator - Jacob Stern & Sons, Inc.
[EMAIL PROTECTED]
805-565-1411 PH * 805-565-8684 FAX
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 12:34 PM
To: [EMAIL PROTECTED]
Subject: Re: S
Hunter Hillegas wrote:
> I have a strange problem with Tomcat 3.2 that I can't figure out...
>
> I have two servers, a development server and a production server. The
> development server is working just fine. I have a servlet called
> marketCustomerVendorController that is mapped to
> /marketCus
Marco Leal wrote:
> I don't know if this message got through the first time I sent it. If
> you're seeing it again, I'm sorry.
>
Two questions:
* What version of Tomcat? If it's less than 3.2 you should upgrade.
* Are you running Tomcat stand-alone or behind a web server
like Apache. If it
59 matches
Mail list logo