Re: Servlet mapping - url pattern with *

2005-08-01 Thread flower
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/): http://x.com/galery/galery_

Re: Servlet mapping - url pattern with *

2005-08-01 Thread Bill Barker
"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.h

Servlet mapping - url pattern with *

2005-07-31 Thread flower
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 http://x.com/galery/galery_id/secondpage.html firstpage.html is generated b

Re: servlet mapping and url

2005-07-06 Thread David Smith
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 mapping and url Hi, I don't thi

RE: servlet mapping and url

2005-07-06 Thread Geiglein, Gary
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

Re: servlet mapping and url

2005-07-02 Thread Frank W. Zammetti
Hi, I don't think there is any restriction to mapping a servlet to a welcome page: MyServlet com.company.app.MyServlet MyServlet /myServlet /myServlet Also, I'm not as sure, put I think just mapping the servlet to / will do the trick as well. Both are easy enough to test though, giv

Re: servlet mapping and url

2005-07-02 Thread Hardik Tank
you can configure your web.xml file and make index.jsp file as an welcome file using, index.jsp now, create index.jsp file which will simply forward the request to your servlet! Rgds, Hardik --- s s <[EMAIL PROTECTED]> wrote: > i want to invoke a servlet using url like > http

servlet mapping and url

2005-07-02 Thread s s
i want to invoke a servlet using url like http://localhost:8080 only i have done it using http://localhost:8080/index.html where index.html is a servlet. Is it possible to load this servlet as a default just like a default web page. The point is i want a servlet to recieve a request when url h

[OT] wildcard servlet mapping also catching jsps

