Re: [s2] Requirements

2006-11-15 Thread Dion Gillard

Cool. Thanks Ted!

On 11/15/06, Ted Husted <[EMAIL PROTECTED]> wrote:


On 11/14/06, Ted Husted <[EMAIL PROTECTED]> wrote:
> It's on the Getting Started page now,
>
> * http://struts.apache.org/WW/home.html#Home-PlatformRequirements
>
> -T.

Better yet: http://struts.apache.org/2.x/index.html#Platform Requirements

-T.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
http://www.multitask.com.au/people/dion/
Rule of Acquisition #91: Hear all, trust nothing.


Re: [s2] Requirements

2006-11-14 Thread Dion Gillard

Not really.

I would have thought it would be spelled out somewhere a little more obvious
and with less technical detail, e.g.:

*"Apache Struts 2 is an elegant, extensible framework,* well suited for
creating enterprise-ready Java web applications. It extends and enhances
various technologies from J2EE 1.4."

Digging about the project dependencies page seems roundabout.

On 11/11/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:


On 11/9/06, Dion Gillard <[EMAIL PROTECTED]> wrote:

> Is there doco somewhere on the minimum requirements for S2?

Does this help?

http://struts.apache.org/2.x/struts2-core/dependencies.html

--
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
http://www.multitask.com.au/people/dion/
Rule of Acquisition #91: Hear all, trust nothing.


[s2] Requirements

2006-11-09 Thread Dion Gillard

Is there doco somewhere on the minimum requirements for S2?

e.g.:

servlet 2.1
jsp 1.0
jdk 1.2
jdbc 1.2
jee 2.3

etc?
--
http://www.multitask.com.au/people/dion/
Rule of Acquisition #91: Hear all, trust nothing.


Re: Poll: What part of a Struts will be the most important to support for migration?

2006-06-12 Thread Dion Gillard

On 6/13/06, Ted Husted <[EMAIL PROTECTED]> wrote:


On 6/12/06, Don Brown <[EMAIL PROTECTED]> wrote:
> Please let us know your thoughts so we can focus on developing tools
> to make migration as easy as possible.  Thanks,

My first thought would be how would migrating one part without the
others would serve any practical purpose?

My second thought would be how often would production-applications
actually be migrated?

In the field, it seems like that once a Struts application hits
production, it continues to use the same version. A new application
might use 1.2, but the old ones continue to plug along on 1.1. If it
ain't broke, why fix it?




Why support multiple versions of struts code bases in production when you
could use (and support) just one? I know we have apps that are in production
that have 'migrated' from 1.0 though 1.1 to 1.2. I'd rather not support both
sets for a large code base.

-Ted.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris


Re: Struts 1.3 - WebSite/Docs

2006-04-11 Thread Dion Gillard
Shouldn't this be a bit more obvious on the main site?

On 4/11/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote:
>
> On 4/10/06, Dion Gillard <[EMAIL PROTECTED]> wrote:
> > Any pointers to where to find details on the changes and details in 1.3?
> >
> 
>
> Probable starting points:
>
> http://struts.apache.org/struts-action/userGuide/release-notes.html
> http://wiki.apache.org/struts/StrutsUpgrade
>
> -Rahul
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris


Struts 1.3 - WebSite/Docs

2006-04-10 Thread Dion Gillard
Any pointers to where to find details on the changes and details in 1.3?

--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris


Re: Support for Transfer-Encoding: gzip

2006-04-03 Thread Dion Gillard
I use this filter in our web apps pretty successfully:

http://sourceforge.net/projects/pjl-comp-filter/

On 4/3/06, Graham Leggett <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have a struts application that calls business logic from Action classes,
> and displays HTML results via JSP.
>
> I would like my application to compress content on the fly (on the basis
> of the Accept-Encoding header) using gzip. Is there a way to get Struts to
> do this for me?
>
> Regards,
> Graham
> --
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris


Re: Why did Struts development stagnate?

2006-03-30 Thread Dion Gillard
On 3/31/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
>
> Dion Gillard wrote:
> > On 3/31/06, Dakota Jack <[EMAIL PROTECTED]> wrote:
> >
> >>I am sorry you took this personally, Dion.  I meant nothing about you
> >>personally.  I am just saying that what you are advocating is well-known
> >>in
> >>the literature and in fact to be a problem.  This is a main reason why
> >>Struts 1.x is being abandoned.  I am not going to take the time to show
> >>you
> >>something that you should be learning as a matter of course.  I don't
> owe
> >>you that.  So far as I know you may be the most wonderful person in the
> >>world.  Nothing personal is meant.  Just read more.  That is all I am
> >>saying.  Just because you don't see something does not mean I have the
> >>obligation to teach you.  I have told you the truth.  Check it out.
>
> Dion,
>
> Finally, I was curious about this question and I just googled the
> keywords:
>
> webwork struts testable
>
> as well as: webwork struts "unit test"
>
> and I get a fair number of hits. You might try similar searches. There
> seem to be various people who think that a significant advantage of
> Webwork is testability -- that actions are testable independently of the
> web container.


