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
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
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
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
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
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
Hi all,
Here is the latest incarnation of my formatted output tag and supporting
classes. Source code, javadocs and tld files are included. BTW, Ive started
packaging everything I consider as an extension to Struts under the same
package names, but starting with org.apache2.xx.
Comments
Unsuscribe
Unsubscribe
-Original Message-From: Prakhar Bhatnagar
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, January 03,
2001 8:29 PMTo: [EMAIL PROTECTED]Subject:
Unsuscribe
Unsuscribe
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
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
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
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
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
> 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
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
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
>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
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
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
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
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
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
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
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
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
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
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
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
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
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
-- 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
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
32 matches
Mail list logo