DO NOT REPLY [Bug 5822] New: - byte lost every 4096 bytes after a 0A

2002-01-12 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5822

byte lost every 4096 bytes after a 0A

   Summary: byte lost every 4096 bytes after a 0A
   Product: Struts
   Version: 1.0.1 Final
  Platform: Sun
OS/Version: Solaris
Status: NEW
  Severity: Normal
  Priority: Other
 Component: File Upload
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


we use the file upload component to upload xml files. The xml files which are 
generated by VB 
XMLObjects has few enter(0A) between tags. for example, in IE we see tags like this:



 
  ABC 
 
  

but 
the file is like this:


ABC

we found that 
there are some bytes lost in the xml file. 
Every byte lost is the one 4096 bytes after the lastest 
0A, 
and right byte is replaced by a new 0A. 
So in the file, we lost a byte every 4096 bytes after a 
0A, 
and got a new 0A.

But this phenomenon does not happens every time. Even with 
the same 
file, sometime it happens, sometime it does not. 

We guess is it something about the 
readline() used in the component.
Our project will release in March. Is it a bug in struts?

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Form beans and JAXB........

2002-01-12 Thread Incze Lajos

On Fri, Jan 11, 2002 at 10:31:54PM -0600, Niraj Juneja wrote:
> Hi Jon,
> 
> Thanks for the reply,
> 
> I have not worked with Castor so I cannot comment on that(although I did get
> an email from castor to evaluate their product).
> 
> As far as JAXB goes. Right now it is in Early Access and I think it is due
> its first relase now. In its Early access release it supports only DTD's but
> one of the goals of the specification is to support XML Schema. So I guess
> the first release should support XML Schema.
> 
> On Validation : I believe the validation it does is whatever validation you
> can describe in your schema. So if you say that your Element can contains
> boolean so the Validation will check for stuff like that. But I am not sure
> if by validations you mean stuff like the "Date should be in between X and Y
> days".  I don't think JAXB can do validations like this...
> 
> Yes I did read about the Form Beans / and the XML schema thread. In my
> opinion the struts developers should concentrate on making Form beans JAXB
> compliant rather than writing one more XML/object product. 
> 

You also can consider the "Zeus" (zeus.enhydra.org).

incze

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5672] - submission for the Powered by Struts page

2002-01-12 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5672

submission for the Powered by Struts page





--- Additional Comments From [EMAIL PROTECTED]  2002-01-12 12:42 ---
I'm not clear on whether you would like this site listed as "Powered by 
Struts", meaning that the site itself was built using Struts, or as a tool for 
building Struts applications (or both). Could you clarify, please? Thanks.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5672] - submission for the Powered by Struts page

2002-01-12 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5672

submission for the Powered by Struts page





--- Additional Comments From [EMAIL PROTECTED]  2002-01-12 13:08 ---
This is both a struts app, and an app that builds struts apps. Since I had 
never used this form before, so I was going to try the first, before submitting 
the second and screwing both up at one time. 

So if you did this, it would save me a second submission. Thank you very much 
sir.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/doc/stylesheets struts.xsl userGuide.xsl

2002-01-12 Thread martinc

martinc 02/01/12 13:30:37

  Modified:doc/stylesheets struts.xsl userGuide.xsl
  Log:
  Update copyright notices for 2002.
  
  Revision  ChangesPath
  1.5   +2 -2  jakarta-struts/doc/stylesheets/struts.xsl
  
  Index: struts.xsl
  ===
  RCS file: /home/cvs/jakarta-struts/doc/stylesheets/struts.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- struts.xsl11 Aug 2001 03:49:19 -  1.4
  +++ struts.xsl12 Jan 2002 21:30:37 -  1.5
  @@ -1,6 +1,6 @@
   
   
  -
  +
   
   http://www.w3.org/1999/XSL/Transform";
 version="1.0">
  @@ -69,7 +69,7 @@
   
 
   
  -Copyright (c) 2000-2001, Apache Software Foundation
  +Copyright (c) 2000-2002, Apache Software Foundation
   
   
 
  
  
  
  1.4   +2 -2  jakarta-struts/doc/stylesheets/userGuide.xsl
  
  Index: userGuide.xsl
  ===
  RCS file: /home/cvs/jakarta-struts/doc/stylesheets/userGuide.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- userGuide.xsl 17 Sep 2001 19:58:17 -  1.3
  +++ userGuide.xsl 12 Jan 2002 21:30:37 -  1.4
  @@ -1,6 +1,6 @@
   
   
  -
  +
   
   http://www.w3.org/1999/XSL/Transform";
 version="1.0">
  @@ -71,7 +71,7 @@
   
 
   
  -Copyright (c) 2000-2001, Apache Software Foundation
  +Copyright (c) 2000-2002, Apache Software Foundation
   
   
 
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/doc/userGuide building_model.xml

