Re: Can servlet mappings be done somewhere other than web.xml?

2005-02-22 Thread Bill Barker
Yup. Tomcat 3.3 has the Invoker enabled by default (although 3.3 doesn't have a global web.xml file, so it's declared in server.xml :). "Drew Jorgenson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Looks like the invoker servlet is being used, which is declared in the > global

Re: Can servlet mappings be done somewhere other than web.xml?

2005-02-22 Thread Drew Jorgenson
Looks like the invoker servlet is being used, which is declared in the global web.xml file. The and that you see are used to map a name to a servlet, which are all accessed through /servlet/* Drew. On Tue, 2005-02-22 at 10:43, Beckle, Steven R wrote: > I'm currently working on a legacy Tomcat 3

Re: Can servlet mappings be done somewhere other than web.xml?

2005-02-22 Thread karjera
Laba diena. Dėkojame, kad mums parašėte. Jūsų atsiųsta žinutė išsaugota mūsų duomenų bazėje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Can servlet mappings be done somewhere other than web.xml?

2005-02-22 Thread Beckle, Steven R
I'm currently working on a legacy Tomcat 3.3 project that was developed (not by me) a couple of years ago, and I am having a heck of a time understanding how servlets are getting mapped properly. A typical URL in the application is of the form CONTEXT/servlet/servletName - nothing fancy there. Howe

Re: web.xml servlet mappings, url pattern and CGI.PATH_INFO (tomcat 4.1.31)

2005-01-04 Thread Ryan Stewart
't think of a good way to do what you want easily. -Original Message- From: "Jack Eidsness"<[EMAIL PROTECTED]> To: "Tomcat Users List" Date: Mon Jan 03 13:09:01 PST 2005 Subject: web.xml servlet mappings, url pattern and CGI.PATH_INFO (tomcat 4.1.31) >

Re: web.xml servlet mappings, url pattern and CGI.PATH_INFO (tomcat 4.1.31)

2005-01-03 Thread Parsons Technical Services
AIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, January 03, 2005 4:09 PM Subject: web.xml servlet mappings, url pattern and CGI.PATH_INFO (tomcat 4.1.31) I am new to the J2EE world, so hopefully I will not use terms incorrectly. Due to circumstances beyond my control, coldfusi

web.xml servlet mappings, url pattern and CGI.PATH_INFO (tomcat 4.1.31)

2005-01-03 Thread Jack Eidsness
I am new to the J2EE world, so hopefully I will not use terms incorrectly. Due to circumstances beyond my control, coldfusion has been retrofitted into a J2EE web application and I have recently taken on the task of trying to make previously existing cfm code work as part of a tomcat installatio

Precompiling jsps in different directories does not produce right servlet mappings (jasper issue)

2004-11-03 Thread Shweta Agarwal
for precompiling jsps. I am using this because I want my jsps to be precompiled and also because I want the web.xml file to be populated automatically with all the servlet mappings for the jsps. It works fine for all the jsp files which are under the directory "${basedir}/web" (one sp

Re: Programmatically assign servlet mappings

2004-09-08 Thread QM
On Wed, Sep 08, 2004 at 03:05:38PM -0400, Tim Funk wrote: : You'll need at least 1 servlet and servlet mapping. From there, that : servlet can dynmically dispatch as needed. See the invoker servlet on how : to do so. -or, a twist on this: look into the Front Controller pattern. You can make the

Re: Programmatically assign servlet mappings

2004-09-08 Thread John Villar
using some ContextListener. Then my application shall register the required servlet-mappings. In my web.xml I do NOT want to have any servlet-mappings at all. The reason for this is, that my cms system serves different content types with different servlets. One servlet per type. Additionally every se

Re: Programmatically assign servlet mappings

2004-09-08 Thread Tim Funk
ation shall register the required servlet-mappings. In my web.xml I do NOT want to have any servlet-mappings at all. The reason for this is, that my cms system serves different content types with different servlets. One servlet per type. Additionally every servlet is a module, managed by my cms s

RE: Programmatically assign servlet mappings

2004-09-08 Thread Shapira, Yoav
m Research Informatics >-Original Message- >From: SH Solutions [mailto:[EMAIL PROTECTED] >Sent: Wednesday, September 08, 2004 2:58 PM >To: 'Tomcat Users List' >Subject: Programmatically assign servlet mappings > >Hello > >I want to archive the followin

Programmatically assign servlet mappings

2004-09-08 Thread SH Solutions
Hello I want to archive the following: I want to start my application using some ContextListener. Then my application shall register the required servlet-mappings. In my web.xml I do NOT want to have any servlet-mappings at all. The reason for this is, that my cms system serves different

Re: Second try: Embedded Tomcat 5.0: servlet mappings added to context after start do not work. Looking for suggestions...

2004-06-09 Thread Jeanfrancois Arcand
[EMAIL PROTECTED] wrote: I have an application which embeds tomcat 4.1.12. It dynamically creates contexts, adding wrappers for servlets, etc. Due to the dynamic nature of this application, it can add and remove servlet mappings after the context has been started (added into a host in the

Second try: Embedded Tomcat 5.0: servlet mappings added to context after start do not work. Looking for suggestions...

2004-06-08 Thread DJohnson
I have an application which embeds tomcat 4.1.12. It dynamically creates contexts, adding wrappers for servlets, etc. Due to the dynamic nature of this application, it can add and remove servlet mappings after the context has been started (added into a host in the started engine). This works

Embedded Tomcat 5.0: servlet mappings added to context after start do not work

2004-05-26 Thread DJohnson
I have an application which embeds tomcat 4.1.12. It dynamically creates contexts, adding wrappers for servlets, etc. Due to the dynamic nature of this application, it can add and remove servlet mappings after the context has been started (added into a host in the started engine). This works

RE: servlet mappings

2003-12-16 Thread Shapira, Yoav
;To: Tomcat Users List >Subject: servlet mappings > >Yes there any way i can programatically find out the servlet mappings >defined in web.xml? >Best regards, >Carlos Pereira > > > >- >To unsubscribe, e-m

servlet mappings

2003-12-16 Thread Carlos Pereira
Yes there any way i can programatically find out the servlet mappings defined in web.xml? Best regards, Carlos Pereira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: servlet mappings and security constraints withj_security_check

2003-10-13 Thread Matthew Do
How do I delete my name from Tomcat use list? Because I am trying use TOMCAT but it does not work well for me at this time. Have a good day. Matthew Do Seattle City Light [EMAIL PROTECTED] (206) 733 - 9022 >>> [EMAIL PROTECTED] 10/13/03 09:29AM >>> How do I delete my name from Tomcat use list

Re: servlet mappings and security constraints with j_security_check

2003-10-13 Thread Matthew Do
How do I delete my name from Tomcat use list? Because I am trying use TOMCAT but it does not work well for me at this time. Have a good day. Matthew Do Seattle City Light [EMAIL PROTECTED] (206) 733 - 9022 >>> [EMAIL PROTECTED] 10/13/03 09:26AM >>> I am getting the familiar status 400 - invali

servlet mappings and security constraints with j_security_check

2003-10-13 Thread Adam Hardy
I am getting the familiar status 400 - invalid direct reference, and yet I am absolutely not surfing to the login page myself. This is the page I am on: https://localhost:8443/mywebapp/registerdone.do and this is the link I am using: https://localhost:8443/mywebapp/private/editprofile.do This

RE: Servlet mappings?

2003-09-04 Thread Yoav Shapira
y, September 03, 2003 8:55 PM > To: [EMAIL PROTECTED] > Subject: Servlet mappings? > > > I have a web app with multiple servlets. I would like one of those > servlets to handle all requests to http://mywebserver/. Basically I want > it to do the same thing as the welcome-file i

Re: Servlet mappings?

2003-09-03 Thread Bill Barker
o "Tomcat Users List" > > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > cc: > Subject:RE: Servlet mappings? > > > I don't think this can be done with mappings. You can put an index.jsp > file > with on

RE: Servlet mappings?

2003-09-03 Thread JStanczak
PROTECTED]> 09/03/2003 08:11 PM Please respond to "Tomcat Users List" To: "Tomcat Users List" <[EMAIL PROTECTED]> cc: Subject:RE: Servlet mappings? I don't think this can be done with mappings. You can put an index.jsp file

RE: Servlet mappings?

2003-09-03 Thread Mike Cherichetti \(Renegade Internet\)
CTED] Sent: Wednesday, September 03, 2003 8:55 PM To: [EMAIL PROTECTED] Subject: Servlet mappings? I have a web app with multiple servlets. I would like one of those servlets to handle all requests to http://mywebserver/. Basically I want it to do the same thing as the welcome-file in the web.xml. Ho

Servlet mappings?

2003-09-03 Thread JStanczak
I have a web app with multiple servlets. I would like one of those servlets to handle all requests to http://mywebserver/. Basically I want it to do the same thing as the welcome-file in the web.xml. How can I do this? Thank You, Justin A. Stanczak Web Manager Shake Learning Resource Center V

Re: servlet mappings

2003-09-03 Thread Yoav Shapira
Howdy, > It used to be that servlet mapping was straight-forward and now it seems to > be obfuscated. For example I want the url They haven't really changed in a long long time ;) > ://Form > This used to work and now it doesn't; Why ! > > I doubt this used to work: review the

RE: servlet mappings

2003-09-03 Thread Roehl, Dan
Thanks!! -Original Message- From: Schalk [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2003 4:45 PM To: 'Tomcat Users List' Subject: RE: servlet mappings If you want to read a great article on web.xml check out: http://developer.java.sun.com/developer/Books/javas

RE: servlet mappings

2003-09-03 Thread Schalk
email:[EMAIL PROTECTED] web: www.volume4.co.za :: -Original Message- :: From: Roehl, Dan [mailto:[EMAIL PROTECTED] :: Sent: Wednesday, September 03, 2003 9:21 PM :: To: '[EMAIL PROTECTED]' :: Subject: Re: servlet mappings :: :: It used to be that servlet mapping was straight-forwa

Re: servlet mappings

2003-09-03 Thread Roehl, Dan
It used to be that servlet mapping was straight-forward and now it seems to be obfuscated. For example I want the url ://Form Here is my web.xml file from my webapp\aeform\WEB-INF http://java.sun.com/dtd/web-app_2_3.dtd";> aeform AE form controller.

Servlet Mappings Problem

2002-02-08 Thread Jiger Java
Hi, I am having some problem fitting my requirements in web.xml. I want to do something like this. Whenever a user says http://server.com/contracts . It is supposed to show him the login page. But with some extra parameters to be added. So basically the url will become http://server.com/anacreo

servlet-mappings

2001-11-03 Thread Dr. Evil
I'm trying to do some fancy stuff with servlet mappings. This mechanism leaves a lot to be desired; specificly, it would be amazingly useful to be able to do a getRequestDispatcher in some way that bypasses the servlet mappings in the web.xml file. Alternatively it would be extremely usef

RE: Problem: Servlet Mappings & RequestDispatcher

2001-07-11 Thread Saritha Pula
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 10:47 AM To: Tomcat (E-mail) Subject: Problem: Servlet Mappings & RequestDispatcher Re problem B. I found that after some re-directions Tomat ContextManager seemed to be messing up the context path (see "Please explain this Conte

Problem: Servlet Mappings & RequestDispatcher

2001-07-11 Thread Frank Lawlor
Re problem B. I found that after some re-directions Tomat ContextManager seemed to be messing up the context path (see "Please explain this Context"). You can tell if this is happening by having the ContextManager log its mappings: in Server.xml. It is either a bug or some strange semantics

Problem: Servlet Mappings & RequestDispatcher

2001-07-10 Thread Philip Weaver
Hello - I'm trying to create servlet mappings for a servlet that I'd like to exist at the TOP LEVEL of my webapp in Tomcat. You'd think that this task wouldn't be a pain in the rear but I'm finding it to be so. If you know how to configure web.xml and a servlet to hand

Re: Programmatic security with servlet mappings in tomcat

2001-07-03 Thread anil
You can setup a custom login screen and set it up in the tomcat. I am doing it. and you can access the username and password from session variables j_username and j_password. also you can access requested link from session. FORM /LogIn

Re: Programmatic security with servlet mappings in tomcat

2001-07-03 Thread Antony Bowesman
pete wrote: > > Sure, one is that i want custom login screens, another is that > we store all our authentication details centrally and query for > them via an XML data service. > > Various user and domain-specific data, including user preferences, > roles etc. is stored in this repository, not j

Re: Programmatic security with servlet mappings in tomcat

2001-07-03 Thread pete
Sure, one is that i want custom login screens, another is that we store all our authentication details centrally and query for them via an XML data service. Various user and domain-specific data, including user preferences,roles etc. is stored in this repository, not just 'yes, this user has b

RE: Programmatic security with servlet mappings in tomcat

2001-07-03 Thread
: Tuesday, July 03, 2001 12:50 PM To: '[EMAIL PROTECTED]' Subject: RE: Programmatic security with servlet mappings in tomcat I did not want to use the container's authentication mechanism for several reasons: 1. I can't store passwords and usernames in a database. 2. I get m

Re: Programmatic security with servlet mappings in tomcat

2001-07-03 Thread Antony Bowesman
Pete, pete wrote: > > Tim, > > there are several ways to implement this kind of security check. If you > want a fullblown MVC model, you might consider looking at Struts or one > of the other Apache-driven frameworks (Struts is the only one i have > personal experience with). > > with the exam

RE: Programmatic security with servlet mappings in tomcat

2001-07-03 Thread Hughes, Tim
Original Message- From: pete [mailto:[EMAIL PROTECTED]] Sent: 3. juli 2001 01:00 To: [EMAIL PROTECTED] Subject: Re: Programmatic security with servlet mappings in tomcat Tim, there are several ways to implement this kind of security check. If you want a fullblown MVC model, you might conside

Re: Programmatic security with servlet mappings in tomcat

2001-07-02 Thread pete
Tim, there are several ways to implement this kind of security check. If you want a fullblown MVC model, you might consider looking at Struts or one of the other Apache-driven frameworks (Struts is the only one i have personal experience with). with the example you give, i don't understand th

RE: Programmatic security with servlet mappings in tomcat

2001-07-02 Thread Hughes, Tim
Hi, (Tomcat 3.2.1, windows 2000, JdK1.3.1) I want to use a Request Controller architecture for a webapp (i.e. one JSP that receives all requests and then dispatches the requests to other JSPs for servicing of the request). Of course I want to ensure that these "servicing" JSPs are not accessibl

RE: Programmatic security with servlet mappings in tomcat

2001-07-02 Thread Hughes, Tim
Hi, (Tomcat 3.2.1, windows 2000, JdK1.3.1) I want to use a Request Controller architecture for a webapp (i.e. one JSP that receives all requests and then dispatches the requests to other JSPs for servicing of the request). Of course I want to ensure that these "servicing" JSPs are not accessible

Re: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Andrew Oliver
e all dwf file are > handled by NetSite servlet. > > Bye. > - Original Message - > From: "Etienne Baert (SPS Office)" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, December 13, 2000 4:14 PM > Subject: RE: Servlet Mappings and

Re: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Pier Paolo Bortone
Ok. Andy, I send you my web.xml that could be help you, where all dwf file are handled by NetSite servlet. Bye. - Original Message - From: "Etienne Baert (SPS Office)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 13, 2000 4:14 PM Subject

Re: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Matt Goss
Andrew, What you are doing won't work correctly on Tomcat. Apparently the * isn't a valid wildcard according to the servlet specification. instead, map your servlet to a specific filename like dosomething.do and then add information to the end of the URL to tell the servlet what page to forward to

RE: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Etienne Baert \(SPS Office\)
, Etienne -Original Message- From: Andrew Oliver [mailto:[EMAIL PROTECTED]] Sent: mercredi 13 decembre 2000 15:42 To: [EMAIL PROTECTED] Subject: Servlet Mappings and what am I doing wrong. I have some legacy code that uses its own non-jsp tag system. The following is my web.xml file put

Re: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Andrew Oliver
is a little difference. > - Original Message - > From: Andrew Oliver > To: [EMAIL PROTECTED] > Sent: Wednesday, December 13, 2000 3:42 PM > Subject: Servlet Mappings and what am I doing > wrong. > > > I have some legacy code that uses its own non-jsp > tag >

Re: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Pier Paolo Bortone
How are you using tomcat? Standalone or with Apache + mod_jk?   There is a little difference. - Original Message - From: Andrew Oliver To: [EMAIL PROTECTED] Sent: Wednesday, December 13, 2000 3:42 PM Subject: Servlet Mappings and what am I doing wrong. I

Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Andrew Oliver
I have some legacy code that uses its own non-jsp tag system. The following is my web.xml file put in webapps/myapp/WEB-INF dir The attempt is to map files with the extension *.msp to the RouterServlet. Unfortunately this is not happening, if I goto the directory and do an msp file it lists

servlet-mappings

2000-12-07 Thread Matt Goss
I have the following mapping in my web.xml. It is intended to map all requests inside a directory for .html files to a servlet. The servlet then forwards to a .jsp file (hides the url). This works fine in JRun3.0, But I get a 404 not found when I put the application on tomcat3.1. Is this a bug of

Re: servlet mappings???

2000-11-07 Thread Matt Goss
h Kurt Bernhard Pruenner wrote: > Matt Goss wrote: > > On second thought... > > when requesting an html file it routed to the servlet (which popped up a > > login screen) but when the servlet tried to forward to the html file it > > aparently got caught in a recursive error of some kind

Re: servlet mappings???

2000-11-06 Thread Kurt Bernhard Pruenner
Matt Goss wrote: > On second thought... > when requesting an html file it routed to the servlet (which popped up a > login screen) but when the servlet tried to forward to the html file it > aparently got caught in a recursive error of some kind and just hung. Then I > noticed a huge stack trac

Re: servlet mappings???

2000-11-06 Thread Matt Goss
On second thought... when requesting an html file it routed to the servlet (which popped up a login screen) but when the servlet tried to forward to the html file it aparently got caught in a recursive error of some kind and just hung. Then I noticed a huge stack trace dumping out onto the screen

Re: servlet mappings???

2000-11-06 Thread Matt Goss
Thanks Kurt, That works great for any (.html) files except .jsp and servlets... why would that be??? Matt Kurt Bernhard Pruenner wrote: > Matt Goss wrote: > > > > router > > /* > > > > > > the idea is that I should be able to request the file test.jsp and have > > the router servlet pi

RE: servlet mappings???

2000-11-03 Thread Kenneth R . Kress
> *.xxx > > > > -----Original Message- > From: Matt Goss [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 03, 2000 12:57 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: servlet mappings??? > > > Hi all, > I&#x

RE: servlet mappings???

2000-11-03 Thread Renee Petris
t to *.xxx snoop *.xxx -Original Message- From: Matt Goss [mailto:[EMAIL PROTECTED]] Sent: Friday, November 03, 2000 12:57 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: servlet mappings??? Hi all, I'm atte

Re: servlet mappings???

2000-11-03 Thread Kurt Bernhard Pruenner
Matt Goss wrote: > > router > /* > > > the idea is that I should be able to request the file test.jsp and have > the router servlet pick up the request (to test for a login)...but the > servlet never gets the request... the test.jsp page just comes right > up gr... I had a simi

servlet mappings???

2000-11-03 Thread Matt Goss
Hi all, I'm attempting to map a controller servlet so that any requests go through it... (the MVC method). I have a context/application called test that is accessable via the URL "http://myhost.com/test/". In the web.xml file (in the "webapps/test/WEB-INF" directory) I put the following mapping: