Re: Struts vs Turbine

2001-01-04 Thread Ted Husted
Good question!   See < http://www.mail-archive.com/turbine@list.working-dogs.com/msg02036.html >   and  < http://www.mail-archive.com/struts-user@jakarta.apache.org/msg01256.html > *** REPLY SEPARATOR ***On 1/4/2001 at 9:46 AM [EMAIL PROTECTED] wrote: Hello, I am new to this ma

Re: 1.0 Release & 0.5 Stability?

2001-01-04 Thread Ted Husted
It is recommended that you develop against the nightly builds, one of which will ultimately be deemed the 1.0 release.   I believe that real bottleneck now is updating the User Guide to reflect the changes mentioned in the release notes.   I'm actively developing with Struts, and  it's my op

Re: Business Logic Beanies

2001-01-04 Thread Ted Husted
On 1/4/2001 at 8:00 AM Michael Gerdau wrote: > The current approach is to have them hardwired in a helperclass which does provide these ... What I think one should have is a generic (XML ?) file that holds all these parameters very much like a resource bundle. How about a helper bean with propert

action.xml and struts-config.xml

2001-01-04 Thread Alain Hubert
I'm using struts last build with Tomcat. A newbie question. I'm looking at the different struts examples coming with the distribution and I'm trying to figure out why action.xml is sometimes used and why it is sometimes not. For instance, in the struts-example application, action.xml and struts-c

Re: action.xml and struts-config.xml

2001-01-04 Thread Ted Husted
struts-config.xml is the successor to action.xml. action.xml is deprecated, and won't be supported past the 1.0 release. To use the new format, the ActionServlet validate property should be set to true. struts-config.xml is basically a superset of action.xml, so where you see that mentioned i

Re: Problem with Digester used "standalone"

2001-01-04 Thread Michael Roberts
How about cloning the BeanUtilsclass but removing the code not used by Digester that is bringing in the unecessary dependencies? And then asking Struts to release a separate digester.jar as part of the distribution? I agree on the usefulness of Digester. I have several webapps where Digester is

New formatted output tag

2001-01-04 Thread Ned Seagoon
Hi all, Here is the latest incarnation of my formatted output tag and supporting classes. Source code, javadocs and tld files are included. BTW, I’ve started packaging everything I consider as an extension to Struts under the same package names, but starting with org.apache2.xx. Comments

RE: Unsuscribe

2001-01-04 Thread Martin, Thomas
Unsuscribe Unsubscribe -Original Message-From: Prakhar Bhatnagar [mailto:[EMAIL PROTECTED]]Sent: Wednesday, January 03, 2001 8:29 PMTo: [EMAIL PROTECTED]Subject: Unsuscribe Unsuscribe

Can I use a Map.Entry as a bean?

2001-01-04 Thread Chris Wilson
hello, sorry to post this similar message again, but i'm really stumped... i've run into a problem however trying to use the iterate tag with a TreeMap and the write tag... here's a snippet of my code: // subjects is a TreeMap in the request object... no problem there // it's my understanding

Re: Can I use a Map.Entry as a bean?

2001-01-04 Thread Ted Husted
So, you've included the Struts bean tag library along with logic, yes? <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> You can get some weird and misleading error messages if you omit a taglibs you're using. The inner clas

"validate" param in web.xml

2001-01-04 Thread Mike Campbell
Title: "validate" param in web.xml Is there some reason for the name "validate" in the web.xml file to indicate using the "new" format vs. the old?  Is there more to it than that, because I can't grasp how the term "validate" relates to deciding which version/DTD of the configuration file to u

RE: Can I use a Map.Entry as a bean?

2001-01-04 Thread Chris Wilson
yes, i've included both taglib defs... in fact, the tags are working great. it's only the write tag that's having a problem, and only when i try to get a property on a Map.Entry // this fails with an IllegalAccessException... ((java.util.Map.Entry)pageContext.getAttribute("subjectEntry)).getV

New version confusion

2001-01-04 Thread James Howe
I downloaded the nightly build of 01/03/2001 and I'm now having a problem with some of my JSP pages. Previously I was using a nightly build from 12/15/2000. For example, I'm now getting the message: Since tag handler class org.apache.struts.taglib.form.LinkTag does not implement BodyTag, it c

Re: New version confusion

2001-01-04 Thread Johan Compagner
> Since tag handler class org.apache.struts.taglib.form.LinkTag does not > implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG > > I'm assuming that I've either not updated all the various bits correctly, > or there has been a change in one or more of the tags that I need to > account for

Re: New version confusion

2001-01-04 Thread James Howe
At 05:34 PM 1/4/2001 +0100, you wrote: > > Since tag handler class org.apache.struts.taglib.form.LinkTag does not > > implement BodyTag, it can't return BodyTag.EVAL_BODY_TAG > > > > I'm assuming that I've either not updated all the various bits correctly, > > or there has been a change in one or

Problem with Logic:Iterate

2001-01-04 Thread Dennis
Hello, I'm new to struts, and trying to kick the tires a little but I'm having a problem using the iterate tag. I have a Bean called DataObjects that contains a Vector called 'objects'. The vector contains beans with a single member variable called 'name'. In the Action class, I use request.se

