Re: servletMapping field in ActionServlet (1.0.2)

2002-11-27 Thread Ted Husted
It occured to me that we may have gotten off track on this thread. The restriction that Struts 1.0.x places on URIs is that there can only be only one servlet mapping (and only one ActionServlet). Of course, if you are using extension mapping, then any *.do (or whatever) URI will be processed

RE: RE: servletMapping field in ActionServlet (1.0.2) (long)

2002-11-25 Thread Nelson, Laird
-Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] IMHO, the best way to use XML is as a generator/decorator for objects. One decoration might be to pass a script to a Java class for processing, but framing conditions in a XML files seems to step over the line to me.

RE: [Unverified Sender] RE: RE: servletMapping field in ActionServlet (1.0.2) (long)

2002-11-25 Thread Nelson, Laird
-Original Message- From: Nelson, Laird [mailto:[EMAIL PROTECTED]] -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] IMHO, the best way to use XML is as a generator/decorator for objects. One decoration might be to pass a script to a Java class for

RE: RE: servletMapping field in ActionServlet (1.0.2)

2002-11-23 Thread Nelson, Laird
-Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] 11/22/2002 1:26:45 PM, Nelson, Laird [EMAIL PROTECTED] wrote: Is my company unique in trying to do things this way? Probably not, but Struts hasn't been trying to be all things to all people. =:0) It does what

Re: RE: RE: servletMapping field in ActionServlet (1.0.2)

2002-11-23 Thread Ted Husted
11/23/2002 9:31:00 AM, Nelson, Laird [EMAIL PROTECTED] wrote: -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] 11/22/2002 1:26:45 PM, Nelson, Laird [EMAIL PROTECTED] wrote: Is my company unique in trying to do things this way? Probably not, but Struts hasn't been

Re: RE: servletMapping field in ActionServlet (1.0.2) (long)

2002-11-23 Thread Ted Husted
IMHO, the best way to use XML is as a generator/decorator for objects. One decoration might be to pass a script to a Java class for processing, but framing conditions in a XML files seems to step over the line to me. Right now, a very good way to test preconditions is through a component

servletMapping field in ActionServlet (1.0.2)

2002-11-22 Thread Nelson, Laird
Hi; I'm looking at the v1.0.2 ActionServlet's addServletMapping() method, and I'm noticing that it only handles the case where the ActionServlet has one servlet mapping associated with it. But it's legal (is it not?) to establish several servlet mappings for a Servlet under the 2.2 spec, right?

Re: servletMapping field in ActionServlet (1.0.2)

2002-11-22 Thread Craig R. McClanahan
On Fri, 22 Nov 2002, Nelson, Laird wrote: Date: Fri, 22 Nov 2002 12:18:16 -0500 From: Nelson, Laird [EMAIL PROTECTED] Reply-To: Struts Developers List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: servletMapping field in ActionServlet (1.0.2) Hi; I'm looking

RE: servletMapping field in ActionServlet (1.0.2)

2002-11-22 Thread Nelson, Laird
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Struts currently does not know how to reliably compute URLs for things like html:form in the face of more than one mapping. OK. A subtle point needs to be remembered -- from the client viewpoint, the URL you

RE: [Unverified Sender] RE: servletMapping field in ActionServlet (1.0.2)

2002-11-22 Thread Nelson, Laird
-Original Message- From: Nelson, Laird [mailto:[EMAIL PROTECTED]] OK. So not even an extra optional attribute on the form tag somewhere (Use servletPath X instead of servletPath Y), bearing in mind the limitations of our current reporting requirements? Following up my own

RE: servletMapping field in ActionServlet (1.0.2)

2002-11-22 Thread Craig R. McClanahan
On Fri, 22 Nov 2002, Nelson, Laird wrote: [snip] There is not going to be a useful workaround for this -- it's fundamental to the nature of the architecture. OK. So not even an extra optional attribute on the form tag somewhere (Use servletPath X instead of servletPath Y), bearing in

Re: RE: servletMapping field in ActionServlet (1.0.2)

2002-11-22 Thread Ted Husted
11/22/2002 1:26:45 PM, Nelson, Laird [EMAIL PROTECTED] wrote: Is my company unique in trying to do things this way? Probably not, but Struts hasn't been trying to be all things to all people. =:0) It does what the people working on it need it to do, and if it doesn't do what we need, then we