Yep,  I understand that it is *easier* to test WW actions. BTDT.

That doesn't preclude you from writing 'decent tests' for your struts
actions, and regardless, if the actions (ww or struts) call EJBs, use JNDI,
JMS, JDBC et al, there's still further work to be done in both cases either
mocking, arranging an in container test, or provide a 'test' spring
configuration.


Here is one blogger who talks about this stuff extensively.
>
>
> http://www.pubbitch.org/blog/2004/10/10/every_time_you_use_struts_god_kills_another_kitten
>
> So, it seems that, at least there are many people who believe that
> Webwork has a significant advantage in terms of being able to unit test
> actions.
>
> OTOH, I personally don't have a sense of how important this aspect of
> things was in the overall Struts vs. Webwork comparison that must have
> been carried out in order to decide to ditch the Struts codebase in
> favor of WW.


Reading http://struts.apache.org/struts-action/roadmap.html , it seems a
similar feature (no HTTP deps for actions) is being considered for Struts
1.3.x and beyond as experimental members. I wont buy into the 'ditch' at
this point, as far as I can tell, Struts 1.2 and 1.3 are actively being
developed.

Most of the basis of my discourse on this -- that Webwork is better than
> Struts -- has been simply taking the Struts people at their word. Why on
> earth would they want to bring in Webwork as Struts Action 2 if it were
> not significantly better than Struts Action 1 (i.e. plain old Struts)?
>
> At this point, strangely enough, certain people are asking *me*
> insistently about all these issues as if I am the one who is supposed to
> explain it.
>
> Anyway, there does seem to be an issue that Webwork has an advantage in
> that the actions are unit testable independently of a web container. I
> do not know how central this was to the decision to bring in Webwork.
> There is terrible communication about this from the Struts developers
> themselves. You'd think they would feel some onus to answer such
> questions. If there are 22 Struts committers who had a say in the
> decision to go with WW, you'd think they wouldn't all go into hiding
> when questions are asked about this stuff.


I see a fair amount of discussion about this stuff on the struts-dev lists,
as they are currently 'development' decisions.

Jonathan Revusky
> --
> lead developer, FreeMarker project, http://freemarker.org/
>
>
> >
> >
> >
> > Your original statement I replied to was:
> > "For one, try writing decent tests."
> >
> > Believe it or not, I have done a lot of reading on Struts, been
> developing
> > with Struts for many years (I think it was 1999, in the 0.5 days) and
> > understand what it takes to test Struts code very well. I've written
> Struts
> > and WebWork apps, and tests for both, many times.
> >
> > I'm not asking you to teach me anything.
> >
> > IMHO, you can write decent tests for Struts applications. And I'm happy
> to
> > agree to disagree with you.
> >
> > On 3/29/06, Dion Gillard <[EMAIL PROTECTED]> wrote:
> >
> >>>Ah, personal attack, thanks.
> >>>
> >>>I wouldn't want people to think that it's not possible to write decent
> >>>tests
> >&

Re: Why did Struts development stagnate?

2006-03-30 Thread Dion Gillard
On 3/31/06, Dakota Jack <[EMAIL PROTECTED]> wrote:
>
> I am sorry you took this personally, Dion.  I meant nothing about you
> personally.  I am just saying that what you are advocating is well-known
> in
> the literature and in fact to be a problem.  This is a main reason why
> Struts 1.x is being abandoned.  I am not going to take the time to show
> you
> something that you should be learning as a matter of course.  I don't owe
> you that.  So far as I know you may be the most wonderful person in the
> world.  Nothing personal is meant.  Just read more.  That is all I am
> saying.  Just because you don't see something does not mean I have the
> obligation to teach you.  I have told you the truth.  Check it out.


Your original statement I replied to was:
"For one, try writing decent tests."

Believe it or not, I have done a lot of reading on Struts, been developing
with Struts for many years (I think it was 1999, in the 0.5 days) and
understand what it takes to test Struts code very well. I've written Struts
and WebWork apps, and tests for both, many times.

I'm not asking you to teach me anything.

IMHO, you can write decent tests for Struts applications. And I'm happy to
agree to disagree with you.