RE: action.xml and struts-config.xml

2001-01-04 Thread Robinson, Brian
>From the Struts trail map at http://developer.bluestone.com/scripts/SaISAPI.dll/StrutsTrailMap.class/stru ts-trailmap/Trail4.htm, there is a Note which answers your question: Note: It should be noted that in earlier releases of Struts struts-config.xml was referred to as action.xml. These files

Re: Problem with Digester used "standalone"

2001-01-04 Thread Craig R. McClanahan
Martin Cooper wrote: > Well, I finally got the Digester to work outside a servlet, but I'm not sure > I would call the result "standalone". I never quite figured out where the > earlier NullPointerException was coming from, but somewhere along the line > it went away. Part of the solution seemed

Re: "validate" param in web.xml

2001-01-04 Thread Craig R. McClanahan
Mike Campbell wrote:   Is there some reason for the name "validate" in the web.xml file to indicate using the "new" format vs. the old?  Is there more to it than that, because I can't grasp how the term "validate" relates to deciding which version/DTD of the configuration file to use.   It was pr

User Profile/Password Storage Concerns

2001-01-04 Thread Bjagoring
Hi, In the Struts example,  the user details *and* password are stored together in an XML file. In a real web application, would it be better (and secure) if  the password is placed in another file? Also, I'm thinking of storing them not in XML but in a 'normal' database like DB2. What could be t

Re: User Profile/Password Storage Concerns

2001-01-04 Thread Ted Husted
The database servlet in the Example application has the advantage of being able to run "out of the box", without going to the trouble of installing a real JDBC DBMS, like PostGresSQL, MySQL, et al.   For several reasons, the Example database servlet would not scale in a multiuser environment

Example Use Of Data Source

2001-01-04 Thread Craig R. McClanahan
I was asked (in private mail) for an example of using the new data source facility in an actual application. Since the Struts example doesn't use a real database, I've extracted the following code snippet from one of my personal webapps that uses this. The code initializes a collection of domain

Re: Problem with Digester used "standalone"

2001-01-04 Thread martin . cooper
At 12:26 PM 1/4/01 -0800, Craig R. McClanahan wrote: >When you say "JSDK" classes, I hope you mean the "servlet.jar" file that >contains the current version of the servlet API classes :-). Yes, I meant the jar file containing the Servlets 2.2 implementation. Since Tomcat calls it servlet.jar and

RE: Newbie Question on Logic:Iterate Tag

2001-01-04 Thread Dennis
Ted, In this example (I'm still having problems using the iterate tag), how does the "row" get put into a context? Where is that bean? According to the tag docs, id is "The name of a page scope JSP bean that will contain the current element of the collection on each iteration." Thanks, Dennis

GenericDataSource Enhancement

2001-01-04 Thread David Winterfeldt
I don't see GenericDataSource checking to see if a connection is dead/closed before it returns it from the pool. I think my ISP shuts down the database at night for backups and it kills the connection pool. Could checking to see if the connection is live (reconect if dead) be added? David Win

RE: Newbie Question on Logic:Iterate Tag

2001-01-04 Thread Dennis
Um*red-faced* Nevermind. It seems forgetting to identify the logic tag library is a problem! Thanks anyway, Dennis -Original Message- From: Dennis [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 04, 2001 3:46 PM To: [EMAIL PROTECTED] Subject: RE: Newbie Question on Logic:Iterat

Re: GenericDataSource Enhancement

2001-01-04 Thread Craig R. McClanahan
David Winterfeldt wrote: > I don't see GenericDataSource checking to see if a > connection is dead/closed before it returns it from > the pool. I think my ISP shuts down the database at > night for backups and it kills the connection pool. > > Could checking to see if the connection is live > (r

RE: GenericDataSource Enhancement

2001-01-04 Thread McCay, Larry
My vote would be to hold off until 1.0 is released to add enahancements. Let's concentrate on the outstanding documentation and any critical bugs. thanks, larry -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 04, 2001 6:46 PM To: [EMAIL P

Re: GenericDataSource Enhancement

2001-01-04 Thread David Winterfeldt
It can wait until after 1.0 is released. If it could get fixed in the next couple of weeks, that would be good. David Winterfeldt --- "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote: > David Winterfeldt wrote: > > > I don't see GenericDataSource checking to see if a > > connection is dead/clos

Re: Help: and form input fields

2001-01-04 Thread Mishkin Berteig
Actually, I think I can add some clarification to this issue as I am encountering what I see as a similar problem. The basic goal is to create a form where there are a variable number of entries, all of which are the same type.  The number of entries is determined at run-time, for example from r

parameters in the request object disappear !!?

2001-01-04 Thread Danson Hock Kieong Loh
-- Forwarded by Danson Hock Kieong Loh/Singapore/Netlife on 01/05/2001 11:54 AM --- hi all, When using query string with parameters (e.g. action.do?para1=111¶2=222&...), the request object will be renewed right after the action class calls the mappin

slashdot-like product available?

2001-01-04 Thread Phillip Rhodes
Hi...   I thought this would be a good place to ask.  I am looking for a opensource java application that provides the functionality that slashdot provides.  Other examples are theserverside.com and jguru.com   Thanks so very much! Phillip