2002-01-12 Thread martinc

martinc 02/01/12 13:34:18

  Modified:doc/userGuide building_model.xml
  Log:
  Corrected sample code.
  
  PR: 5214
  Submitted by: Dan Tomalesky
  
  Revision  ChangesPath
  1.5   +5 -4  jakarta-struts/doc/userGuide/building_model.xml
  
  Index: building_model.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/building_model.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- building_model.xml4 Nov 2001 03:07:34 -   1.4
  +++ building_model.xml12 Jan 2002 21:34:18 -  1.5
  @@ -247,11 +247,12 @@
  HttpServletRequest request,
  HttpServletResponse response)
   {
  + javax.sql.DataSource dataSource;
  + java.sql.Connection myConnection;
  +
try {
  -   javax.sql.DataSource dataSource =
  - servlet.findDataSource(null);
  -   java.sql.Connection myConnection =
  - dataSource.getConnection();
  +   dataSource = servlet.findDataSource(null);
  +   myConnection = dataSource.getConnection();
   
  //do what you wish with myConnection
} catch (SQLException sqle) {
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/doc/userGuide building_view.xml

2002-01-12 Thread martinc

martinc 02/01/12 13:38:16

  Modified:doc/userGuide building_view.xml
  Log:
  Corrected sample code.
  
  PR: 5562, 5771
  Submitted by: Jonathan Aquino, Aaron Suedmeyer (respectively)
  
  Revision  ChangesPath
  1.7   +3 -3  jakarta-struts/doc/userGuide/building_view.xml
  
  Index: building_view.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/building_view.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- building_view.xml 4 Nov 2001 03:07:34 -   1.6
  +++ building_view.xml 12 Jan 2002 21:38:16 -  1.7
  @@ -230,7 +230,7 @@
   
- +
- + <%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"> - + Please Input Text:
Please Input The File You Wish to Upload:
-- To unsubscribe, e-mail: For additional commands, e-mail:

cvs commit: jakarta-struts/doc/userGuide resources.xml


martinc 02/01/12 13:44:52

  Modified:doc/userGuide resources.xml
  Log:
  Added several new resources.
  
  PR: 5297, 5611, 5672, 5692, 5721
  Submitted by: Gilbert Bouzeid, Massimo Vassalli, Pete Carapetyan,
Mikael Eriksson, Thierry Tremblay (respectively)
  
  Revision  ChangesPath
  1.20  +7 -0  jakarta-struts/doc/userGuide/resources.xml
  
  Index: resources.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/userGuide/resources.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- resources.xml 28 Dec 2001 07:11:38 -  1.19
  +++ resources.xml 12 Jan 2002 21:44:52 -  1.20
  @@ -20,6 +20,7 @@
   
   

  +http://www.webappwriter.com";>webAppWriter is a web site 
which is actually a web application for building Struts-based applications.
   http://strutstestcase.sourceforge.net/";>StrutsTestCase v1.5 for 
JUnit (by Deryl Seal) is an extension of the standard JUnit TestCase class 
that provides facilities for testing code based on the Struts framework.
   http://www.objectwave.com/html/tools/tool1_3.htm";>X2J is a 
code generation tool for building Struts applications. It includes wizard for easily 
creating JSPs, and the required Action and ActionForm classes as well as graphical 
tools for updating the config file. 
   http://www.inigoserrano.com/ISValidator/en/ejemploStrutsCompleto0010ISValidator.htm";>ISValidator
 validates data in diferents scenarios, command line arguements, Servlets Parameters, 
et cetera. Includes example using theLogonForm from the example application. 
  @@ -205,6 +206,8 @@
   http://www.ipayment.co.za";>South African Revenue 
Services - Directive and certificate service.
   http://www.redgalleon.com/";>Red Galleon - Offer 
aggregator.
   http://www.webappcabaret.com/teatimej/";>TeaTimeJ - 
Website and Java hosting.
  +http://www.webappwriter.com/";>webAppWriter - write and 
deploy a J2EE app in 15 minutes.
  +http://www.windsurfpassion.com/";>WindSurfPassion - 
Dedicated to windsurfing.
   http://wxxi.org/";>WXXI Spring MarketPlace 2001 - Online 
auction for Public Television station.
 
   
  @@ -216,6 +219,7 @@
   http://www.aoindustries.com/servlet/com.aoindustries.website.HomePage";>AO 
Industries
   http://www.hostjsp.com";>hostJSP.com
   http://www.imagineis.com";>Imagine Internet Services
  +http://www.indaco.net";>Indaco Informatica
   http://www.infinitehost.com/";>Infinite Host
   http://www.irdesign.com/services/hosting/website_hosting.html";>irdesign.com
   http://www.mmaweb.net/";>mma
  @@ -234,17 +238,20 @@
 Creatrix - http://www.creatrixs.com";>www.creatrixs.com - 
mailto:[EMAIL PROTECTED]";>[EMAIL PROTECTED].
 eBlox - http://www.eblox.com/";>www.eblox.com - mailto:[EMAIL PROTECTED]";>[EMAIL PROTECTED].
 Husted dot Com   - http://husted.com/";>www.husted.com - 
mailto:[EMAIL PROTECTED]";>Ted Husted.
  +  Indaco Informatica - http://www.indaco.net/";>www.indaco.net - mailto:[EMAIL PROTECTED]";>Massimo Vassalli.
 JATEC AG - http://www.jatec.ch";> 
www.jatec.ch - mailto:[EMAIL PROTECTED]";>Sascha Urfer.
 jCorporate - http://www.jcorporate.com";>jcorporate.com - 
mailto:[EMAIL PROTECTED]";>Sandra Cann.
 Kambrium.net Technologies - http://www.kambrium.net/";>http://www.kambrium.net/";>kambrium.net - mailto:[EMAIL PROTECTED]";>Dirk Gabler.
 Living Logic - http://www.livinglogic.de/";>www.livinglogic.de - mailto:[EMAIL PROTECTED]";>Matthias Bauer.
 Multitask Consulting - http://www.multitask.com.au/";>www.multitask.com.au - dIon Gillard.
 New Particles - http://www.newparticles.com/struts";>www.newparticles.com/struts - mailto:[EMAIL PROTECTED]";>Steve Wilkinson.
  +  Orbeon - http://www.orbeon.com/";>www.orbeon.com - mailto:[EMAIL PROTECTED]";>Gilbert Bouzeid.
 Raible Designs - http://www.raibledesigns.com/";>www.raibledesigns.com - mailto:[EMAIL PROTECTED]";>Matt Raible.
 Segue Solutions - http://www.sbti.com/";>www.segue.biz  - 
mailto:[EMAIL PROTECTED]";>John J. Thomas.
 Shared Skills Ltd (UK) - http://www.sharedskills.com/";>www.sharedskills.com - mailto:[EMAIL PROTECTED]";>Mike Way.
 SoftwareMentor - http://softwareMentor.com/";>softwareMentor.com - mailto:[EMAIL PROTECTED]";>Tim Biernat.
 Solution Array - http://www.solutionarray.com/";>www.solutionarray.com - mailto:[EMAIL PROTECTED]";>Chris Kmiec.
  +  Swedish Connection - http://www.connection.se/";>www.connection.se - mailto:[EMAIL PROTECTED]";>Mikael Eriksson.
 Tallan - http://www.tallan.com/";>www.tallan.com - mailto:[EMAIL PROTECTED]";>Michael Grassotti.
 Thalles Information Services - http://www.thales-is.ch/";>www.thales-is.ch - mailto:[EMAIL PROTECTED]";>Markus Collumbo.
 Upco -http://www.upco.co.uk";>upco.co.uk - mailto:[EMAIL PROTECTED]";>Jon Ridgeway.
  
  
  

--
To unsubscribe, e-mail:   
Fo

cvs commit: jakarta-struts/doc installation.xml installation-1.0.xml


martinc 02/01/12 13:47:55

  Modified:doc  installation.xml installation-1.0.xml
  Log:
  Fixed taglib directive examples.
  
  PR: 5271
  Submitted by: Paul DuBois
  
  Revision  ChangesPath
  1.14  +4 -4  jakarta-struts/doc/installation.xml
  
  Index: installation.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/installation.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- installation.xml  2 Nov 2001 05:31:58 -   1.13
  +++ installation.xml  12 Jan 2002 21:47:54 -  1.14
  @@ -207,10 +207,10 @@
   this particular page, like this:
   
   
  -<@ taglib uri="/WEB-INF/struts-bean.tld" prefix="struts-bean" %>
  -<@ taglib uri="/WEB-INF/struts-html.tld" prefix="struts-html" %>
  -<@ taglib uri="/WEB-INF/struts-logic.tld" prefix="struts-logic" %>
  -<@ taglib uri="/WEB-INF/struts-template.tld" prefix="struts-template" %>
  +<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  +<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  +<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  +<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
   
   
   
  
  
  
  1.3   +4 -4  jakarta-struts/doc/installation-1.0.xml
  
  Index: installation-1.0.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/installation-1.0.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- installation-1.0.xml  2 Nov 2001 05:31:58 -   1.2
  +++ installation-1.0.xml  12 Jan 2002 21:47:55 -  1.3
  @@ -179,10 +179,10 @@
   this particular page, like this:
   
   
  -<@ taglib uri="/WEB-INF/struts-bean.tld" prefix="struts-bean" %>
  -<@ taglib uri="/WEB-INF/struts-html.tld" prefix="struts-html" %>
  -<@ taglib uri="/WEB-INF/struts-logic.tld" prefix="struts-logic" %>
  -<@ taglib uri="/WEB-INF/struts-template.tld" prefix="struts-template" %>
  +<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
  +<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
  +<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  +<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
   
   
   
  
  
  

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




cvs commit: jakarta-struts/doc index.xml project.xml release-notes-1.0.1.xml release-notes.xml


martinc 02/01/12 13:50:59

  Modified:doc  index.xml project.xml release-notes-1.0.1.xml
release-notes.xml
  Log:
  Updated for Struts 1.0.1 final release, plus some corrections.
  
  Revision  ChangesPath
  1.13  +15 -9 jakarta-struts/doc/index.xml
  
  Index: index.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/index.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- index.xml 4 Nov 2001 03:04:02 -   1.12
  +++ index.xml 12 Jan 2002 21:50:58 -  1.13
  @@ -3,6 +3,7 @@
   
 
   Craig R. McClanahan
  +Martin Cooper
   The Struts Framework Project
 
   
  @@ -63,7 +64,7 @@
 Of course, the only true documentation is the code itself. If you have any 
questions 
 about how Struts actually works, do not hestate to use the source. For the 
 complete, buildable source code to the entire Struts framework, see the "src" 
folder in 
  -  the http://jakarta.apache.org/builds/jakarta-struts/release/v1.0/src/";>Struts 1.0 
source distribution.
  +  the http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.1/src/";>Struts 
1.0.1 source distribution.
   
 The Struts Resources page 
provides links to 
 everything else written about  Struts, including books, articles, tutorials, and 
sample 
  @@ -73,19 +74,24 @@
   
 
   
  -  The production release of Struts 1.0 is available in
  -  in convenient binary distribution and also with complete source code.
  +  The production release of Struts 1.0.1 is available in
  +  in convenient binary distribution and also with complete source code. In
  +  addition, a library distribution is available, which contains the latest
  +  Struts binaries without the sample applications, providing a smaller,
  +  faster download.
   
 
  -  http://jakarta.apache.org/builds/jakarta-struts/release/v1.0";>
  -  Struts 1.0 Binary Distribution
  -  http://jakarta.apache.org/builds/jakarta-struts/release/v1.0/src";>
  -  Struts 1.0 Source Code Distribution
  +  http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.1";>
  +  Struts 1.0.1 Binary Distribution
  +  http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.1/lib";>
  +  Struts 1.0.1 Library Distribution
  +  http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.1/src";>
  +  Struts 1.0.1 Source Code Distribution
 
 
  -  Check the Release Notes
  +  Check the Release Notes
 for a summary of what new features have been added and other 
  -  changes since the Struts 1.0-beta-3 release.
  +  changes since the Struts 1.0 release.
   
 In addition to a Struts distribution, you will need to ensure that
 you have downloaded and installed all of the
  
  
  
  1.15  +1 -3  jakarta-struts/doc/project.xml
  
  Index: project.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/project.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- project.xml   16 Nov 2001 06:01:11 -  1.14
  +++ project.xml   12 Jan 2002 21:50:58 -  1.15
  @@ -20,7 +20,7 @@
   
   
   
  -
  +
   
   http://jakarta.apache.org/site/mail.html"/>
   http://jakarta.apache.org/site/bugs.html"/>
  @@ -53,8 +53,6 @@
   
   
   
  -
  -
   
   
   
  
  
  
  1.9   +10 -20jakarta-struts/doc/release-notes-1.0.1.xml
  
  Index: release-notes-1.0.1.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/release-notes-1.0.1.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- release-notes-1.0.1.xml   28 Nov 2001 08:44:35 -  1.8
  +++ release-notes-1.0.1.xml   12 Jan 2002 21:50:58 -  1.9
  @@ -5,6 +5,7 @@
   Craig R. McClanahan
   Robert Leland
   Ted Husted
  +Martin Cooper
   Struts Release Notes (Version 1.0.1)
 
   
  @@ -20,11 +21,7 @@
   New Features and Changes
   to Struts.
   
  -Struts 1.0.1 is not yet released, but a Release Candidate
  -is available for download
  -http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.1-rc1/";>here.
  -This version is intended as a near-term release to cover
  -bug-fixes only; no new functionality.
  +This version covers bug-fixes only; no new functionality.
   
 
   
  @@ -32,7 +29,7 @@
 
   
   The binary distribution of this release includes the following
  -files relevant to Struts 1.1:
  +files relevant to Struts 1.0.1:
   
   INSTALL - Brief installation instructions.  See
   the Struts Documentation Application, or online at
  @@ -50,7 +47,7 @@
   place this file in the /WEB-INF/lib directory of
   your web applica

DO NOT REPLY [Bug 5214] - code is wrong in docs example


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5214

code is wrong in docs example

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5271] - bad taglib directive examples


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5271

bad taglib directive examples

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5721] - Adding a site using Struts to the Resource Documentation


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5721

