Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Nathan Potter
On Oct 18, 2011, at 6:50 AM, Konstantin Kolinko wrote: 2011/10/17 Nathan Potter npot...@opendap.org: Greetings, I am new to this list and I apologize in advance if this has been covered (although searching the archives did not lead me to a related thread): In my web application I

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-18 Thread Nathan Potter
recommend fixing the apparent bugs in your replacement default servlet, but I don't get to make requirements decisions on your project :) On 10/17/2011 11:29 PM, Nathan Potter wrote: I seem to be exploring the set of all possible mapping permutations. When you change the mapping to / from

JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
is one that can easily be incurred by a type in the URL and so I don't that that an HTTP staus of 500 should be returned in this situation. Thanks, Nathan = = = Nathan Potterndp at opendap.org OPeNDAP, Inc.+1.541.231.3317

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
, Charles R chuck.caldar...@unisys.com wrote: From: Nathan Potter [mailto:npot...@opendap.org] Subject: JspServlet - Unexpected behavior, possible bug... In my web application I need to utilize the JSP servlet, but I need to use a different servlet mapping: servlet-mapping servlet-namejsp

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
, 2011, at 11:14 AM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:npot...@opendap.org] Subject: JspServlet - Unexpected behavior, possible bug... In my web application I need to utilize the JSP servlet, but I need to use a different servlet mapping: servlet-mapping servlet

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 1:07 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 12:47 PM, Nathan Potter wrote: - BUT, If I request a URL (without a trailing slash) that references an existing directory within the the JSP servlet's purview, I get

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 5:38 PM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:npot...@opendap.org] Subject: Re: JspServlet - Unexpected behavior, possible bug... A new feature has been added to the web application that requires JSP. But because an alternative default servlet

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 6:00 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 4:50 PM, Nathan Potter wrote: Historically, the servlet that I am working with has been the default servlet. Tomcat's default servlet was used to serve docs from

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 6:08 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 4:53 PM, Nathan Potter wrote: On Oct 17, 2011, at 1:07 PM, Christopher Schultz wrote: I'd be interested to see what else happened. It looks like JspServlet is trying

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 6:41 PM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:npot...@opendap.org] Subject: Re: JspServlet - Unexpected behavior, possible bug... by default servlet I mean the servlet mapped to / or /* And right there is your terminology problem. The default

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 6:36 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 9:21 PM, Nathan Potter wrote: No, but if you assign a servlet to / or /* it gets call foreverything before anything starting with *. Basically starts with / trumps

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 7:11 PM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:npot...@opendap.org] Subject: Re: JspServlet - Unexpected behavior, possible bug... I don't see how to do it without using a rewrite rule for every thing in the top level collection of URL's. You only

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 7:44 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/17/2011 10:11 PM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:npot...@opendap.org] Subject: Re: JspServlet - Unexpected behavior, possible bug... I don't see how

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 6:02 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 8:56 PM, Nathan Potter wrote: I don't see how to do it without using a rewrite rule for every thing in the top level collection of URL's. I think if you try to rewrite

Re: JspServlet - Unexpected behavior, possible bug...

2011-10-17 Thread Nathan Potter
On Oct 17, 2011, at 6:02 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nathan, On 10/17/2011 8:56 PM, Nathan Potter wrote: I don't see how to do it without using a rewrite rule for every thing in the top level collection of URL's. I think if you try to rewrite

Re: Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called.

2009-01-31 Thread Nathan Potter
Chuck, I got the same error with your version. Which got me thinking. So removed all of my webapp files and tried a again with a fresh war file and now they both work. Thanks! Nathan On Jan 29, 2009, at 8:27 PM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:n

Re: Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called.

2009-01-27 Thread Nathan Potter
Tomcat/6.0.14 logs. And in my debugger it looks like the getRelativePath() never gets called. It dies long before that. Any ideas? N On Jan 17, 2009, at 9:13 AM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:n...@opendap.org] Subject: Re: Tomcat returns HTTP status of 200 when

Re: Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called.

2009-01-17 Thread Nathan Potter
location/docs/error500.html/location /error-page session-config session-timeout20/session-timeout /session-config /web-app = = = Nathan Potterndp at opendap.org OPeNDAP, Inc.541.752.1852

Re: Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called.

2009-01-16 Thread Nathan Potter
a jar file from somewhere? Nathan On Jan 14, 2009, at 9:20 PM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:n...@opendap.org] Subject: Re: Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called. So do you mean something like this? servlet

Re: Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called.

2009-01-14 Thread Nathan Potter
On Jan 14, 2009, at 1:38 PM, Caldarale, Charles R wrote: From: Nathan Potter [mailto:n...@opendap.org] Subject: Re: Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called. I mapped one of my servlets to be the default servlet: servlet-mapping servlet

Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called.

2009-01-12 Thread Nathan Potter
then I get the canned response with an HTTP status of 404. Is that correct? Seems like it shouldn't work that way to me, but then that's why I'm here, looking for some insight. Nathan = = = Nathan Potterndp at opendap.org OPeNDAP, Inc

Re: Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called.

2009-01-12 Thread Nathan Potter
= = = Nathan Potterndp at opendap.org OPeNDAP, Inc.541.752.1852 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called.

2009-01-12 Thread Nathan Potter
- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org = = = Nathan Potterndp at opendap.org OPeNDAP, Inc.541.752.1852

Re: Tomcat returns HTTP status of 200 when HttpServletResponse.sendError() called.

2009-01-12 Thread Nathan Potter
) then it seems to inherit(?) a status from the internal forward . Is that right? Would I be better off just not calling response.setStatus() unless something actually goes awry with the request? = = = Nathan Potterndp at opendap.org OPeNDAP, Inc

Re: Authentication Problem

2006-10-09 Thread Nathan Potter
to avoid that headache. -chris Nathan Potter Oregon State University, COAS [EMAIL PROTECTED] 104 Ocean. Admin. Bldg. 541 737 2293 voice Corvallis, OR 97331-5503 541 737 2064 fax