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.html

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/):

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

RE: servlet mapping and url

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

Re: servlet mapping and url

2005-07-06 Thread David Smith
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

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

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, 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]

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: 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

[OT] wildcard servlet mapping also catching jsps

2005-06-30 Thread Allistair Crossley
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 don't know. Perhaps someone out

Apache-Tomcat Servlet Mapping Issues

2005-06-22 Thread David Rickard
action=loginhandler correctly invokes the com.company.LoginHandler servlet (which suggests there's nothing syntactically wrong with the servlet and servlet-mapping entries in web.xml); When Tomcat stand-alone is turned off and Apache is turned on, that same page always throws a 404 error

Re: Apache-Tomcat Servlet Mapping Issues

2005-06-22 Thread Hari Mailvaganam
without any problems; so that a page with this form definition: FORM name=login method=POST action=loginhandler correctly invokes the com.company.LoginHandler servlet (which suggests there's nothing syntactically wrong with the servlet and servlet-mapping entries in web.xml); When Tomcat stand

Re: Apache-Tomcat Servlet Mapping Issues

2005-06-22 Thread Steve Ochani
nothing syntactically wrong with the servlet and servlet-mapping entries in web.xml); When Tomcat stand-alone is turned off and Apache is turned on, that same page always throws a 404 error for site/loginhandler; these are the error messages in mod_jk.log: [Wed Jun 22 09:04:08 2005] [mod_jk.c

Re: Servlet mapping problem.

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

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, Yoav
generate this form 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 coding mistake in your webapp

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
init-param param-nametestPassword/param-name param-valuexxx/param-value /init-param /servlet servlet-mapping servlet-nameloginResponse/servlet-name url-pattern/loginResponse.do/url-pattern /servlet-mapping /web-app At this point I'm stumped as to why Tomcat refuses the servlet

RE: Servlet mapping problem.

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

Re: Servlet mapping problem.

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

Re: Servlet mapping problem.

2004-11-22 Thread Stefan
tool login page! The URL: http://127.0.0.1/admin/index.jsp And for the sake of completeness my mapping for the servlet: servlet-mapping servlet-nameloginResponse/servlet-name url-pattern/loginResponse.do/url-pattern /servlet-mapping Does this shed any light on what is going on? Stefan

RE: Servlet mapping problem.

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

Re: Servlet mapping problem.

2004-11-22 Thread Ben Souther
From a page with this URL: http://127.0.0.1/the_context/logIn.jsp And when I submit the form I am taken to Tomcats' web server admin tool login page! The URL: http://127.0.0.1/admin/index.jsp And for the sake of completeness my mapping for the servlet: servlet-mapping servlet

Re: Servlet mapping problem.

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

Re: Servlet mapping problem.

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

Re: Servlet mapping problem.

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

Re: Servlet mapping problem.

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

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 ... /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

Re: Servlet mapping problem.

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

Re: Servlet mapping problem.

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

Re: Servlet mapping problem.

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

RE: Servlet mapping problem.

2004-11-22 Thread Shapira, 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. Thanks Ben - I'll give it a go .. the client may insist still on Tomcat, anyway it bugs me

Re: Servlet mapping problem.

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

Re: Servlet mapping problem.

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

[OT] Re: Servlet mapping problem.

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

RE: Servlet mapping problem.

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

[OT] Re: Servlet mapping problem.

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

Re: [OT] Re: Servlet mapping problem.

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

Servlet mapping problem.

2004-11-21 Thread Stefan
: -- servlet servlet-nameloginResponse/servlet-name servlet-classcom._ABC.authenticateAdmin/servlet-class init-param param-nameadminPassword/param-name param-valuexxx/param-value /init-param /servlet servlet-mapping servlet-nameloginResponse/servlet-name url-pattern/loginResponse.do/url

Re: Servlet mapping problem.

2004-11-21 Thread sven morales
-name param-valuexxx/param-value /init-param /servlet servlet-mapping servlet-nameloginResponse/servlet-name url-pattern/loginResponse.do/url-pattern /servlet-mapping -- It's my first time using Tomcat, been

Re: Servlet mapping problem.

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

Re: Servlet mapping problem.

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

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. Can you also post all your struts-config.xml

RE: Multiple Servlet Mapping Problem

2004-11-11 Thread Shapira, Yoav
:[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, I have a servlet class that has several init

Multiple Servlet Mapping Problem

2004-11-10 Thread Dana Cordes
-nameMasterControlURA/servlet-name servlet-classcom.foo.bar.core.MasterControl/servlet-class init-param param-nameCONTROL_PARAMETER_NAME/param-name param-valuecommand2/param-value /init-param /servlet servlet-mapping servlet-nameMasterControl/servlet-name url-pattern/aop/url-pattern

RE: Multiple Servlet Mapping Problem

2004-11-10 Thread Steve Kirk
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, with separate configurations pointing to the same class

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

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

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 writing an

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: 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 with

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 Specification

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. welcome-file-list welcome-fileroot/welcome-file /welcome-file-list

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 11

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 mapped to

AW: Servlet mapping problem

2004-09-29 Thread Steffen Heil
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 the trick of using welcome file and (at least

Re: Servlet mapping problem

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

RE: Servlet mapping problem

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

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

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

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

2004-08-03 Thread Shapira, Yoav
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/servletname. I managed to call them by adding

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

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

2004-08-03 Thread dhay
: | | Subject: servlet-mapping required??? Tomcat 5 upgrade problem...(Document link: David Hay

About servlet-mapping

2004-07-10 Thread Koon Yue Lam
Hi, I place member.jsp in my webapp root folder, which is TOMCAT_HOME -- webapp --myWebApp/ and part of web.xml : servlet-mapping servlet-nameaction/servlet-name url-pattern*.do/url-pattern /servlet-mapping part of struts-config.xml: action-mappings

Re: About servlet-mapping

2004-07-10 Thread Jarl Skogsholm
keep the original mapping, but also add it to your welcome file list On Sun, 11 Jul 2004 04:45:49 +0800, Koon Yue Lam [EMAIL PROTECTED] wrote: Hi, I place member.jsp in my webapp root folder, which is TOMCAT_HOME -- webapp --myWebApp/ and part of web.xml : servlet-mapping servlet

Re: About servlet-mapping

2004-07-10 Thread Koon Yue Lam
Hi Jarl ! sorry, I still don't get what u mean I try to place welcome-file-list welcome-file/Member.jsp/welcome-file /welcome-file-list in web.xml and keep the mapping as : servlet-mapping servlet-nameaction/servlet-name url-pattern/*/url

RE: cannot get servlet mapping working under 3.3

2004-04-06 Thread Larry Isaacs
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 at 11:41:56AM +0200, Christoph P. Kukulies

Re: cannot get servlet mapping working under 3.3

2004-04-05 Thread Christoph P. Kukulies
/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 :: reinstalled tomcat 3.3 with apache

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 # Location /CONTEXT/WEB-INF/ # AllowOverride None # deny from all #

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

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 interesting

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

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 :: tomcat 3.1

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 under 3.3

Re: Servlet-Mapping Question, recursive capable?

2004-02-25 Thread Tim Funk
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 ANY of its subfolders with the .pdf extension gets sent to my action servlet

Re: Servlet-Mapping Question, recursive capable?

2004-02-25 Thread Daniel Gibby
that be! Then apache and tomcat will decide on supporting this as well... Daniel Gibby Tim Funk wrote: 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

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

2004-02-25 Thread Andres Ledesma
this code ... servlet servlet-namevalidate_user/servlet-name servlet-classcom.bs.crm.validateUser/servlet-class /servlet .. servlet-mapping servlet-namevalidate_user/servlet-name url-pattern/validate_user/url-pattern /servlet-mapping Anybody can help me ?? Thanx in advance !! Andrew

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

2004-02-25 Thread BAO RuiXian
for the servlets is like this code ... servlet servlet-namevalidate_user/servlet-name servlet-classcom.bs.crm.validateUser/servlet-class /servlet I don't know how it works in your local tomcat installation, but I think the servelt../servlet pair should the servlet-mapping../servlet-mapping pair

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: Hi

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

2004-02-25 Thread Parsons Technical Services
, 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 hosting server, I get a 400 Server Statuts Error, it complains

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: Context path=/mywebapps docBase=/cs/home/jas/webapps reloadable=true autoDeploy=true/Context In /cs/home/jas

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: Context path=/mywebapps docBase=/cs/home/jas/webapps reloadable=true autoDeploy=true/Context In /cs/home/jas

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 Context path=/mywebapps docBase

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 Jason Keltz
for each one? Would this mean that I now do not have to add any context lines for the applications to work? Thanks so much 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

RE: servlet mapping problem

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

Re: Servlet-Mapping Question, recursive capable?

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

Servlet-Mapping Question, recursive capable?

2004-02-24 Thread David Erickson
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 ANY of its subfolders with the .pdf extension gets sent to my action servlet. Is that possible with tomcat

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: servlet-mapping servlet-nameaction/servlet-name url-pattern/docs/**.pdf/url-pattern /servlet-mapping So that anything in the /docs/ folder

Re: Servlet-Mapping Question, recursive capable?

2004-02-24 Thread Daniel Gibby
in it. How nice would that be! Then apache and tomcat will decide on supporting this as well... Daniel Gibby Tim Funk wrote: 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

Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Jonathan Eric Miller
; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd version=2.4 servlet servlet-namemyservlet/servlet-name servlet-classmypackage.MyServlet/servlet-class /servlet servlet-mapping servlet-namemyservlet/servlet-name url-pattern//url-pattern url-pattern/servlet/myservlet/url-pattern url-pattern/servlet

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

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Ben Souther
In version 5x you could also set a servlet to be your welcome file. On Friday 12 December 2003 01:45 pm, Shapira, Yoav wrote: 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

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Jonathan Eric Miller
with that... Thanks, Jon - Original Message - 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
The welcome file list actually has to point to a servlet mapping. Here is mine. It works. 2296 2297 servlet-mapping 2298 servlet-nameHrpServlet/servlet-name 2299 url-pattern/HRP/url-pattern 2300 /servlet-mapping 2301 2302 2303 welcome-file-list id

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Jonathan Eric Miller
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.16? The welcome file list actually has to point

Re: Default servlet mapping not working in Tomcat 5.0.16?

2003-12-12 Thread Ben Souther
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.16? The welcome file list actually has to point to a servlet mapping. Here is mine. It works. 2296 2297 servlet-mapping

RE: servlet-mapping like mod_rewrite?

2003-12-10 Thread Ralph Einfeldt
] 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 unique helloworld-servlet creates the response

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,

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 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? Hello, What about using one

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-forwarding done?

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

  1   2   3   4   >