display xml format

2001-06-01 Thread Wu, Ying (LNG-CIS)
I need to send a string which represents a xml file to browser, I need to call response.setContentType(text/xml). But it is at ActionServlet level and is default to text/html thus browser ignores xml tags, textlong/text will only show long. I can do the output at MyAction.perform() level, but

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html ButtonTag.java

2001-06-01 Thread craigmcc
craigmcc01/06/01 10:13:39 Modified:src/share/org/apache/struts/taglib/html ButtonTag.java Log: Port fix for Bugzilla #1890. Revision ChangesPath 1.4 +20 -4 jakarta-struts/src/share/org/apache/struts/taglib/html/ButtonTag.java Index: ButtonTag.java

Extention of struts - BeanFactory

2001-06-01 Thread Oleg V Alexeev
Hello struts-dev, I am glad to publish pre-alpha version of BeanFactory - extention of struts framework, intended to simplify processes of data publishing. Main idea of it - to move functionality to declarations. You can find short info about BeanFactory, sources, precompiled

cvs commit: jakarta-struts/web/exercise-taglib/WEB-INF struts-config.xml

2001-06-01 Thread craigmcc
craigmcc01/06/01 11:14:32 Modified:web/exercise-taglib Tag: STRUTS_1_0_BRANCH index.jsp web/exercise-taglib/WEB-INF Tag: STRUTS_1_0_BRANCH struts-config.xml Added: web/exercise-taglib Tag: STRUTS_1_0_BRANCH html-link.jsp Log: Add a

cvs commit: jakarta-struts/web/exercise-taglib html-link.jsp

2001-06-01 Thread craigmcc
craigmcc01/06/01 11:45:10 Modified:src/share/org/apache/struts/util Tag: STRUTS_1_0_BRANCH RequestUtils.java web/exercise-taglib Tag: STRUTS_1_0_BRANCH html-link.jsp Log: Update RequestUtils.computeURL() so that it will properly deal with

cvs commit: jakarta-struts/doc struts-html.xml

2001-06-01 Thread craigmcc
craigmcc01/06/01 11:50:50 Modified:doc Tag: STRUTS_1_0_BRANCH struts-html.xml Log: Relax the constraint on what can be in a Map used to add dynamic request parameters to the URL created by the html:img, html:link, and html:rewrite tags. Now, the Map values can be: * A

cvs commit: jakarta-struts/web/exercise-taglib/WEB-INF struts-config.xml

2001-06-01 Thread craigmcc
craigmcc01/06/01 11:58:48 Modified:doc struts-html.xml src/share/org/apache/struts/util RequestUtils.java web/exercise-taglib index.jsp web/exercise-taglib/WEB-INF struts-config.xml Added: web/exercise-taglib html-link.jsp

Re: display xml format

2001-06-01 Thread Ted Husted
I'm not sure if this is the answer to your question, but if you are writing directly to the client from Action.perform() you can return null to tell the ActionServlet that the request has already been fulfilled. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical

RE: display xml format

2001-06-01 Thread Wu, Ying (LNG-CIS)
Ted, It works! Thanks and have a nice weekend. Ying -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 3:44 PM To: [EMAIL PROTECTED] Subject: Re: display xml format I'm not sure if this is the answer to your question, but if you are writing

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html OptionsTag.java

2001-06-01 Thread craigmcc
craigmcc01/06/01 13:14:47 Modified:src/share/org/apache/struts/taglib/html Tag: STRUTS_1_0_BRANCH OptionsTag.java Log: Report the correct property name if the labelProperty attribute is incorrect on an html:options tag. PR: Bugzilla #1936 Submitted

cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java

2001-06-01 Thread craigmcc
craigmcc01/06/01 13:21:41 Modified:src/share/org/apache/struts/util Tag: STRUTS_1_0_BRANCH RequestUtils.java Log: Generate amp; instead of in request URIs so that the output is still legal XML syntax in the value returned by computeURL(). PR:

jakarta.apache.org and ssh

2001-06-01 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
I sent this to the jakarta-general list, but I figured I'd send it here too... jakarta.apache.org keeps refusing my password when I ssh to it, anyone else know of this problem? Craig?

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html BaseHandlerTag.java CheckboxTag.java MultiboxTag.java OptionTag.java OptionsTag.java RadioTag.java SelectTag.java

2001-06-01 Thread craigmcc
craigmcc01/06/01 13:43:21 Modified:src/share/org/apache/struts/taglib/html BaseHandlerTag.java CheckboxTag.java MultiboxTag.java OptionTag.java OptionsTag.java RadioTag.java SelectTag.java Log: Port the fixes for attribute

Re: jakarta.apache.org and ssh

2001-06-01 Thread Craig R. McClanahan
On Fri, 1 Jun 2001, SCHACHTER,MICHAEL (HP-NewJersey,ex2) wrote: I sent this to the jakarta-general list, but I figured I'd send it here too... jakarta.apache.org keeps refusing my password when I ssh to it, anyone else know of this problem? Craig? Yep. The apache.org site was the

Re: String indexed bean fields

2001-06-01 Thread Ted Husted
So, would this then give us access to things like RowSet objects which have accessors like getString(1) ? Craig R. McClanahan wrote: Yep. Something like this is part of the enhancements I see in Struts 1.1. On Wed, 30 May 2001, Rapheal Kaplan wrote: Has anyone thought about allowing