Adding a site using Struts to the Resource Documentation

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5611] - New Struts consultant and ISP


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5611

New Struts consultant and ISP

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5562] - File Upload: Bug In Code Example


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5562

File Upload: Bug In Code Example

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5672] - submission for the Powered by Struts page


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5672

submission for the Powered by Struts page

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5297] - Listing Orbeon in the STRUTS Consultants category.


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5297

Listing Orbeon in the STRUTS Consultants category.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5692] - New Struts Consultant; Mikael E


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5692

New Struts Consultant; Mikael E

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 5771] - 3.3.1 Building Forms with Struts example incorrect


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5771

3.3.1 Building Forms with Struts example incorrect

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




[ANNOUNCEMENT] Struts 1.0.1 (Final) Released


The Struts team is proud to announce the release of Struts 1.0.1. This
release is primarily a bug fix release, and fixes a number of known problems
with the previous 1.0 release. No new functionality is available with this
release.

The binary distribution is available at:

  http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.1/

and the source distribution is available at:

  http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.1/src/

In addition, a new library distibution, which contains updated binaries
without the sample applications, is available at:

  http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.1/lib/

Details of the changes in this release are available in the Release Notes,
which can be found here:

  http://jakarta.apache.org/struts/release-notes-1.0.1.html

--
Martin Cooper



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: [ANNOUNCEMENT] Struts 1.0.1 (Final) Released


