RE: javax.servlet.UnavailableException: Input/output error reading configuration from resource path /WEB-INF/struts-config.xml

2001-06-22 Thread Sukachevin, Stoehr
But the XML parser that the Digester uses should be able to get the dtd from struts.jar. Is struts.jar in your weblogic classpath or in your web app? I have no problems when struts.jar is in the weblogic classpath for v5.1 SP9. Not sure about when it is in a web app's lib directory, though. --

RE: javax.servlet.include.path_info ????

2001-06-21 Thread Sukachevin, Stoehr
Check the Java Servlet Spec API. v2.2 says: When a servlet is being used from within an include, it is sometimes necessary for that servlet to know the path by which it was invoked and not the original request paths. The following request attributes are set: javax.servlet.include.request_uri ja

RE: DTD Location

2001-06-14 Thread Sukachevin, Stoehr
That's what Craig did for struts-config_1_0.dtd, as he explained earlier today. -- Stoehr -Original Message- From: William Shulman [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 14, 2001 06:10 PM To: [EMAIL PROTECTED] Subject: Re: DTD Location Another way is to implement your own E

RE: Calling ActionForm.reset() from when creating a bean

2001-06-13 Thread Sukachevin, Stoehr
I also see no problem calling ActionForm.reset() when the form is created via for consistency sake. -- Stoehr -Original Message- From: Roland Huss [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 13, 2001 05:27 PM To: [EMAIL PROTECTED] Subject: Re: Calling ActionForm.reset() from when

RE: tag

2001-05-23 Thread Sukachevin, Stoehr
Sounds like you want the application resource bundle to be an instance of your MessageResource subclass. In that case, you should just have to specify your MessageResourcesFactory subclass fully qualified name for the "factory" init parameter of the ActionServlet (see http://jakarta.apache.org/st

RE: html:errors/> tag

2001-05-22 Thread Sukachevin, Stoehr
You can subclass org.apache.struts.util.MessageResources to provide your own "database" implementation of a resource bundle (as opposed to the common "properties" implementation via org.apache.struts.util.PropertyMessageResources), put an instance of your subclass in a servlet context (application

RE: Use of RequestUtils.absoluteURL() in LinkTag [and RedirectTag ]

2001-04-17 Thread Sukachevin, Stoehr
rtain whether I was able to successfully demonstrate to him that the issue is worth addressing in Struts at this time, so I'd be interested in hearing from anyone else about their opinion on this matter. -- Stoehr -Original Message----- From: Sukachevin, Stoehr Sent: Thursday, April 12, 200

RE: A struts-compatible controller

2001-04-13 Thread Sukachevin, Stoehr
Dan - Blue Lotus Software wrote: >I think if this thing is to go into production, I should >actually create marker [GoF '95] interfaces to indicate >what type of variable it is. Are you referencing a particular GoF design pattern or something they wrote in general in the '95 book? -- Stoehr -

RE: Use of RequestUtils.absoluteURL() in LinkTag [and RedirectTag ]

2001-04-12 Thread Sukachevin, Stoehr
ectTag ] On Thu, 12 Apr 2001, Sukachevin, Stoehr wrote: > Craig, > > One last thing, when you said: > > >because the address has to be relative to wherever the > >browser submitted the form, not to the page itself > > using an "absolute-path" type of re

RE: Use of RequestUtils.absoluteURL() in LinkTag [and RedirectTag ]

2001-04-12 Thread Sukachevin, Stoehr
Original Message- From: Sukachevin, Stoehr Sent: Thursday, April 12, 2001 02:18 PM To: '[EMAIL PROTECTED]' Subject: RE: Use of RequestUtils.absoluteURL() in LinkTag [and RedirectTag ] Craig McClanahan wrote: >* For the link tag, the logic is faced with having a context-relative &

RE: Use of RequestUtils.absoluteURL() in LinkTag [and RedirectTag]

2001-04-12 Thread Sukachevin, Stoehr
the redirection HTTP response from the different web server). So if choice (b) really is not that hard, should these types of custom Struts tags be changed so that they do not make links absolute so deployments of Struts applications that use things like SSL accelerators work? -- Stoehr -

RE: cvs commit: jakarta-struts/web/upload display.jsp upload.jsp

2001-04-12 Thread Sukachevin, Stoehr
We're using it on a large web application, and have been very happy with it. (Kudos to Craig McClanahan and everyone else for a great framework!) -- Stoehr -Original Message- From: Natra, Uday [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 07:02 PM To: '[EMAIL PROTECTED]' S

Use of RequestUtils.absoluteURL() in LinkTag [and RedirectTag]

2001-04-12 Thread Sukachevin, Stoehr
Is it really necessary to have the LinkTag [and RedirectTag] use the RequestUtils.absoluteURL() method when the "forward" or "page" attribute is specified? Doing so for LinkTag (obviously) causes the generated URL to be an absolute URL (e.g., "http://jakarta.apache.org/struts/index.html" as oppos

RE: keepgenerated with struts in Weblogic

2001-03-27 Thread Sukachevin, Stoehr
Are you saying that the compiled JSPs are not being kept by WebLogic? If so, you should specify the following at the beginning of the web.xml file for the particular web application: weblogic.jsp.keepgenerated true -- Stoehr -Original Message- From: Suriyanarayanan, Sent

RE: Multiple ActionServlet instances in a web app

2001-03-22 Thread Sukachevin, Stoehr
My implementation erroneously did not have the "fix" applied to the html:rewrite tag, so here it is for those interested: http://users.erols.com/sukachevin/struts/MultiRewriteTag.java -- Stoehr -Original Message----- From: Sukachevin, Stoehr Sent: Wednesday, February 28, 2001 0

RE: ActionErrors and Debug Info of JBuilder saved in the Class Files

2001-03-01 Thread Sukachevin, Stoehr
Let's not forget the 3rd solution of explicitly specify the serialVersionUID (private static final long) for the class, which seems to be the best solution. -- Stoehr -Original Message- From: Vincent Harcq [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 01, 2001 08:54 AM To: [EMAIL PROT

RE: Multiple ActionServlet instances in a web app

2001-02-28 Thread Sukachevin, Stoehr
be related to the "SubsystemTwo" servlet. [d] In another JSP file (this example is a little bit contrived), assume that you are going to use two tags, but the first one is related to the first servlet, and the second tag is related to the second servlet. In that case, you can include th

RE: recursive tag

2001-02-27 Thread Sukachevin, Stoehr
You could have your tag simulate being the JSP container by instantiating an instance of org.apache.struts.taglib.html.TextTag and invoking it based upon what the javadocs say is the invocation sequence for Tags [http://www.javasoft.com/j2ee/j2sdkee/techdocs/api/javax/servlet/jsp/tagext/ Tag.html]

RE: Multiple ActionServlet instances in a web app

2001-02-26 Thread Sukachevin, Stoehr
quot; tags: taglib.ErrorsTag taglib.ForwardTag taglib.IncludeTag taglib.Link1Tag taglib.LinkTag taglib.MessageTag -- Stoehr -----Original Message- From: Elod Horvath [mailto:[EMAIL PROTECTED]] Sent: Monday, February 26, 2001 08:35 AM To: [EMAIL PROTECTED

Multiple ActionServlet instances in a web app

2001-02-23 Thread Sukachevin, Stoehr
In looking at some of the more recent source code for v1.0, it appears that since the ActionServlet caches a lot of objects in the servlet context, like action mappings, app resources, etc., the ActionServlet was not designed to allow multiple instances of the servlet to be deployed in a single we