2005-06-30 Thread Allistair Crossley
ontroller, sends back a JSP view, probably via request forwarding or whatever. However, the web.xml /* mapping to the controller picks up the JSP request/forward whatever, and so the JSP is never run as we're in a loop. Why oh why can't servlet-mapping elements allow for exclusions I d

Re: Apache-Tomcat Servlet Mapping Issues

2005-06-22 Thread Steve Ochani
Hi, As you test, can you load a servlet through apache httpd? Such as http://www.xyz.com/testservlet You should make a simple servlet that just has the doGet method to test. -Steve O. > System: Solaris SunOS 5.9 > Apache: 2.0.52 > Tomcat: 4.1.31 > Mod JK: 1.2.6 > The problem: Apache/mod_jk c

Re: Apache-Tomcat Servlet Mapping Issues

2005-06-22 Thread Hari Mailvaganam
Hi David: An alternate to using mod_JK is to proxy http (or https) request to the Tomcat from Apache. i.e: ProxyPass /path http://localhost:port/path ProxyPassReverse /path http://localhost/path There are valid reasons for using mod_JK - above just an alternate suggestion if you can do without m

Apache-Tomcat Servlet Mapping Issues

2005-06-22 Thread David Rickard
System: Solaris SunOS 5.9 Apache: 2.0.52 Tomcat: 4.1.31 Mod JK: 1.2.6 The problem: Apache/mod_jk cannot resolve servlet URL mappings When Tomcat is running stand-alone, it can resolve servlet mappings without any problems; so that a page with this form definition: correctly invokes the com.com

Re: [OT] Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
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

[OT] Re: Servlet mapping problem.

2004-11-22 Thread Stefan
; <[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

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
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

[OT] Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
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

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
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

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
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&

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
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. > &

Re: Servlet mapping problem.

2004-11-22 Thread 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

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
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

Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
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&

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
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

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
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

Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
> > > - 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

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
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

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
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'

Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
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

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
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

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
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

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
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

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
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

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
d xxx loginResponse /loginResponse.do At this point I'm stumped as to why Tomcat refuses the servlet mapping? Stefan www.killersites.com - Original Message - From: "Andoni" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent:

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
ow do you generate this element? I assume you don't have the webapp's name hard-coded. To answer your question in general, Tomcat's servlet mapping behavior is extremely well-tested, and has been for years. I'd be surprised if this issue was NOT caused by a configuration or

Re: Servlet mapping problem.

2004-11-22 Thread Andoni
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

Re: Servlet mapping problem.

2004-11-21 Thread 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.

Re: Servlet mapping problem.

2004-11-21 Thread sven morales
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. > >

Re: Servlet mapping problem.

2004-11-21 Thread Stefan
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

Re: Servlet mapping problem.

2004-11-21 Thread sven morales
> > > It's my first time using Tomcat, been a Resin user > for years ... any ideas? > > Thanks, > > Stef > > > > - Original Message - > From: "Mark Thomas" <[EMAIL PROTECTED]> > To: "'Tomcat Users List'&

Servlet mapping problem.

2004-11-21 Thread Stefan
deas? Thanks, Stef - Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Sunday, November 21, 2004 12:10 PM Subject: RE: CGI Again...Servlet.service() for servlet cgi threw exception > I'll

RE: Multiple Servlet Mapping Problem

2004-11-11 Thread Shapira, Yoav
s [mailto:[EMAIL PROTECTED] >Sent: Wednesday, November 10, 2004 5:37 PM >To: [EMAIL PROTECTED] >Subject: Multiple Servlet Mapping Problem > >Is it possible to have two separate servlets, with separate >configurations pointing to the same class? > >Here's my situation,

RE: Multiple Servlet Mapping Problem

2004-11-10 Thread Steve Kirk
le, your config looks fine to me. > -Original Message- > From: Dana Cordes [mailto:[EMAIL PROTECTED] > Sent: Wednesday 10 November 2004 22:37 > To: [EMAIL PROTECTED] > Subject: Multiple Servlet Mapping Problem > > > Is it possible to have two separate servlets, wi

Multiple Servlet Mapping Problem

2004-11-10 Thread Dana Cordes
Is it possible to have two separate servlets, with separate configurations pointing to the same class? Here's my situation, I have a servlet class that has several init-parameters. I want to have a second instance of that same servlet running with different parameters. But it doesn't seem to

Re: Servlet mapping problem

2004-09-29 Thread Michael McGrady
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

RE: Servlet mapping problem

2004-09-29 Thread Shapira, Yoav
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

Re: Servlet mapping problem

2004-09-29 Thread Anto Paul
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.

AW: Servlet mapping problem

2004-09-29 Thread Steffen Heil
did understand this. However, I think the original poster wanted to archieve, what I had to do once: To KEEP the default servlet mapping for all my html, js and css files and additionally have a servlet that get's ONLY called for the domain root "/". This works as I described, with th

RE: Servlet mapping problem

2004-09-29 Thread Shapira, Yoav
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

AW: Servlet mapping problem

2004-09-29 Thread Steffen Heil
Hi > > You cannot map a single url. Tomcat only maps prefixes. > 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 (SRV 1

AW: AW: Servlet mapping problem

2004-09-29 Thread Steffen Heil
Hi > I cant grasp what you said. I am using Tomcat 4.1.x. I searched in Google for world welcome-file and could'nt find anything on it. Are you talking about welcome-file-list ?. Yes. It's entry is welcome-file. root If someone accesses "/", tomcat will search for "/root" and

RE: Servlet mapping problem

2004-09-29 Thread Shapira, Yoav
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 Specificat

Re: AW: Servlet mapping problem

2004-09-29 Thread Anto Paul
I cant grasp what you said. I am using Tomcat 4.1.x. I searched in Google for world welcome-file and could'nt find anything on it. Are you talking about welcome-file-list ?. rgds Anto Paul On Wed, 29 Sep 2004 11:43:33 +0200, Steffen Heil <[EMAIL PROTECTED]> wrote: > Hi > > > I wrote a servlet w

AW: Servlet mapping problem

2004-09-29 Thread Steffen Heil
Hi > I wrote a servlet with mapping as / . But when it is forwarded to subdirectory it is coming to same servlet and executing in a loop. You cannot map a single url. Tomcat only maps prefixes. So, you cannot map "/" with tomcat. (Resin can, but this is another story.) Here is a workaround: Map "

Re: Servlet mapping problem

2004-09-29 Thread Anto Paul
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

Re: Servlet mapping problem

2004-09-29 Thread Michael McGrady
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

Servlet mapping problem

2004-09-29 Thread Anto Paul
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 is forwarded to

servlet-mapping required??? Tomcat 5 upgrade problem...

2004-08-03 Thread dhay
| | cc: | | Subject: servlet-mapping required??? Tomcat 5 upgrade problem...(

RE: servlet-mapping required??? Tomcat 5 upgrade problem...

2004-08-03 Thread Dale, Matt
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 required

RE: servlet-mapping required??? Tomcat 5 upgrade problem...

2004-08-03 Thread Shapira, Yoav
ist >Subject: servlet-mapping required??? Tomcat 5 upgrade problem... > > >Hi, > >I'm using Struts with Tomcat, and am upgrading to Tomcat 5. > >It appears that it won't recognize any of my servlets, though, which I >could previously call though ...[webapp]/servlet/s

servlet-mapping required??? Tomcat 5 upgrade problem...

2004-08-03 Thread dhay
Hi, I'm using Struts with Tomcat, and am upgrading to Tomcat 5. It appears that it won't recognize any of my servlets, though, which I could previously call though ...[webapp]/servlet/servletname. I managed to call them by adding a servlet-mapping to eliminate the /servlet/ bit, but

RE: cannot get servlet mapping working under 3.3

2004-04-06 Thread Larry Isaacs
y on Windows. HTH. Cheers, Larry > -Original Message- > From: Christoph P. Kukulies [mailto:[EMAIL PROTECTED] > Sent: Monday, April 05, 2004 11:19 AM > To: Tomcat Users List > Subject: Re: cannot get servlet mapping working under 3.3 > > > On Mon, Apr 05, 2004

Re: cannot get servlet mapping working under 3.3

2004-04-05 Thread Christoph P. Kukulies
On Mon, Apr 05, 2004 at 11:41:56AM +0200, Christoph P. Kukulies wrote: > > Investigating further I come to the conclusion that my problem may be > related to the invoker servlet. > > Doesn't tomcat 3.3 have a central web.xml any longer? > Sorry, I know that talking about tomcat 5.x is more intere

Re: cannot get servlet mapping working under 3.3

2004-04-05 Thread Christoph P. Kukulies
Investigating further I come to the conclusion that my problem may be related to the invoker servlet. Doesn't tomcat 3.3 have a central web.xml any longer? Sorry, I know that talking about tomcat 5.x is more interesting than talking about yesterdays. :-) Chris Christoph P. U. Kukulies kuku_at_ph

Re: cannot get servlet mapping working under 3.3

2004-04-05 Thread Christoph P. Kukulies
I found the following in tomcat.conf in the 3.3 distribution: ## Context mapping - you need to "deploy" # ( copy or ln -s ) the context into htdocs ## # ApJservMount /CONTEXT/servlet /root # # AllowOverride None # deny from all # What would that mean? Do

Re: cannot get servlet mapping working under 3.3

2004-04-04 Thread Christoph P. Kukulies
or httpd.conf/jserv.conf. Chris Christoph P. U. Kukulies kuku_at_physik.rwth-aachen.de > :: Subject: cannot get servlet mapping working under 3.3 > :: > :: I'm reconvalescing from a disc crash where lots of my existing > :: tomcat 3.1/apache 1.3.26 installation had crashed and I &g

RE: cannot get servlet mapping working under 3.3

2004-04-04 Thread Schalk
, please notify me immediately so that I can correct and delete the original email. Thank you. :: -Original Message- :: From: Schalk [mailto:[EMAIL PROTECTED] :: Sent: Sunday, April 04, 2004 10:04 PM :: To: 'Tomcat Users List' :: Subject: RE: cannot get servlet mapping working

RE: cannot get servlet mapping working under 3.3

2004-04-04 Thread Schalk
. Thank you. :: -Original Message- :: From: C. Kukulies [mailto:[EMAIL PROTECTED] :: Sent: Sunday, April 04, 2004 9:55 PM :: To: [EMAIL PROTECTED] :: Subject: cannot get servlet mapping working under 3.3 :: :: I'm reconvalescing from a disc crash where lots of my existing :: tomca

cannot get servlet mapping working under 3.3

2004-04-04 Thread C. Kukulies
I'm reconvalescing from a disc crash where lots of my existing tomcat 3.1/apache 1.3.26 installation had crashed and I reinstalled tomcat 3.3 with apache-1.3.27 now such that the examples work when I connect to the server at port 8080. But this is tomcat. Trying to connect to apache via the jserv

Re: Servlet-Mapping Question, recursive capable?

2004-02-25 Thread David Erickson
tched /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: Servle

RE: servlet mapping problem

2004-02-25 Thread Shapira, Yoav
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

RE: servlet mapping problem

2004-02-25 Thread Jason Keltz
h for your help ... Jason. On Wed, 25 Feb 2004, Shapira, Yoav wrote: > > 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.xm

RE: servlet mapping problem

2004-02-25 Thread Shapira, Yoav
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

Re: servlet mapping problem

2004-02-25 Thread BAO RuiXian
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

RE: servlet mapping problem

2004-02-25 Thread Shapira, Yoav
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

servlet mapping problem

2004-02-25 Thread Jason Keltz
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: In "/cs/home/jas/webapps/test", I have a directory "test" with a "WEB-INF" direct

Re: another servlet-mapping question,.............

2004-02-25 Thread Parsons Technical Services
" <[EMAIL PROTECTED]> Sent: Wednesday, February 25, 2004 9:41 AM Subject: another servlet-mapping question,. > Hi everybody, > > I got several servlets mapped on the web.xml file that works pretty fine on my > local tomcat installation, but when uploaded to the hosti

RE: another servlet-mapping question,.............

2004-02-25 Thread Kannan Sundararajan
Does the tomcat runs for sample programs or admin on hosting server. -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 10:22 AM To: Tomcat Users List Subject: Re: another servlet-mapping question,. Andres Ledesma wrote: >

Re: another servlet-mapping question,.............

2004-02-25 Thread BAO RuiXian
Andres Ledesma wrote: Hi everybody, I got several servlets mapped on the web.xml file that works pretty fine on my local tomcat installation, but when uploaded to the hosting server, I get a 400 Server Statuts Error, it complains the path to the server does not exist !!! My web.xml for the

another servlet-mapping question,.............

2004-02-25 Thread Andres Ledesma
Hi everybody, I got several servlets mapped on the web.xml file that works pretty fine on my local tomcat installation, but when uploaded to the hosting server, I get a 400 Server Statuts Error, it complains the path to the server does not exist !!! My web.xml for the servlets is like this co

Re: Servlet-Mapping Question, recursive capable?

2004-02-25 Thread Daniel Gibby
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 thou

Re: Servlet-Mapping Question, recursive capable?

2004-02-25 Thread Tim Funk
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

Re: Servlet-Mapping Question, recursive capable?

2004-02-24 Thread Daniel Gibby
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. How

Re: Servlet-Mapping Question, recursive capable?

2004-02-24 Thread Tim Funk
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: action /docs/**.pdf So that anything in the /docs/ folder AND ANY of its subfolders with the .pdf extension gets sent to my action servlet. Is

Servlet-Mapping Question, recursive capable?

2004-02-24 Thread David Erickson
Hi I would like to do something like: action /docs/**.pdf So that anything in the /docs/ folder AND ANY of its subfolders with the .pdf extension gets sent to my action servlet. Is that possible with tomcat 4.1.24? If not does anybody know the class that matches those things so I can alte

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Ben Souther
nks, Jon > > - Original Message - > From: "Ben Souther" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Friday, December 12, 2003 3:01 PM > Subject: Re: Default servlet mapping not working in Tomcat 5.0

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Jonathan Eric Miller
27;m better off just using a redirect. Thanks, Jon - Original Message - From: "Ben Souther" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, December 12, 2003 3:01 PM Subject: Re: Default servlet mapping not working in Tomcat 5.0

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Ben Souther
The welcome file list actually has to point to a servlet mapping. Here is mine. It works. 2296 2297 2298 HrpServlet 2299 /HRP 2300 2301 2302 2303 2304 HRP 2305 2306 On Friday 12 December 2003 03:35 pm, Jonathan Eric Miller

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Jonathan Eric Miller
From: "Ben Souther" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, December 12, 2003 1:31 PM Subject: Re: Default servlet mapping not working in Tomcat 5.0.16? > In version 5x you could also set a servlet to be your welcome file. > >

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Ben Souther
; > From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED] > > >Sent: Friday, December 12, 2003 1:23 PM > >To: Tomcat User List > >Subject: Default servlet mapping not working in Tomcat 5.0.16? > > > >I'm using Tomcat 5.0.16 and I'm trying to make it so tha

RE: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Shapira, Yoav
Howdy, The / mapping is taken by default servlet in the default tomcat configuration. If you map a servlet to /, you have to: 1. Remove the default servlet mapping from conf/web.xml. 2. Make sure you handle static content (this is what the default servlet handles, among other duties). As for

Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Jonathan Eric Miller
I'm using Tomcat 5.0.16 and I'm trying to make it so that if a user enters a path like, http://myserver/myapp it runs a default servlet for that path. According the the Servlet 2.4 spec, you can do this by mapping "/" to a servlet. However, for me, it's just printing out a directory listing of the

Re: servlet-mapping like mod_rewrite?

2003-12-10 Thread David Evans
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-forwar

RE: servlet-mapping like mod_rewrite?

2003-12-10 Thread Ralph Einfeldt
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? > >

Re: servlet-mapping like mod_rewrite?

2003-12-10 Thread Marten Lehmann
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 ---

Re: servlet-mapping like mod_rewrite?

2003-12-10 Thread Marten Lehmann
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, e-mail

RE: servlet-mapping like mod_rewrite?

2003-12-10 Thread Ralph Einfeldt
IL PROTECTED] > Subject: servlet-mapping like mod_rewrite? > > > 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. /en/helloworld or /de/helloworld is requested, a un

RE: servlet-mapping like mod_rewrite?

2003-12-09 Thread Hart, Justin
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. /en

servlet-mapping like mod_rewrite?

2003-12-09 Thread Marten Lehmann
Hello, 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. /en/helloworld or /de/helloworld is requested, a unique helloworld-servl

servlet mapping similarity/overlap ?

2003-10-15 Thread Jules Yasuna
Here is a snippet from web.xml ... Controller com.xxx.Controller Controller /test Controller /test/ please notice the two servlet mappings, one to "/test" and the other to "/test/" the only difference is the trailing slash, but I wish to have both ur

RE: tomcat servlet-mapping

2003-09-23 Thread Shapira, Yoav
Howdy, >Is there anybody who could give me an advice in servlet-mapping? None of us have a clue ;) Just kidding -- we can probably give it a decent shot. >I got a web application which consists of a ControllerServlet which should >handles all incoming request´s >except 2 stati

  1   2   3   4   >