On 3/29/06, Dion Gillard <[EMAIL PROTECTED]> wrote:
> >
> > Ah, personal attack, thanks.
> >
> > I wouldn't want people to think that it's not possible to write decent
> > tests
> > with Struts 1.x.
> >
> > It is.
> >
> >
> > On 3/30/06, Dakota Jack <[EMAIL PROTECTED]> wrote:
> > >
> > > Sigh ..   Dion, I am sorry, but I am not going to stoop this
> > > low.  Come
> > > back later when you are grown up in this business.  I hate to do this
> > but
> > > I
> > > am not going to start at 101 with you.  Someone else can.  I am not
> > going
> > > to.  You DON'T have a clue about these issues and don't even realize
> > that
> > > you are revealing that in spades.  Please do yourself a favor and bow
> > out
> > > gracefully.
> > >
> > > On 3/29/06, Dion Gillard <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On 3/30/06, Dakota Jack <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > Dion, you are obviously really green.  Please read a bit and then
> > come
> > > > > back.  Do you have any idea about architecture and design and
> > testing
> > > > > issues?
> > > >
> > > >
> > > > Yes, I do. Do you?
> > > >
> > > > So, the use of StrutsTestCase has an effect on architecture and
> > design?
> > > > Are you saying you can't test your code using it? I seem to do it
> > > > reasonably
> > > > easily.
> > > >
> > > > On 3/29/06, Dion Gillard <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > On 3/30/06, Dakota Jack <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > God, Joe!  If you don't know what is wrong with Struts 1.xthen
> > > > stand
> > > > > > > aside.  For one, try writing decent tests.  Do you test your
> > code?
> > > > > >
> > > > > >
> > > > > >
> > > > > > So StrutsTestCase doesn't help you?
> > > > > >
> > > > > >
> > > > > > On 3/29/06, Joe Moore <[EMAIL PROTECTED]> wrote:
> > > > > > > >
> > > > > > > > Jonathon,
> > > > > > > >
> > > > > > > > You didn't answer Dion's question. You merely summarized
> that
> > > > Struts
> > > > > > and
> > > > > > > > WebWork merged.
> > > > > > > > You did not state any technical reasons that Struts 1.x is
> > > wrong.
> > > > > > > > The question was "Do you have a list of
> > > > > > > > things that are technically wrong with Struts 1.x?"
> > > > > > > >
> > > > > > > > You complain that people don't answer questions on this list
> > and
> > > > > look
> > > > > > > what
> > > > > > > > you've just done.
> > > > > > > >
> > > > > > > > So do you have an answer?
> > > > > > > >
> > > > > > > >
> >

Re: Struts Validation

2006-03-30 Thread Dion Gillard
Bart, the ( and ) may need to be escaped too.

