servlet-mapping

2002-01-31 Thread Dan Ascheman
_ Chat with friends online, try MSN Messenger: http://messenger.msn.com

Re: Servlet Mapping Recursion Problem

2001-05-11 Thread Bill Winspur
the front servlet truly generic. Also, the *.html servlet-mapping hides *.gif resource mapping, etc. from the servlet.. And reason number four to like this approach is: "it should work on any webserver". After my previous post I discovered that recursion doesn't just happen if

Re: Servlet Mapping Recursion Problem

2001-05-11 Thread Joni Suominen
Hi Bill! I am using a front servlet pattern with Orion. I use Struts but I suppose this approach should work in any framework. 1. The front servlet mapping in web.xml: action *.html So all the requests ending to .html are processed by the front-end servlet. 2. All the valid URL&#

RE: Servlet Mapping Recursion Problem

2001-05-11 Thread elephantwalker
t starts up so that all of your path mapping, rewritting works like apache.   Regards,   The elephantwalker         -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill WinspurSent: Thursday, May 10, 2001 8:51 AMTo: Orion-InterestSubject: Servl

Servlet Mapping Recursion Problem

2001-05-11 Thread Bill Winspur
In my web.xml I set up the servlet mapping, for a (front) servlet to handle all requests for the web app, to '/'. This works to the extent that all requests are passed to the servlet. BUT... if I do a forward to another resource from the servlet, the servlet's doGet() me

servlet mapping

2001-05-08 Thread Steffen Stundzig
Hi, I've deployed the Apache Cocoon Servlet as Web App into orion. Works great. :-) This Servlet can handle different mime-types such as xml, xsl, html and so on. Now I've the problem, that If the servlet returns XML to the browser a chained servlet from within the 'config/global-web-applicatio

RE: How to do this servlet-mapping?

2001-03-21 Thread Duffey, Kevin
age- > From: Magnus Stenman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 21, 2001 1:33 AM > To: Orion-Interest > Subject: Re: How to do this servlet-mapping? > > > What you describe is what we call the "filter pattern" (and > we're pushing this for

Re: How to do this servlet-mapping?

2001-03-21 Thread Magnus Stenman
; To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Tuesday, March 20, 2001 10:39 PM Subject: How to do this servlet-mapping? > > Here's a challenge. It was for me. > > For all URLs that start with /app (e.g. /app/login, /app/mainmenu, > /app/ball.gif), have a

Re: How to do this servlet-mapping?

2001-03-21 Thread Fejes Balazs
Probably you should use /images/app/ball.gif Balazs > > > I've tried using the servlet-mapping of /app/* and pointing this to the > > servlet. While this makes requests go to the servlet, if, within that > > servlet, I try to get a request dispatcher to /app/ball

Re: How to do this servlet-mapping?

2001-03-20 Thread Tim Endres
Why not have your servlet "forward" any request that it does not recognize to another namespace. In other words, using your example, you would forward "/app/ball.gif" to "/images/ball.gif", thus eliminating the "/app" mapping. tim. > I've tried

How to do this servlet-mapping?

2001-03-20 Thread Gerald
p/ball.gif to the user. I've tried using the servlet-mapping of /app/* and pointing this to the servlet. While this makes requests go to the servlet, if, within that servlet, I try to get a request dispatcher to /app/ball.gif and forward there, I get back into the servlet again , presumab

Servlet Mapping Tag

2001-03-20 Thread David Hemphill
nique servlet. My questions are: 1. Is the servlet-mapping tag necessary. (I couldn't invoke a servlet without it.) 2. How is Orion expecting this to be used? snoop SnoopServlet snoop

Problems with servlet mapping

2001-02-12 Thread Dan Cramer
Okay, I have a web app that maps "/" to servlet X. According to the Servlet spec, this is supposed to make X the default servlet. Also, according to the spec, the container is supposed to do a recursive search for the longest matching path. Here's the problem, when requests come in for things lik

servlet-mapping for jsp-file [clarification]

2001-01-18 Thread Stan Ng
Just to clarify, I was mapping a specific filename to the jsp. I changed the url-pattern to /mytest and it worked, so I guess the question is one regarding the ambiguity of the servlet specifications. In what instances would case 3: "All other strings are used as exact matches only" apply?

servlet-mapping for jsp-file

2001-01-18 Thread Stan Ng
I'm not sure if there was any new information regarding the servlet mapping and jsp-files for web applications. I checked the archive... there was a little bit of info regarding the topic, but it was rather dated. For some reason, the jsp mappings in my webapp don't seem to work for O

AW: Servlet Mapping and Access

2001-01-18 Thread hartmut wilms
Title: SV: Servlet Mapping and Access Hi Magnus,   You're right. I must have missed that line       name - The name of the web-application inside the (enterprise-)application.   But: Some pieces are missing in the online docs. Sometimes the information about orion config files just

SV: Servlet Mapping and Access

2001-01-17 Thread Magnus Rydin
Title: SV: Servlet Mapping and Access Did you check the doc at http://www.orionserver.com/docs/web-site.xml.html (refered to in the documentation outline) ? It says the following on this:   Reference to a application - The name of the (enterprise-)application the web-app exists in. load

AW: Servlet Mapping and Access

2001-01-17 Thread hartmut wilms
EMAIL PROTECTED]] Gesendet: Mittwoch, 17. Januar 2001 22:09 An: Orion-Interest Betreff: RE: Servlet Mapping and Access Have you successfully installed the sample junitee test in the JUnitEE tutorial? You shouldn't need to modify the global application.xml. Here's how my system is set up, gi

