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.

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

2005-02-22 Thread karjera
Laba diena. Dkojame, kad mums parate. Js atsista inut isaugota ms duomen bazje. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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 servlet-name and servlet-class 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

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: web.xml servlet mappings, url pattern and CGI.PATH_INFO (tomcat 4.1.31)

2005-01-04 Thread Ryan Stewart
want easily. -Original Message- From: Jack Eidsness[EMAIL PROTECTED] To: Tomcat Users Listtomcat-user@jakarta.apache.org Date: Mon Jan 03 13:09:01 PST 2005 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

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

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

2005-01-03 Thread Parsons Technical Services
] To: Tomcat Users List tomcat-user@jakarta.apache.org 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, coldfusion has

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 specified

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: Programmatically assign servlet mappings

2004-09-08 Thread Shapira, Yoav
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 following: I want to start my application using some

Re: Programmatically assign servlet mappings

2004-09-08 Thread Tim Funk
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 system

Re: Programmatically assign servlet mappings

2004-09-08 Thread John Villar
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 servlet

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

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

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

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

2003-12-16 Thread Shapira, Yoav
: 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-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

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

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

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?

2003-09-04 Thread Yoav Shapira
] 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. How can I do this? Thank You, Justin A. Stanczak Web

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 myhostip:myport/webappname/Form Here is my web.xml file from my webapp\aeform\WEB-INF ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems,

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-forward and now

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

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 ;) myhostip:myport/webappname/Form This used to work and now it doesn't; Why ! !-- servlet-mapping

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

RE: Servlet mappings?

2003-09-03 Thread Mike Cherichetti \(Renegade Internet\)
: 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. How can I do

RE: Servlet mappings?

2003-09-03 Thread JStanczak
: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 with only a forward/redirect call in it to transfer control

Re: Servlet mappings?

2003-09-03 Thread Bill Barker
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 only a forward/redirect call in it to transfer control to your servlet. I've done this before, seems to work quite well

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

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 useful

Problem: Servlet Mappings RequestDispatcher

2001-07-11 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 handle this, please help. I'm

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: ContextManager debug=1 workDir=work showDebugInfo=true in

RE: Problem: Servlet Mappings RequestDispatcher

2001-07-11 Thread Saritha Pula
Pula -Original Message- From: Frank Lawlor [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

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

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 example you

RE: Programmatic security with servlet mappings in tomcat

2001-07-03 Thread Emir Alikadic (ADNOC IST)
PROTECTED]] Sent: 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 more

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

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 just

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. login-config auth-methodFORM/auth-method

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

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

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 have

Re: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Andrew Oliver
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 system. The following is my web.xml file put in webapps

RE: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Etienne Baert \(SPS Office\)
="/myorg.com" docBase="..." ... /Context Hope this helps, 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

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

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

Re: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Andrew Oliver
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. Hi Andy, I think your problem comes b

Re: servlet mappings???

2000-11-03 Thread Kurt Bernhard Pruenner
Matt Goss wrote: servlet-mapping servlet-namerouter/servlet-name url-pattern/*/urlpattern /servlet-mapping 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

RE: servlet mappings???

2000-11-03 Thread Renee Petris
url-pattern *.xxx /url-pattern /servlet-mapping -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 attempting to map

RE: servlet mappings???

2000-11-03 Thread Kenneth R . Kress
PROTECTED]; [EMAIL PROTECTED] Subject: servlet mappings??? 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 fi