Thanks a *bunch* to Martin and all the other developers who made this
release happen!  I'm sure Struts users all over the world will be very
appreciative as well.

Craig



On Sat, 12 Jan 2002, Martin Cooper wrote:

> Date: Sat, 12 Jan 2002 14:41:22 -0800
> From: Martin Cooper <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED],
>  Struts Developers List <[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED]
> Subject: [ANNOUNCEMENT] Struts 1.0.1 (Final) Released
>
> The Struts team is proud to announce the release of Struts 1.0.1. This
> release is primarily a bug fix release, and fixes a number of known problems
> with the previous 1.0 release. No new functionality is available with this
> release.
>
> The binary distribution is available at:
>
>   http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.1/
>
> and the source distribution is available at:
>
>   http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.1/src/
>
> In addition, a new library distibution, which contains updated binaries
> without the sample applications, is available at:
>
>   http://jakarta.apache.org/builds/jakarta-struts/release/v1.0.1/lib/
>
> Details of the changes in this release are available in the Release Notes,
> which can be found here:
>
>   http://jakarta.apache.org/struts/release-notes-1.0.1.html
>
> --
> Martin Cooper
>
>
>
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
>
>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




The BIG Check-In for Multi-App Support


OK, I think I've got it working now -- the support for multiple Struts
sub-applications in a single web-app, that is.