RE: Servlet Mapping and Access

2001-01-17 Thread Jeff Schnitzer
: hartmut wilms [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, January 17, 2001 5:16 AM >To: Orion-Interest >Subject: AW: Servlet Mapping and Access > > >Hi Santosh, > >http://localhost/junitee/servlet/TestServlet didn't work, too. >Do you know >about an orion servlet ex

Re: Servlet Mapping and Access

2001-01-17 Thread denis despinoy
ge - > From: hartmut wilms <[EMAIL PROTECTED]> > To: Orion-Interest <[EMAIL PROTECTED]> > Sent: Wednesday, January 17, 2001 2:17 PM > Subject: Servlet Mapping and Access > > > > Hi there, > > > > I'm really lost. I can't figure out how

RE: Servlet Mapping and Access

2001-01-17 Thread Stanislav Maximov
oot of your web-application. Just like in the URLs you tried. Stas. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Santosh Kumar > Sent: Wednesday, January 17, 2001 12:12 PM > To: Orion-Interest > Subject: Re: Servlet Mapping and Access &g

AW: Servlet Mapping and Access

2001-01-17 Thread hartmut wilms
rvlet Mapping and Access try http://localhost/junitee/servlet/TestServlet - Original Message - From: hartmut wilms <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Sent: Wednesday, January 17, 2001 2:17 PM Subject: Servlet Mapping and Access > Hi there, > >

Re: Servlet Mapping and Access

2001-01-17 Thread Santosh Kumar
try http://localhost/junitee/servlet/TestServlet - Original Message - From: hartmut wilms <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Sent: Wednesday, January 17, 2001 2:17 PM Subject: Servlet Mapping and Access > Hi there, > > I'm really lost.

Servlet Mapping and Access

2001-01-17 Thread hartmut wilms
Hi there, I'm really lost. I can't figure out how to access a mapped servlet from a Web-Browser. I tried several URLs, like: - http://localhost/gamsytest/TestServlet - http://localhost/gamsytest/junitee/TestServlet - http://localhost/junitee/TestServlet - ...

Re: servlet mapping

2001-01-16 Thread Christian Sell
apping. >>>>All other strings are used as exact matches only<<<< - Original Message - From: "Trond Nilsen" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Monday, January 15, 2001 9:48 PM Subject: Re: servlet mapping >

Re: servlet mapping

2001-01-15 Thread Trond Nilsen
Thanks - Tried that already, though, doesn't appear to help. My best solution at the moment is a workaround - I put my component JSPs in a subdirectory, and restrict access to this directory - they are only accessed by includes in the 'main' JSP. > Try changing your url-pattern to "/*.jsp"... >

Re: servlet mapping

2001-01-15 Thread Ozzie Gurkan
Try changing your url-pattern to "/*.jsp"... Thanks, Ozzie Gurkan --- Trond Nilsen <[EMAIL PROTECTED]> wrote: > According to one of the FAQ's on www.jguru.com, I should be able to set > up a > mapping in my web application such that all attempts to request a file > ending > with .jsp are redirec

servlet mapping

2001-01-15 Thread Trond Nilsen
According to one of the FAQ's on www.jguru.com, I should be able to set up a mapping in my web application such that all attempts to request a file ending with .jsp are redirected to a file of my choice (main.jsp in this case). Below is some code from the web.xml file which (I think) should give t

Bug or not? JSP servlet-mapping of /*

2000-12-14 Thread Gerald Gutierrez
I have a JSP page that I map to /* using servlet-mapping, so that all requests to anything within my application go through it. When I tried to get the path info (getPathInfo()), I found that I always get an empty string regardless of the URL that I hit the application with. Everything

Re: how to use servlet-mapping

2000-11-27 Thread Claudio Miranda
le, how do I use > servlet-mapping ? Based on the following setting, the program always calls > the UserManagerController. > > > MainAdminController > Main controller > admin.servlet.MainAdminController > > > MainAd

RE: how to use servlet-mapping

2000-11-23 Thread Lebedko, Oleg
[150 - 3263] * [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -Original Message- From: Edmund Cheung [SMTP:[EMAIL PROTECTED]] Sent: Thursday, November 23, 2000 7:44 AM To: Orion-Interest Subject:how to use servlet-mapping

Re: how to use servlet-mapping

2000-11-23 Thread Mikko Kurki-Suonio
On Thu, 23 Nov 2000, Edmund Cheung wrote: > servlet-mapping ? Based on the following setting, the program always calls > the UserManagerController. > > UserManagerController > / > You've given both servlets the same mapping... which won't do. Y

how to use servlet-mapping

2000-11-23 Thread Edmund Cheung
Hi, If I have more than one servlet defined in the web.xml file, how do I use servlet-mapping ? Based on the following setting, the program always calls the UserManagerController. MainAdminController Main controller admin.servlet.MainAdminController

Servlet Mapping

2000-07-27 Thread pminearo
I found an interesting situation, possibly a bug. I am using Orion 1.0.3b, and in the WEB-INF/web.xml file I declare my in the following manner: Login /Login/* I have a Form that calls this servlet. Like:

RE: PathInfo and servlet-mapping

2000-07-26 Thread Lorin Kobashigawa
rds, > >robert > >At 13:57 26.07.00 , Kit Cragin wrote: >>Actually I have noticed that with servlet mappings security and pathinfo >>stuff seems to behave erratically (either that or I haven't discovered >>exactly what the pattern is). Does anyone have a matrix of

RE: PathInfo and servlet-mapping

2000-07-26 Thread Lorin Kobashigawa
it Cragin wrote: >Actually I have noticed that with servlet mappings security and pathinfo >stuff seems to behave erratically (either that or I haven't discovered >exactly what the pattern is). Does anyone have a matrix of url-pattern in >the servlet-mapping, url-pattern in a securi

RE: PathInfo and servlet-mapping

2000-07-26 Thread Robert Krueger
o >stuff seems to behave erratically (either that or I haven't discovered >exactly what the pattern is). Does anyone have a matrix of url-pattern in >the servlet-mapping, url-pattern in a security-constraint, servlet-name, and >what pathInfo() returns and how they all interact? It

RE: PathInfo and servlet-mapping

2000-07-26 Thread Kit Cragin
Actually I have noticed that with servlet mappings security and pathinfo stuff seems to behave erratically (either that or I haven't discovered exactly what the pattern is). Does anyone have a matrix of url-pattern in the servlet-mapping, url-pattern in a security-constraint, servlet-name

PathInfo and servlet-mapping

2000-07-26 Thread Lorin Kobashigawa
Ok, I've determined that I don't always lose my pathInfo. It's only when i try to map my servlet as the default servlet. How do i do a getPathInfo() on my default servlet? Here is the entry in my web.xml file. what am i doing wrong? When I use: PrintPathInfo / URL: /testing/the/pathInfo g

losing my pathInfo with servlet-mapping

2000-07-24 Thread Lorin Kobashigawa
Hello, I have a servlet that gets some information out of the pathinfo, calling req.getPathInfo() it works fine by itself, but when I use a servlet-mapping directive to redirect to it, i lose the pathInfo. It's still in the address bar, but getPathInfo() is returning null. Is this suppos

RE: no servlet mapping? my app dead

1999-11-16 Thread Magnus Stenman
Yes, this was unfortunately broken in 0.8.1. It is fixed in the latest developer core build though which can be found at http://www.orionserver.com/orion/orion.jar. The fix will be included in the 0.8.2 release due in one to two days. Sorry for any inconvenience caused. /Magnus Stenman, the Ori

RE: no servlet mapping? my app dead

1999-11-16 Thread Kucera, Rich
well I've got my workaround, add the root for servlet-webdir /servlet/ / but this breaks /servlet mapping. the app works now anyway, but /servlet/snoop is 404, while /snoop works. /snoopy still doesn't work. -R > -Original Message- > From: Kuce

no servlet mapping? my app dead

1999-11-16 Thread Kucera, Rich
This code used to work under 0.8.0, but not under 0.8.1. I get a 404: snoop /snoopy My app depends on this kind of mapping, Is there a new rule or a workaround? TIA -R