On 3/30/06, Bart Busschots <[EMAIL PROTECTED]> wrote:
>
> Hi Sahil,
>
> I'm 90% sure the problem here is that some more of the special
> characters in your large character class need to be escaped out. Thing
> is I can't find any details of the syntax for REs in the struts
> validator docs so I'm not sure exactly which ones. At a guess I'd
> suggest the following:
>
> ^[a-zA-Z]{1}[a-zA-Z0-9\n\r\
> _,;?!;:[EMAIL PROTECTED]/\\()&$%#*+=\-]*$
>
> The character class only matches individual characters so & should not
> be intere like that. As long as &, the letters a, m and P and ; are matched
> then & will be fine. . is a special character in it's own right so to
> represent an actual fulstop you need \. and - is certainly a special
> character within a character class so it definitely needs to be escaped.
> Your RE was also not allowing the space character and depending on your OS
> new lines can also use the \r special character so I added \ (slash followed
> by a space) and \r to the class.
>
> Bart.
>
>
>
> Sahil Gupta wrote:
>
> >The current mask that I am using is:
> >
> >
> >   
> >
> >   
> >   
> >mask
> >
> >^[a-zA-Z]{1}[a-zA-Z0-9\n_,;?!;:[EMAIL PROTECTED]/\\()&$%#*+=
> >-]*$
> >   
> >   
> >   
> >maxlength
> >250
> >   
> >
> >
> >And if I input some text and along with that I press the Enter Key I get
> >Validation Error message that I have mentioned in my
> >ApplicationResources.properties file.
> >
> >Eg: In the text box I gave the following:
> >Recommended (and then pressed enter)
> >And Verified.
> >
> >When I entered the above text in the Text Box it gave the validation
> error
> >message.
> >
> >
> >Regards,
> >
> >Sahil Gupta
> >
> >Extn : 233
> >Email : [EMAIL PROTECTED]
> >**
> >NetEdge Computing Global Solutions Private Limited.
> >A-14, Sector-7, NOIDA U.P. 201-301
> >Tel #  91-120-2423281, 2423282
> >Fax #  91-120-2423279
> >URL  http//www.netedgecomputing.com
> >**
> >This message may contain confidential and/or privileged information. If
> you
> >are not the addressee or authorized to receive this for the addressee,
> you
> >must not use, copy, disclose or take any action based on this message or
> any
> >information herein. If you have received this message in error, please
> >advise the sender immediately by reply e-mail and delete this message.
> Thank
> >you for your cooperation.
> >
> >-Original Message-
> >From: Bart Busschots [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, March 30, 2006 4:05 PM
> >To: Struts Users Mailing List
> >Subject: Re: Struts Validation
> >
> >Can you show me the current version of your mask and a sample of an input
> it
> >is rejecting?
> >
> >Bart.
> >
> >Sahil Gupta wrote:
> >
> >
> >
> >>Thanks Bart,
> >>Yes, what you said was right, so I have changed \ to \\ to match \.
> >>But still I am unable to allow \n in my Validation.
> >>
> >>Regards,
> >>
> >>Sahil Gupta
> >>
> >>
> >>-Original Message-
> >>From: Bart Busschots [mailto:[EMAIL PROTECTED]
> >>Sent: Thursday, March 30, 2006 3:39 PM
> >>To: Struts Users Mailing List
> >>Subject: Re: Struts Validation
> >>
> >>OK, so your Regular expression is trying to match everything between
> >>the start (^) and the end ($) of your input and no where in it do you
> >>allow a new line character, hence it is failing. You need to allow \n
> >>in which ever part of the RE you are happy to have new lines appear in.
> >>At a guess I'd say you probably want them in the second character
> >>class. What I do also notice is that you seem to have some un-escaped
> >>special characters in your second character class. The most obvious one
> >>is a single \, that will not match \, to match \ you need \\.
> >>
> >>Hope that helps,
> >>
> >>Bart.
> >>
> >>Sahil Gupta wrote:
> >>
> >>
> >>
> >>
> >>
> >>>Here is an example of the mask that I am using.
> >>>
> >>> 
> >>> 
> >>>  >>>key="message.mask.displayname" />
> >>> 
> >>> mask
> >>>
> >>>^[a-zA-Z]{1}[a-zA-Z0-9_,;?!;:[EMAIL PROTECTED]/\()&$%#*+=
> >>>
> >>>
> >-]*$
> >
> >
> >>> 
> >>>  >>>resource="false"/>
> >>> 
> >>> maxlength
> >>> 250
> >>> 
> >>>
> >>> 
> >>>
> >>>
> >>>Regards,
> >>>
> >>>Sahil Gupta
> >>>
> >>>
> >>>-Original Message-
> >>>From: Bart Busschots [mailto:[EMAIL PROTECTED]
> >>>Sent: Thursday, March 30, 2006 2:54 PM
> >>>To: Struts Users Mailing List
> >>>Subject: Re: Struts Validation
> >>>
> >>>Can you show us the mask you currently use and then we will have a
> >>>better chance of being able to help.
> >>>
> >>>Bart.
> >>>
> >>>Sahil Gupta w

Re: Why did Struts development stagnate?

2006-03-29 Thread Dion Gillard
Ah, personal attack, thanks.

I wouldn't want people to think that it's not possible to write decent tests
with Struts 1.x.

It is.


On 3/30/06, Dakota Jack <[EMAIL PROTECTED]> wrote:
>
> Sigh ..   Dion, I am sorry, but I am not going to stoop this
> low.  Come
> back later when you are grown up in this business.  I hate to do this but
> I
> am not going to start at 101 with you.  Someone else can.  I am not going
> to.  You DON'T have a clue about these issues and don't even realize that
> you are revealing that in spades.  Please do yourself a favor and bow out
> gracefully.
>
> On 3/29/06, Dion Gillard <[EMAIL PROTECTED]> wrote:
> >
> > On 3/30/06, Dakota Jack <[EMAIL PROTECTED]> wrote:
> > >
> > > Dion, you are obviously really green.  Please read a bit and then come
> > > back.  Do you have any idea about architecture and design and testing
> > > issues?
> >
> >
> > Yes, I do. Do you?
> >
> > So, the use of StrutsTestCase has an effect on architecture and design?
> > Are you saying you can't test your code using it? I seem to do it
> > reasonably
> > easily.
> >
> > On 3/29/06, Dion Gillard <[EMAIL PROTECTED]> wrote:
> > > >
> > > > On 3/30/06, Dakota Jack <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > God, Joe!  If you don't know what is wrong with Struts 1.x then
> > stand
> > > > > aside.  For one, try writing decent tests.  Do you test your code?
> > > >
> > > >
> > > >
> > > > So StrutsTestCase doesn't help you?
> > > >
> > > >
> > > > On 3/29/06, Joe Moore <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > Jonathon,
> > > > > >
> > > > > > You didn't answer Dion's question. You merely summarized that
> > Struts
> > > > and
> > > > > > WebWork merged.
> > > > > > You did not state any technical reasons that Struts 1.x is
> wrong.
> > > > > > The question was "Do you have a list of
> > > > > > things that are technically wrong with Struts 1.x?"
> > > > > >
> > > > > > You complain that people don't answer questions on this list and
> > > look
> > > > > what
> > > > > > you've just done.
> > > > > >
> > > > > > So do you have an answer?
> > > > > >
> > > > > >
> > > > > > >You should not use me as some kind of scapegoat to take out
> your
> > > > > > >frustrations on. Take this stuff up with the Struts PMC, not
> > > > > > >with me. >Jonathan Revusky
> > > > > >
> > > > > > Very unbecoming of you Jon. Stop trying to change the subject
> and
> > > > answer
> > > > > > the question.The question is:
> > > > > >
> > > > > > "Do you have a list of things that are technically wrong with
> > Struts
> > > > 1.x
> > > > > ?"
> > > > > >
> > > > > >
> > > > > > Joe [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > -
> > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > "You can lead a horse to water but you cannot make it float on its
> > > > back."
> > > > > ~Dakota Jack~
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > http://www.multitask.com.au/people/dion/
> > > > Chuck Norris sleeps with a night light. Not because Chuck Norris is
> > > afraid
> > > > of the dark, but because the dark is afraid of Chuck Norris
> > > >
> > > >
> > >
> > >
> > > --
> > > "You can lead a horse to water but you cannot make it float on its
> > back."
> > > ~Dakota Jack~
> > >
> > >
> >
> >
> > --
> > http://www.multitask.com.au/people/dion/
> > Chuck Norris sleeps with a night light. Not because Chuck Norris is
> afraid
> > of the dark, but because the dark is afraid of Chuck Norris
> >
> >
>
>
> --
> "You can lead a horse to water but you cannot make it float on its back."
> ~Dakota Jack~
>
>


--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris


Re: Why did Struts development stagnate?

2006-03-29 Thread Dion Gillard
On 3/30/06, Dakota Jack <[EMAIL PROTECTED]> wrote:
>
> Dion, you are obviously really green.  Please read a bit and then come
> back.  Do you have any idea about architecture and design and testing
> issues?


Yes, I do. Do you?

So, the use of StrutsTestCase has an effect on architecture and design?
Are you saying you can't test your code using it? I seem to do it reasonably
easily.

On 3/29/06, Dion Gillard <[EMAIL PROTECTED]> wrote:
> >
> > On 3/30/06, Dakota Jack <[EMAIL PROTECTED]> wrote:
> > >
> > > God, Joe!  If you don't know what is wrong with Struts 1.x then stand
> > > aside.  For one, try writing decent tests.  Do you test your code?
> >
> >
> >
> > So StrutsTestCase doesn't help you?
> >
> >
> > On 3/29/06, Joe Moore <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Jonathon,
> > > >
> > > > You didn't answer Dion's question. You merely summarized that Struts
> > and
> > > > WebWork merged.
> > > > You did not state any technical reasons that Struts 1.x is wrong.
> > > > The question was "Do you have a list of
> > > > things that are technically wrong with Struts 1.x?"
> > > >
> > > > You complain that people don't answer questions on this list and
> look
> > > what
> > > > you've just done.
> > > >
> > > > So do you have an answer?
> > > >
> > > >
> > > > >You should not use me as some kind of scapegoat to take out your
> > > > >frustrations on. Take this stuff up with the Struts PMC, not
> > > > >with me. >Jonathan Revusky
> > > >
> > > > Very unbecoming of you Jon. Stop trying to change the subject and
> > answer
> > > > the question.The question is:
> > > >
> > > > "Do you have a list of things that are technically wrong with Struts
> > 1.x
> > > ?"
> > > >
> > > >
> > > > Joe [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
> > > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > "You can lead a horse to water but you cannot make it float on its
> > back."
> > > ~Dakota Jack~
> > >
> > >
> >
> >
> > --
> > http://www.multitask.com.au/people/dion/
> > Chuck Norris sleeps with a night light. Not because Chuck Norris is
> afraid
> > of the dark, but because the dark is afraid of Chuck Norris
> >
> >
>
>
> --
> "You can lead a horse to water but you cannot make it float on its back."
> ~Dakota Jack~
>
>


--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris


Re: Why did Struts development stagnate?

2006-03-29 Thread Dion Gillard
On 3/30/06, Dakota Jack <[EMAIL PROTECTED]> wrote:
>
> God, Joe!  If you don't know what is wrong with Struts 1.x then stand
> aside.  For one, try writing decent tests.  Do you test your code?



So StrutsTestCase doesn't help you?


On 3/29/06, Joe Moore <[EMAIL PROTECTED]> wrote:
> >
> > Jonathon,
> >
> > You didn't answer Dion's question. You merely summarized that Struts and
> > WebWork merged.
> > You did not state any technical reasons that Struts 1.x is wrong.
> > The question was "Do you have a list of
> > things that are technically wrong with Struts 1.x?"
> >
> > You complain that people don't answer questions on this list and look
> what
> > you've just done.
> >
> > So do you have an answer?
> >
> >
> > >You should not use me as some kind of scapegoat to take out your
> > >frustrations on. Take this stuff up with the Struts PMC, not
> > >with me. >Jonathan Revusky
> >
> > Very unbecoming of you Jon. Stop trying to change the subject and answer
> > the question.The question is:
> >
> > "Do you have a list of things that are technically wrong with Struts 1.x
> ?"
> >
> >
> > Joe [EMAIL PROTECTED]
> >
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> "You can lead a horse to water but you cannot make it float on its back."
> ~Dakota Jack~
>
>


--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris


Re: New to Struts

2006-03-29 Thread Dion Gillard
Sure, pop over to the coffee shop near my office and we can have a chat ;-)

Sohumour asidedid you read the home page? http://struts.apache.org/
Did you do a google on Struts tutorial ?
http://www.google.com.au/search?q=struts+tutorial&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official

That'd be a start.

On 3/30/06, Naveen Sharma <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> Can any one help me with Struts as I am new to it and I am supposed to
> learn
> Struts.
> Thanx in advance
> Navin
>
>


--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris


Re: Why did Struts development stagnate?

2006-03-29 Thread Dion Gillard
On 3/30/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
>
> Dion Gillard wrote:
> > Jonathan,
> >
> > do you have a list of things that are technically wrong with Struts 1.x?
>
> Dion, there is a Struts/Webwork merger afoot whereby the Webwork
> codebase is being donated to ASF to be the basis of the next version of
> Struts, Struts Action Framework 2 or whatever.


Yep, already know that.

The fact that the Webwork codebase is being used as the basis of the
> next version of the framework by the Struts people rather than Struts
> itself basically leads to the unavoidable conclusion that the Struts
> developers themselves consider Webwork to be better technology.


Not necessarily. There may be many reasons. And as I understand it, the
'next version of the framework by the Struts people' could also be
considered Apache Struts Shale. Quoting Ted H: "The reason Shale is not
Struts 2.x is because there was so much concern about doing things better,
that we ended up with no easy way to pour our old wine into the new bottle.
Many of us can't afford to recode the many large and mature Struts
applications now in production. There has to be a clear and simple way to
get there from here."

It's also quite possible that it is easier to use Don's work with Struts Ti,
and combine WebWork than it is to make the same sorts of changes to Struts
1.x. Why reinvent the wheel?

Also, based on your reasoning, the Webwork developers themselves must
consider Struts a more widely adopted, better marketed technology, with far
more developer acceptance and corporate penetration.

As far as the exact technicalities, I can only do what you can do, which
> is look in google for discussions about this. A google search on:
>
> struts webwork comparisons
>
> yields a lot of hits, but the first result is this one:
>
> http://wiki.opensymphony.com/display/WW/Comparison+to+Struts
>
> Obviously, not totally objective, since it is by the WW people, but
> probably factual enough. You get various blog entries and you can ask
> these people, who surely know a lot more than I do.
>
> The truth is out there (somewhere).


Truth being subjective opinion, yes.

"Is WebWork better' technology?" is a subjective question with people on
both sides of the fence.

What the merger brings us as users is the ability to pick up some of the
better features of WebWork without necessarily taking the hit/cost of
'switching'. There's been much talk about bridging SAF1 and 2, and I expect
with such a huge install base, this will be a big deal to the Struts
developers.

I hope that helps.
>
> Jonathan Revusky
> --
> lead developer, FreeMarker project, http://freemarker.org/
>
>
> >
> > On 3/30/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
> >
> >>Vinny wrote:
> >>
> >>>There have been many time in history when an individual
> >>>catholic _has_ been more catholic than the Pope.
> >>>I am simply giving my opinion.
> >>
> >>Well, that's true, I guess. You've got a point there, Vinny.
> >>
> >>So, yeah, feel free. Be more catholic than the pope. Keep maintaining
> >>that Struts 1.x is great stuff after the Struts developers themselves
> >>have abandoned it in favor of Webwork.
> >>
> >>Jonathan Revusky
> >>--
> >>lead developer, FreeMarker project, http://freemarker.org/
> >>
> >>
> >>
> >>>
> >>>
> >>>
> >>>On 3/29/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>>Vinny wrote:
> >>>>
> >>>>
> >>>>>I still say that struts 1.x has not "lost" to webwork.
> >>>>>When I do a quick unscientific search on monster.com for
> >>>>>"struts" I get over 1000 jobs listed. The same search for "webwork"
> >>>>>yields 22 jobs. Apparently struts "won" on the business front,
> >>>>
> >>>>That's a different question entirely. The question posed up top here
> in
> >>>>the subject line is: "Why did Struts development stagnate?"
> >>>>
> >>>>Actually, you could append to that question, given this above data --
> >>>>"Why did Struts development stagnate -- *despite* having such a huge
> >>>>user community and so on and so forth as documented above"
> >>>>
> >>>>
> >>>>
> >>>>>I don't think that is even debatable.
> >>>>
> >>>>Well, I do

Re: Why did Struts development stagnate?

2006-03-29 Thread Dion Gillard
Jonathan,

do you have a list of things that are technically wrong with Struts 1.x?

On 3/30/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
>
> Vinny wrote:
> > There have been many time in history when an individual
> > catholic _has_ been more catholic than the Pope.
> > I am simply giving my opinion.
>
> Well, that's true, I guess. You've got a point there, Vinny.
>
> So, yeah, feel free. Be more catholic than the pope. Keep maintaining
> that Struts 1.x is great stuff after the Struts developers themselves
> have abandoned it in favor of Webwork.
>
> Jonathan Revusky
> --
> lead developer, FreeMarker project, http://freemarker.org/
>
>
> >
> >
> >
> >
> > On 3/29/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
> >
> >>Vinny wrote:
> >>
> >>>I still say that struts 1.x has not "lost" to webwork.
> >>>When I do a quick unscientific search on monster.com for
> >>>"struts" I get over 1000 jobs listed. The same search for "webwork"
> >>>yields 22 jobs. Apparently struts "won" on the business front,
> >>
> >>That's a different question entirely. The question posed up top here in
> >>the subject line is: "Why did Struts development stagnate?"
> >>
> >>Actually, you could append to that question, given this above data --
> >>"Why did Struts development stagnate -- *despite* having such a huge
> >>user community and so on and so forth as documented above"
> >>
> >>
> >>>I don't think that is even debatable.
> >>
> >>Well, I don't either. That's why that is not the subject of the debate.
> >>
> >>
> >>>Now if we want to talk about
> >>>technical prowess then maybe Jonathan might have a point.
> >>
> >>It was about technical prowess. "Struts development" -- the fact that
> >>the Struts developers have abandoned the 1.x codebase decided to base
> >>"Struts Action 2" on the Webwork codebase.
> >>
> >>
> >>>I can't comment
> >>>on it because like a good little scientist I'd like to do some
> >>>experiments first.
> >>
> >>Well, look, Vinny, if the Struts developers themselves prefer to base
> >>Struts 2 on Webwork, they are saying that Webwork is technically better.
> >>If you want to defend Struts 1.x after that, then you're in the position
> >>of being more catholic than the pope.
> >>
> >>Jonathan Revusky
> >>--
> >>lead developer, FreeMarker project, http://freemarker.org/
> >>
> >>
> >>>To me this seems like a nice merger that benefits both projects.
> >>>The betamax vs VHS , RISC vs CISC, frameworkC vs frameworkD, Bush vs
> Kerry
> >>>debates are  rapidly becoming background noise to me.
> >>>
> >>>On 3/29/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> Niall Pemberton wrote:
> 
> 
> >- Original Message -
> >From: "Jonathan Revusky" <[EMAIL PROTECTED]>
> >Sent: Saturday, March 25, 2006 11:27 PM
> >
> >
> >
> >
> >>It still seems broadly on-topic to me. It's certainly a legitimate,
> >>well-formulated question.
> >>
> >>Seriously, the only other possibility I see is struts-dev. If it's
> >>off-topic on both struts-user and struts-dev, then the question
> really
> >>is (as I am starting to suppose) basically taboo.
> >
> >
> >
> >The question isn't taboo - I posed the same kind of thing (and
> offered one
> >perspective) in an earlier thread:
> >
> >http://article.gmane.org/gmane.comp.jakarta.struts.user/122903
> >
> >However I don't think what I said in that thread was the whole story
> -
> >clearly frameworks such as WebWork succeeded and I assume they were a
> >volunteer effort as well.
> 
> Yes, the bulk of your explanation there seemed to be that Struts was
> an
> all-volunteer effort and so on.
> 
> This could not possibly be why it fell behind Webwork.
> 
> 
> 
> >We currently have 22 committers on Struts -
> 
> Out of curiosity, what is your rough guess as to how many of these 22
> people committed any code in the last... year, let's say.
> 
> 
> 
> >but levels of activity vary
> >widely and I would say that the type of talented people it takes to
> drive a
> >project forward (and I don't include myself in that group) no longer
> have an
> >interest in doing so on the Action 1 side - for various reasons.
> People such
> >as Craig put their effort into developing the JSF standard and see
> that as
> >the future for web development and that is where they now concentrate
> their
> >effort. Don was doing alot of work inovating with Struts Ti
> 
> Well, I was not aware of this. However, you mean that Struts TI was a
> complete rewrite of the framework? I mean, was there a tacit
> assumption
> there that Struts 1.x could not be evolved forward and required a
> complete rewrite?
> 
> 
> 
> >and had the
> >offer to merge not come along from WebWork - we would probably be
> seeing the
> >fruits of his efforts as Action2 and not even discussing "st

Re: I Apologize

2006-03-28 Thread Dion Gillard
Does WebWork2/SAF2 *require* Java5?

I know Stripes does, but it's not obvious anywhere on the webwork home page
about it's JDK/JRE requirements. It does say it fully supports Java5
annotations, but that doesn't preclude support for older JDKs.

On 3/29/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> On 3/27/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote:
> > Well, your taste is questionable. You guys think that Struts 1.x is good
> > code. The Struts developers don't even think that.
>
> Struts 1.x sucks compared to WebWork 2, I think everybody got it.
> Actually, you are not the first who is saying this. Jason kept
> preaching this matra for at least two years already, we got used to
> this ;-)
>
> I think what would be really educational, is comparing WebWork 2 and
> Stripes. I think they are quite comparable. If WebWork was started in
> attempt to improve Struts, then Stripes was started in attempt to
> improve both Struts and WebWork. Are WebWork 2 and Stripes both "good
> code"?
>
> Michael.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris


Re: Order of struts-config.xml

2006-03-27 Thread Dion Gillard
Do the struts actions work?

On 3/27/06, Gaurav Jain <[EMAIL PROTECTED]> wrote:
>
> I am experiencing Parse Error in my Tomcat for changed order of
> struts-config.xml. But my application is working fine.
> Its strange.
>
>
> Regards,
> Gaurav
>
> -----Original Message-
> From: Dion Gillard [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 27, 2006 6:14 PM
> To: Struts Users Mailing List
> Subject: Re: Order of struts-config.xml
>
> On 3/27/06, Gaurav Jain <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > The struts-config.xml file contains following sections:-
> >
> >
> >
> > 1. Form bean definition section
> >
> > 2. Global forward definition section
> >
> > 3. Action mapping definition section
> >
> > 4. Controller configuration section
> >
> > 5. Application Resources definition section
> >
> >
> >
> > What if we change the order of these sections?
>
>
> The action servlet should fail to load up.
>
> What effect it'll have on my application?
>
>
> It will be unavailable.
>
> Will it work?
>
>
> No.
>
> Gaurav Jain
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> http://www.multitask.com.au/people/dion/
> Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
> of the dark, but because the dark is afraid of Chuck Norris
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris


Re: Order of struts-config.xml

2006-03-27 Thread Dion Gillard
On 3/27/06, Gaurav Jain <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> The struts-config.xml file contains following sections:-
>
>
>
> 1. Form bean definition section
>
> 2. Global forward definition section
>
> 3. Action mapping definition section
>
> 4. Controller configuration section
>
> 5. Application Resources definition section
>
>
>
> What if we change the order of these sections?


The action servlet should fail to load up.

What effect it'll have on my application?


It will be unavailable.

Will it work?


No.

Gaurav Jain
>
>
>
>
>
>
>


--
http://www.multitask.com.au/people/dion/
Chuck Norris sleeps with a night light. Not because Chuck Norris is afraid
of the dark, but because the dark is afraid of Chuck Norris