First let's be very clear.
It's *not* about market share.
I have to disagree with you on this one. Struts is
the defacto standard because of its market share.
Why does Struts need to be defacto standard?
Struts in itself has no value, IMHO.
Obviously Struts developers have an
Can somebody tell me which is the best way to do this?
Oh boy :)
There was a long discussion not so long ago about
the problems with extending the tags (not limited
to the Struts tags, btw) on this list.
You're stuck with copy-and-pasteing TextTag.doStartTag()
into your new tag, then
public int doStartTag() throws JspException {
int tempValue = super.doStartTag();
StringBuffer href = new StringBuffer(some stuff);
ResponseUtils.write(pageContext, sb.toString());
return tempValue;
}
This all works fine for me!
So you're doing
[this is in response to Robert Leland's reply to my
post on the struts-user list griping about the
(un)extensibility of custom tags]
My #1 pet peeve about custom taglibs are that almost
none of them have been designed with extensibility in
mind. This includes all the Struts tags that I've
From what I've seen most custom tags seem to have been
implemented as one big doStartTag() or doEndTag(). The
entire implementation of the tag is in that one method.
I have worked to move most of the code out of doStartTag()
and doEndTag() for many tags. My pattern has been to have
a
the patch is here:
http://issues.apache.org/bugzilla/show_bug.cgi?id=18002
This one needs to be in a 1.1 release.
-TPP
-
This email may contain confidential and privileged material for the sole use of the
intended
Does anyone know of a NYC area Struts user group?
http://groups.yahoo.com/group/struts_NYC/
-TPP
-
This email may contain confidential and privileged material for the sole use of the
intended recipient(s). Any review,
http://www.theserverside.com/home/thread.jsp?thread_id=20655
A good paper on performance, but implies that Struts
reflection is slow.
I disagree, but.. would not mind converting some of the
Struts to CGLib, if there is a comiter who would review
and integrate, should it come on agenda.
Anyone know why the error handling is different in these
two Action classes when the parameter is missing from
the request?
DispatchAction calls the unspecified() method, but
LookupDispatchAction throws an exception that can not
be caught in the application.
Why isn't LookupDispatchAction
I wouldn't call this a bug (a very annoying feature, at
least for me), but from reading the javadoc for the
DispatchAction.unspecified() method, it looks like the
method was added in later to allow application developers
to create their own default behavior when the dispatch
parameter isn't
And IDEA may be the best developer's UI ever invented.
Ted, would you mind comparing IDEA to Eclipse a little
bit, if you have time? Not a full blown feature-by-feature
review, just highlights.
I've historically always been restricted to whatever
my employer gives me (which has usually been
so perhaps we will succeed in converting the dinosaurs
to Struts :-)
It's already happening. I'm teaching corporate mainframe
programmers how to move into the Java world using
WebSphere Studio Application Developer (WSAD) for
serious companies in/near Philadelphia and Pittsburgh.
In most
12 matches
Mail list logo