Struts 1.0 Release Planning

2001-06-01 Thread Craig R. McClanahan
I *really* wanted to have a 1.0 final release in time for JavaOne. But the recent events on the Apache server (a cracker got in), plus the fact that rebuilding things took Bugzilla down for a while, has made that basically impossible :-(. Instead, what I would like to propose is to cut a Beta 3

RE: Struts 1.0 Release Planning

2001-06-01 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
+1, timing is nothing as long as it's stable -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 5:13 PM To: [EMAIL PROTECTED] Subject: Struts 1.0 Release Planning I *really* wanted to have a 1.0 final release in time for JavaOne. But

RE: cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java

2001-06-01 Thread Deadman, Hal
Does this change mean that there will be a link generated that looks like this: some.jsp?test=1amp;test=2 instead of some.jsp?test=1test=2 If so, I don't think that will work. It doesn't work on Weblogic 6.0. Calling getParameterValues() only sees the first value. Hal -Original

RE: cvs commit: jakarta-struts/src/share/org/apache/struts/utilRequestUtils.java

2001-06-01 Thread Craig R. McClanahan
On Fri, 1 Jun 2001, Deadman, Hal wrote: Does this change mean that there will be a link generated that looks like this: some.jsp?test=1amp;test=2 instead of some.jsp?test=1test=2 Yes, in the generated HTML code of the page (i.e. when you do a view source). If so, I don't think that

Re: Struts 1.0 Release Planning

2001-06-01 Thread Ted Husted
+1 Craig R. McClanahan wrote: I *really* wanted to have a 1.0 final release in time for JavaOne. But the recent events on the Apache server (a cracker got in), plus the fact that rebuilding things took Bugzilla down for a while, has made that basically impossible :-(. Instead, what I

Re: Logic tags and string properties

2001-06-01 Thread Ted Husted
+1 on an empty attribute I've been adding logic to my value beans to turn empty Strings back to nulls when retrieving properties from the database (where I don't permit nulls), so this would save me that workaround. Craig R. McClanahan wrote: A third option would be to add an empty attribute

Bugzilla #1879 (Connection Pool handling of Stale Connections)

2001-06-01 Thread Craig R. McClanahan
For the details of this bug report, see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1879 As the report points out, GenericConnectionPool does not do anything about stale connections (i.e. those that the database has timed out, or what will happen to all of them if the database is

RE: Bugzilla #1879 (Connection Pool handling of Stale Connections)

2001-06-01 Thread Deadman, Hal
I agree, isClosed() won't work. An option for a testing a connection with a do-nothing SQL statement is needed. This is pretty standard for most connection pools that I have seen. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 5:41

RE: Need a Good Example Which uses Struts

2001-06-01 Thread Ravindra Sharma
Hi Ted, I was reading the A Walking Tour of the Struts Example Application. I was wondering where do I find source code the example discussed in this aritcle. Is it available? -ravi -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 6:55 AM To:

Re: Bugzilla #1879 (Connection Pool handling of Stale Connections)

2001-06-01 Thread Craig R. McClanahan
On Fri, 1 Jun 2001, Ted Husted wrote: Craig R. McClanahan wrote: Therefore, it seems to me that allowing the configuration of an optional do nothing SQL command that GenericConnectionPool can use to test the validity of the connection would be a better approach. Does that make sense

RE: cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java

2001-06-01 Thread Deadman, Hal
Sounds good. I don't have access to other browsers but they probably work too. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, June 01, 2001 5:31 PM To: [EMAIL PROTECTED] Subject: RE: cvs commit: jakarta-struts/src/share/org/apache/struts/util

cvs commit: jakarta-struts/doc release-notes-1.0-b3.xml project.xml

2001-06-01 Thread craigmcc
craigmcc01/06/01 15:30:26 Modified:doc Tag: STRUTS_1_0_BRANCH project.xml Added: doc Tag: STRUTS_1_0_BRANCH release-notes-1.0-b3.xml Log: Add release notes for 1.0-b3 (up to date with current changes). Revision ChangesPath No revision

Re: Need a Good Example Which uses Struts

2001-06-01 Thread Ted Husted
The example application is bundled with the Struts distribution. That article is now too. Ravindra Sharma wrote: Hi Ted, I was reading the A Walking Tour of the Struts Example Application. I was wondering where do I find source code the example discussed in this aritcle. Is it

Re: Struts 1.0 Release Planning

2001-06-01 Thread Martin Cooper
+1. Getting tight for us, but this will work. Anything I can do to help at this stage? - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 01, 2001 2:12 PM Subject: Struts 1.0 Release Planning I *really* wanted to have a 1.0 final

Re: Proposed feature: Bean property transformations

2001-06-01 Thread Jonathan Asbell
I think the Barracuda project has done things in this area http://barracuda.enhydra.org/ I am currently beginning to implement struts and have also been reading about the alternatives. Each is developing in its own direction. I like the Barracuda design. It is more OO and does not rely on jsp.

Struts status items list /\/\/\

2001-06-01 Thread Jonathan Asbell
Can any one of you put together a list? We need to know: 1) what can currently be thrown out (assuming I have the most recent evenings build) 2) what are, and where canweobtain all of the recently contributed pieces which are under consideration, being worked on or tested (the Token