While I'm writing up some documentation for it, here's the key points that
will help you experiment with it:

* All of the configuration information about a sub-app is stored
  in the ApplicationConfig object, including a bunch of stuff that
  used to be set with init parameters on the controller servlet.

* A multi-app environment still runs from a single instance of the
  controller servlet, but you can have multiple struts-config.xml
  files -- one per sub-application.

* The sub-application that applies to a particular request is based
  on matching an "application prefix" at the beginning of the
  context-relative URI (similar to the way that a servlet container
  chooses the web app to run based on the context path prefix of the
  request URI.

* Like a servlet container, there is the notion of a "default"
  sub-application that is used to process requests not assigned to
  any sub-applicaiton.  The prefix for this application is ""
  (i.e. the empty string).

* All of the "context relative" values in struts-config.xml are now
  "application-relative" instead -- in other words, the request URI
  equals "context path" + "application prefix" + "local value".  This
  works even for the default sub-application, because its prefix is
  a zero-length string.

* A primary design goal is that the "struts-config.xml" for an existing
  Struts applicaiton can be used as a sub-application with no changes.
  Failure of this to work should be considered a bug in the current
  implementation, and needs to be fixed.

* In addition to its other duties, the controller servlet creates
  two request attributes for all requests that flow through the
  controller:

Action.APPLICATION_KEYWill contain the ApplicationConfig
  instance for the sub-applcation that
  is selected by the current request URI.

Action.MESSAGES_KEY   Will contain the MessageResources
  instance for the sub-applcation that
  is selected by the current request URI.

* WARNING:  If you want to use your existing Struts application as a
  sub-application, then *ALL* of the requests must flow through the
  controller servlet -- no direct linking to pages -- in order for the
  above request attributes to always be set.  In a servlet 2.3
  environment, we'd be able to avoid worrying about this by using
  a filter, but that doesn't help under servlet 2.2.

* A known issue is that sub-apps won't work for path-mapped actions --
  only extension mapped at the moment.  I believe this can be fixed, but
  wanted to focus on getting the basics right first.

As a quick example of the new approach, assume you have three sub-apps:
  main - Main menu and such (this is the default subapp)
  catalog - The shopping portion of a shopping site - prefix "/catalog"
  checkout - The checkout portion of a shopping site - prefix "/checkout"

You would configure the sub-applicaitons in their own struts-config files,
and tell the controller servlet about them like this:

  

action
org.apache.struts.action.ActionServlet



  config
  /WEB-INF/struts-config-main.xml




  config/catalog <-- Includes prefix! -->
  /WEB-INF/struts-config-catalog.xml




  config/checkout <-- Includes prefix! -->
  /WEB-INF/struts-config-checkout.xml


... other global parameters ...

  

In such an environment, you might have context-relative request URIs like:

  /index.jsp  Main menu of the entire site
  /logon.do   Log on action (default subapp)

  /catalog/index.jsp  Main menu of the product catalog
  /catalog/addItem.do Add an item to the shopping cart

  /checkout/index.jsp Beginning of the "check out" area
  /checkout/checkVisa.do  Check the entered VISA credit card number

Application Development Issues:

* As stated above, I tried to maximize backwards compatibility.  The
  following points are things I know about that might impact porting
  of existing Struts apps into being usable in a multi-sub-app
  environment as a sub-application (no change should be required to
  continue use as the "default" sub-app).

* Applications that are calling Action.getResources() should be modified
  to call Action.getResources(HttpServletRequest) instead.  This allows
  you to pick up the message resources that are unique to this
  sub-application.  Otherwise, the message resources for the default
  sub-app will be used.

* Applications that depend on the ActionFormBeans, ActionForwards, or
  ActionMappings servlet context attributes should be modified to
  get the information they need from the ApplicationConfig object instead.

* Applications that subclass ActionServlet will most likely need to be
  modified because of the refactoring to create RequestProc

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html BaseHandlerTag.java ImageTag.java ImgTag.java LocalStrings.properties


craigmcc02/01/12 19:38:38

  Modified:doc  struts-html.xml
   src/share/org/apache/struts/taglib/html BaseHandlerTag.java
ImageTag.java ImgTag.java LocalStrings.properties
  Log:
  Refactor the HTML tag library classes so that the "alt", "altKey", "title",
  and "titleKey" (new) attributes are all implemented in the
  BaseHandlerTag class, and modify the TLD so that they are valid wherever
  the HTML "alt" and "title" attributes are allowed, respectively.
  
  Based on patches submitted by B. Vandrift <[EMAIL PROTECTED]>
  
  Revision  ChangesPath
  1.30  +581 -23   jakarta-struts/doc/struts-html.xml
  
  Index: struts-html.xml
  ===
  RCS file: /home/cvs/jakarta-struts/doc/struts-html.xml,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- struts-html.xml   13 Jan 2002 00:25:35 -  1.29
  +++ struts-html.xml   13 Jan 2002 03:38:38 -  1.30
  @@ -89,6 +89,25 @@
   
   
   
  +alt
  +false
  +true
  +
  +The alternate text for this element.
  +
  +
  +
  +
  +altKey
  +false
  +true
  +
  +The message resources key of the alternate text for this
  +element.
  +
  +
  +
  +
 disabled
 false
 true
  @@ -288,6 +307,25 @@
   
   
   
  +
  +  title
  +  false
  +  true
  +  
  +  The advisory title for this element.
  +  
  +
  +
  +
  +  titleKey
  +  false
  +  true
  +  
  +  The message resources key for the advisory title
  +  for this element.
  +  
  +
  +
   
   value
   false
  @@ -327,6 +365,25 @@
   
   
   
  +alt
  +false
  +true
  +
  +The alternate text for this element.
  +
  +
  +
  +
  +altKey
  +false
  +true
  +
  +The message resources key of the alternate text for this
  +element.
  +
  +
  +
  +
 disabled
 false
 true
  @@ -519,6 +576,25 @@
   
   
   
  +
  +  title
  +  false
  +  true
  +  
  +  The advisory title for this element.
  +  
  +
  +
  +
  +  titleKey
  +  false
  +  true
  +  
  +  The message resources key for the advisory title
  +  for this element.
  +  
  +
  +
   
   value
   false
  @@ -572,6 +648,25 @@
   
   
   
  +alt
  +false
  +true
  +
  +The alternate text for this element.
  +
  +
  +
  +
  +altKey
  +false
  +true
  +
  +The message resources key of the alternate text for this
  +element.
  +
  +
  +
  +
 disabled
 false
 true
  @@ -782,6 +877,25 @@
   
   
   
  +
  +  title
  +  false
  +  true
  +  
  +  The advisory title for this element.
  +  
  +
  +
  +
  +  titleKey
  +  false
  +  true
  +  
  +  The message resources key for the advisory title
  +  for this element.
  +  
  +
  +
   
   value
   false
  @@ -920,6 +1034,25 @@
   
   
   
  +alt
  +false
  +true
  +
  +The alternate text for this element.
  +
  +
  +
  +
  +altKey
  +false
  +true
  +
  +The message resources key of the alternate text for this
  +element.
  +
  + 

cvs commit: jakarta-struts/src/share/org/apache/struts/config ApplicationConfig.java ControllerConfig.java


craigmcc02/01/12 20:21:18

  Modified:conf/share struts-config_1_1.dtd
   src/share/org/apache/struts/action ActionServlet.java
   src/share/org/apache/struts/config ApplicationConfig.java
ControllerConfig.java
  Log:
  There is no reason that all sub-applications should have to share a single
  RequestProcessor, so make it configurable on a per-sub-application basis.
  As a side effect, this simplifies the internal method signatures too,
  since there will be one RequestProcessor instance per sub-application.
  
  Revision  ChangesPath
  1.7   +6 -1  jakarta-struts/conf/share/struts-config_1_1.dtd
  
  Index: struts-config_1_1.dtd
  ===
  RCS file: /home/cvs/jakarta-struts/conf/share/struts-config_1_1.dtd,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- struts-config_1_1.dtd 13 Jan 2002 00:25:35 -  1.6
  +++ struts-config_1_1.dtd 13 Jan 2002 04:21:18 -  1.7
  @@ -11,7 +11,7 @@
  "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
  "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
   
  - $Id: struts-config_1_1.dtd,v 1.6 2002/01/13 00:25:35 craigmcc Exp $
  + $Id: struts-config_1_1.dtd,v 1.7 2002/01/13 04:21:18 craigmcc Exp $
   -->
   
   
  @@ -422,6 +422,10 @@
HTTP headers for defeating caching to every response.
[false]
   
  + processorClass  The fully qualified Java class name of the
  + RequestProcessor class to be used.
  + [org.apache.struts.action.RequestProcessor]
  +
tempDir Temporary working directory to use when processing
file uploads.  [Directory provided by servlet container]
   -->
  @@ -434,6 +438,7 @@
   
   
   
  +
   
   
   
  
  
  
  1.84  +46 -46
jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java
  
  Index: ActionServlet.java
  ===
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v
  retrieving revision 1.83
  retrieving revision 1.84
  diff -u -r1.83 -r1.84
  --- ActionServlet.java13 Jan 2002 00:25:35 -  1.83
  +++ ActionServlet.java13 Jan 2002 04:21:18 -  1.84
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v 1.83 
2002/01/13 00:25:35 craigmcc Exp $
  - * $Revision: 1.83 $
  - * $Date: 2002/01/13 00:25:35 $
  + * $Header: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v 1.84 
2002/01/13 04:21:18 craigmcc Exp $
  + * $Revision: 1.84 $
  + * $Date: 2002/01/13 04:21:18 $
*
* 
*
  @@ -254,9 +254,6 @@
* be returned.  [true]
* DEPRECATED - Configure this using the "null" attribute of
* the  element.
  - * processor - The fully qualified Java class name of the
  - * RequestProcessor implementation class to be used.
  - * [org.apache.struts.action.RequestProcessor]
* tempDir - The temporary working directory to use when
* processing file uploads.  [The working directory provided to this web
* application as a servlet context attribute]
  @@ -268,7 +265,7 @@
*
* @author Craig R. McClanahan
* @author Ted Husted
  - * @version $Revision: 1.83 $ $Date: 2002/01/13 00:25:35 $
  + * @version $Revision: 1.84 $ $Date: 2002/01/13 04:21:18 $
*/
   
   public class ActionServlet
  @@ -332,13 +329,6 @@
   
   
   /**
  - * The Java class name of the RequestProcessor implementation to use.
  - */
  -protected String processorClass =
  -"org.apache.struts.action.RequestProcessor";
  -
  -
  -/**
* The set of public identifiers, and corresponding resource names, for
* the versions of the configuration file DTDs that we know about.  There
* MUST be an even number of Strings in this list!
  @@ -389,7 +379,7 @@
   log(internal.getMessage("finalizing"));
   
   destroyDataSources();
  -destroyProcessor();
  +destroyApplications();
   destroyInternal();
   
   // FIXME - destroy ApplicationConfig and message resource instances
  @@ -409,7 +399,6 @@
   initInternal();
   initOther();
   initServlet();
  -initProcessor();
   
   // Initialize sub-applications as needed
   ApplicationConfig ac = initApplicationConfig("", config);
  @@ -445,7 +434,9 @@
 HttpServletResponse response)
   throws IOException, ServletException {
   
  -processor.process(request, response);
  +RequestUtils.selectApplication(request, getServletContext()

Re: [SHORT TERM PLANS]


I know I'm coming in a month late on this, but the holidays are over and now
I'm paying attention again... ;-)

I guess I missed the original thread suggesting the breakup of the Struts
jar file into core and taglibs. I can see the rationale for splitting the
taglibs out from the core framework. However, I'm not so sure that all the
taglibs should be split out as a single entity. It seems to me that it would
make more sense to split out each taglib as its own self-contained entity,
in the manner of Jakarta Taglibs.

I'm planning on making some other changes to the Struts build process in the
near future, and I could certainly roll these in if people think it would be
desirable.

What do people think?

--
Martin Cooper


- Original Message -
From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts Developers List" <[EMAIL PROTECTED]>
Sent: Saturday, December 15, 2001 8:35 AM
Subject: Re: [SHORT TERM PLANS]


> Ooops, one more.
>
> * Adjust the build process so that there is a struts-core.jar and a
> struts-tags.jar
>
>
> Ted Husted wrote:
> >
> > So to wrap up several outstanding threads, here's what is on my
> > near-term agenda
> >
> > * Commit the initial ContextHelper to ActionServlet.
> >
> > * Commit the InvokeAction class to ActionServet.
> >
> > * Commit a SuperForm base class to action, for discussion purposes.
> >
> > * Develop a "smart" ActionForward class, that can build a dynamic path
> > at runtime.
> >
> > * Start moving the TODOs over to Bugzilla as enhancements requests.
> >
> > If someone wants to take a good look at Arron's nesting taglib, we
> > should consider that too. I just don't do a lot of work with the tag
> > extensions myself. We should also revisit the base class for exception
> > handling sometime soon.
> >
> > -- Ted Husted, Husted dot Com, Fairport NY USA.
> > -- Custom Software ~ Technical Services.
> > -- Tel +1 716 737-3463
> > -- http://www.husted.com/struts/
> >
> > --
> > To unsubscribe, e-mail:

> > For additional commands, e-mail:

>
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Custom Software ~ Technical Services.
> -- Tel +1 716 737-3463
> -- http://www.husted.com/struts/
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>


--
To unsubscribe, e-mail:   
For additional commands, e-mail: