Re: struts 1.2.4 + tomcat 5.5.7 difficulties

2005-02-02 Thread brenmcguire
The tlds are not in struts.jar, check the Struts distribution, it is
there, but I don't remember where it is :-P
Anyway I had a similar problem when I used Apache Forrest as a webapp
under the same Tomcat instance, it seems that Forrest changes the default
XML parser, so that Struts TLDs are not parsed correctly, generating this
error. If you have Forrest installed in that Tomcat instance, undeploy it
and restart Tomcat. I don't know if it helps you.
Ciao
Antonio Petrelli

Vincent wrote:

> Hello All,
> Not sure if this is a tomcat issue or a struts one.
> After migrating from tomcat 5.0.30 to version 5.5.7
> I get this error from my webapp when I try to do . I tried to break it
up to make it more readable:
>
>
> WARN http-8080-Processor25
org.apache.catalina.authenticator.FormAuthenticator - Unexpected error
forwarding to login page
>
> org.apache.jasper.JasperException: Unable to read  TLD
> "META-INF/tlds/struts-tiles.tld" from JAR file
>
"file:/usr/local/tomcat/work/Catalina/localhost/_/WEB-INF/lib/struts.jar":
> org.apache.jasper.JasperException: Failed to load or instantiate
> TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei
>
> Can someone tell which jar file contains
org.apache.struts.taglib.tiles.UseAttributeTei? because I don't see it
> when I unjar struts.jar
>
> Again this is struts 1.2.4 and tomcat 5.5.7 (configured for jdk 1.4.2)
> Thanks,
> Vinny
>



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



Re: Pass logic:iterate bean into tile problem?

2005-02-02 Thread Kishore Senji
>  
> 

Are you trying to pass "shipment" object (which comes from the
logic:iterate) to the tile page (through insert) ? If so try,


  


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



RE: [ANN] Free JSP Editor for Eclipse

2005-02-02 Thread Erik Meade
Same thing happened to me.  Right after the dialog that had "This
trial has already been activated" I'm asked for an order id and a
serial number.  I had already installed and uninstalled the 15 day
trial weeks ago, btw.

On Wed, 2005-02-02 at 19:11, Carlos Chang wrote:
> Cedric,
> 
> On the second point, can you elaborate a bit more?  It's asking you for
> a serial?  Which version did you download? (JSP Editor, JSP IDE, Struts
> IDE?)  Did you get an activation key via email?
> 
> Thanks,
> 
> -Carlos
> 
> > -Original Message-
> > From: Cedric Levieux [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, February 02, 2005 2:40 PM
> > To: Struts Users Mailing List
> > Subject: Re: [ANN] Free JSP Editor for Eclipse
> > 
> > Two things:
> > 
> > First, my Eclipse has its name changed and I'm a bit angry with that
> > Second, does it ask me for a serial when I launch my Eclipse and it
> has a
> > lot of problem to be launched ?
> > 
> > Regards,
> > 
> > Cedric
> > 
> > - Original Message -
> > From: "Carlos Chang" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" 
> > Sent: Wednesday, February 02, 2005 11:09 PM
> > Subject: [ANN] Free JSP Editor for Eclipse
> > 
> > 
> > Dear Java Developer,
> > 
> > For a limited time, M7 is offering the NitroX JSP Editor for Eclipse
> for
> > FREE!*
> > Download: http://www.m7.com/free
> > 
> > NitroX has received top scores from industry reviewers such as SD
> > Magazine, CRN, JavaBoutique, and is officially a finalist for the
> > upcoming Jolt Product Excellence Award for Best Web Development Tool
> of
> > the Year.
> > 
> > The NitroX JSP Editor provides the following features:
> > 
> > * Professional JSP source editor
> > * Simultaneous 2-way source and visual JSP editors
> > * JSP 2.0 (including EL) - Unequaled!
> > * JSTL
> > * Grapical editor for TLDs
> > * Graphical editor for web.xml
> > * Code completion
> > * Custom tag library support
> > * + much more
> > * and it's FREE!
> > 
> > Act now because this offer is available only for a limited time.
> > 
> > Thank you,
> > 
> > 
> > M7 Team
> > 
> > * Restrictions apply; please see license agreement for details.
> > FREE = No cost, gratuit, gratis, frei, libero...ok, there is a catch;
> > this offer is only for a limited time. ;-)
> > 
> > 
> > 
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


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



RE: [ANN] Free JSP Editor for Eclipse

2005-02-02 Thread Carlos Chang
Cedric,

On the second point, can you elaborate a bit more?  It's asking you for
a serial?  Which version did you download? (JSP Editor, JSP IDE, Struts
IDE?)  Did you get an activation key via email?

Thanks,

-Carlos

> -Original Message-
> From: Cedric Levieux [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 02, 2005 2:40 PM
> To: Struts Users Mailing List
> Subject: Re: [ANN] Free JSP Editor for Eclipse
> 
> Two things:
> 
> First, my Eclipse has its name changed and I'm a bit angry with that
> Second, does it ask me for a serial when I launch my Eclipse and it
has a
> lot of problem to be launched ?
> 
> Regards,
> 
> Cedric
> 
> - Original Message -
> From: "Carlos Chang" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" 
> Sent: Wednesday, February 02, 2005 11:09 PM
> Subject: [ANN] Free JSP Editor for Eclipse
> 
> 
> Dear Java Developer,
> 
> For a limited time, M7 is offering the NitroX JSP Editor for Eclipse
for
> FREE!*
> Download: http://www.m7.com/free
> 
> NitroX has received top scores from industry reviewers such as SD
> Magazine, CRN, JavaBoutique, and is officially a finalist for the
> upcoming Jolt Product Excellence Award for Best Web Development Tool
of
> the Year.
> 
> The NitroX JSP Editor provides the following features:
> 
> * Professional JSP source editor
> * Simultaneous 2-way source and visual JSP editors
> * JSP 2.0 (including EL) - Unequaled!
> * JSTL
> * Grapical editor for TLDs
> * Graphical editor for web.xml
> * Code completion
> * Custom tag library support
> * + much more
> * and it's FREE!
> 
> Act now because this offer is available only for a limited time.
> 
> Thank you,
> 
> 
> M7 Team
> 
> * Restrictions apply; please see license agreement for details.
> FREE = No cost, gratuit, gratis, frei, libero...ok, there is a catch;
> this offer is only for a limited time. ;-)
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: Error Pages

2005-02-02 Thread Tim Christopher
Cheers for the suggestion, but that wasn't it :o(

I've noticed though that if the location of the error page is a *.do
file that exists, then it always shows the above error (and fails to
load the page)...  If the requested page is a *.jsp then it doesn't
show the error page, however the page still doesn't load.

It does, on occasions, decide to work properly  Though when I
click refresh or try to reload the page it decides not to work again.

Could this be anything to do with my IDE (JBuilder), as I'm really
running out of ideas as to what else it could be!


Note: Given the previous suggestion, all my recent attempts have been
done with an error.jsp file containing minimal info.


 
   error_page
 
 
   Error Page
 



On Mon, 31 Jan 2005 22:45:45 -0600, Kishore Senji <[EMAIL PROTECTED]> wrote:
> >
> > [EMAIL PROTECTED]: Exception
> > Processing ErrorPage[errorCode=404, location=/errors/404.do]
> > ClientAbortException:  java.net.SocketException: Software caused
> > connection abort: socket write error
> >at 
> > org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:331)
> >rest of stack dump...
> >
> > Here is what's in my files:
> >
> 
> May be 
> http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840241#3840241
> would help
>

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



RE: Upgraded to WebLogic 9.0beta - and my html-el:option stopped working

2005-02-02 Thread Richard Berger
David:

Thank you for the quick reply.  I have posted this on the BEA's beta
message board's (no response yet).  Tomorrow I will see if I can trace
this into the levels you have suggested.  Your assumption that I did not
change my app is correct - I just deployed it and was surprised to see
this behavior.

Thanks again,
RB 



Twenty Years | One Mission | Accelerating Business Processes 


Richard Berger 
Action Technologies, Inc. 
VP, Product Management 
510.638.8300 x228 (Office) 
510.638.8115 (Fax) 
www.actiontech.com
 

-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 02, 2005 2:20 PM
To: Struts Users Mailing List
Subject: RE: Upgraded to WebLogic 9.0beta - and my html-el:option
stopped working

Odd.  It almost seems like "html-el" is mapped to the plain Struts TLD,
and not the Struts-EL TLD.  You didn't give the impression that you
changed the app at all when you ported, so I don't expect that is
likely.

I would definitely trace this in a debugger.  I wonder if WL 9 isn't
correctly utilizing the BeanInfo class of the tag class.  It looks like
it's calling the base class setter method directly, instead of the EL
tag class setter method.  If that's the case, then it's definitely not
using the BeanInfo class.  You'll probably need to pursue this with BEA,
if that's the case.

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Richard Berger
> 
> I have code in a JSP that was working on WL 8.1 and JBoss 4.0, but 
> then stopped working on WL 9.0beta.
> 
> Here is the code:
> 
>  value="${user}"/>
> 
> It used to produce something like:
> Joe
> 
> But now it produces:
> Joe
> 
> Which of course breaks everything.
> 
> I have tried many different approaches, I have installed the latest 
> version of Struts (1.2.6), but nothing helps this problem.
> 
> I would be extremely grateful for any solution (or pointer) to this.
> 
> Thanks so much!!!
> RB
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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




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



Re: named anchor and form

2005-02-02 Thread draegoon Z
Thanks, your solution is exactly what I needed.
From: Wendy Smoak <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" 
To: Struts Users Mailing List 
Subject: Re: named anchor and form
Date: Wed, 02 Feb 2005 16:09:17 -0700
From: "draegoon Z" <[EMAIL PROTECTED]>
> Hey guys, the archive text search ability is temporarily down, sorry.
Both http://marc.theaimsgroup.com and http://www.mail-archive.com have this
list archived.
> Problem is: when the page returns/refreshes I'm at the top, the user is
> confused or has to scroll down.
> I know I could probably accomplish this with javascipt, but wondering if
> there is a struts solution.
I have a long page with options to hide/show different sections.  Hiding or
showing causes a round trip to the server, and I need to put the user back
where they clicked.  So... in the Action, I do:
request.setAttribute( "anchor", "someString" );
and then at the bottom of the JSP, so it won't get executed until the page
has loaded all the way...

document.location = "#";

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

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


Re: named anchor and form

2005-02-02 Thread Wendy Smoak
From: "draegoon Z" <[EMAIL PROTECTED]>

> Hey guys, the archive text search ability is temporarily down, sorry.

Both http://marc.theaimsgroup.com and http://www.mail-archive.com have this
list archived.

> Problem is: when the page returns/refreshes I'm at the top, the user is
> confused or has to scroll down.
> I know I could probably accomplish this with javascipt, but wondering if
> there is a struts solution.

I have a long page with options to hide/show different sections.  Hiding or
showing causes a round trip to the server, and I need to put the user back
where they clicked.  So... in the Action, I do:
request.setAttribute( "anchor", "someString" );

and then at the bottom of the JSP, so it won't get executed until the page
has loaded all the way...

document.location = "#";


HTH,
-- 
Wendy Smoak


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



RE: [ANN] Free JSP Editor for Eclipse

2005-02-02 Thread Abdullah Jibaly
Thanks for the warning, I'll make sure to backup Eclipse if/when I try this 
plugin...

-Abdullah

-Original Message-
From: Cedric Levieux [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 02, 2005 4:40 PM
To: Struts Users Mailing List
Subject: Re: [ANN] Free JSP Editor for Eclipse


Two things:

First, my Eclipse has its name changed and I'm a bit angry with that
Second, does it ask me for a serial when I launch my Eclipse and it has a
lot of problem to be launched ?

Regards,

Cedric

- Original Message - 
From: "Carlos Chang" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: Wednesday, February 02, 2005 11:09 PM
Subject: [ANN] Free JSP Editor for Eclipse


Dear Java Developer,

For a limited time, M7 is offering the NitroX JSP Editor for Eclipse for
FREE!*
Download: http://www.m7.com/free

NitroX has received top scores from industry reviewers such as SD
Magazine, CRN, JavaBoutique, and is officially a finalist for the
upcoming Jolt Product Excellence Award for Best Web Development Tool of
the Year.

The NitroX JSP Editor provides the following features:

* Professional JSP source editor
* Simultaneous 2-way source and visual JSP editors
* JSP 2.0 (including EL) - Unequaled!
* JSTL
* Grapical editor for TLDs
* Graphical editor for web.xml
* Code completion
* Custom tag library support
* + much more
* and it's FREE!

Act now because this offer is available only for a limited time.

Thank you,


M7 Team

* Restrictions apply; please see license agreement for details.
FREE = No cost, gratuit, gratis, frei, libero...ok, there is a catch;
this offer is only for a limited time. ;-)





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


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


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



RE: Struts Live POJO support opinon?

2005-02-02 Thread Jason Long
I intended to send this to the list.  Thank you for the prompt reply.  I
will defiantly look at FormDef.
*
I'm always suspectful of gmails' Reply to handling, so whenever
someone replies directly to me instead of the list, I ask if the
sender intended that.  If you wanna send this back to the list when/if
you reply, feel free.  Other people may want to offer other opinions
on the subject, raise other questions, or simply follow the
discussion.

> How close are we to having the POJO support in Struts classic? 
My opinion was just that, an opinion.  (An optimistic one, probably.) 
I'm not a Struts committer.  My opinion was just based on various
updates to the core the past year, as well as some committers' voiced
intentions on where they would like Struts to go.

>The features I like about this approach are the following:
> 
> 1.  Format and handle formatting in input fields.
> 2.  Specify actual Date objects in my form for ranges.
> 
> Can I do this easily with FormDef?

The answer is yes, though the approach is different from StrutsLive. 
FormDef uses Strings (as Struts recommends) in the actual form beans. 
However, its setFormValues() and getFormValues() (combined with
formatting info you provide it) will convert between your POJO's typed
fields and the form's string fields.  Keep in mind though that it
doesn't perform validation.  When a Struts Action executes, the
assumption (FormDef or not) is that the form contents are already
valid.

Hubert


On Wed, 2 Feb 2005 16:16:24 -0600, Jason Long
<[EMAIL PROTECTED]> wrote:
> The integration was not too painful, and I only have one form set up to
work
> anyway.  How close are we to having the POJO support in Struts classic?
The
> features I like about this approach are the following:
> 
> 1.  Format and handle formatting in input fields.
> 2.  Specify actual Date objects in my form for ranges.
> 
> Can I do this easily with FormDef?
> 
> Thank you for your time,
> 
> Jason Long
> CEO and Chief Software Engineer Supernova Software
> BS Physics, MS Chemical Engineering
> 
> -Original Message-
> From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 02, 2005 4:06 PM
> To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: Re: Struts Live POJO support opinon?
> 
> Disclaimer: I have my own POJO solution.
> 
> I haven't actually used StrutsLive in an application, all I've done so
> far was read the sample chapter posted on TSS:
> http://www.theserverside.com/news/thread.tss?thread_id=30690
> 
> It seems to me that the author is trying to *change* the way Struts
> handles requests, as opposed to working *with* it.  For one thing,
> Struts has separate points for validation and conversion, StrutsLive
> wants to combine these in the name of saving processing cycles.
> Because StrutsLive is changing the nature of request handling, the
> changes it implements go much deeper than just your form beans.  What
> worries me is how compatible it will be with future Struts
> changes/development.  On the other hand, Struts is already changing to
> be much more accomodating to the types of customization that
> StrutsLive is doing, so this may not be as big an issue as I initially
> thought it could be.
> 
> I guess I just didn't agree with the approach he took, but that
> definitely doesn't mean his approach is wrong or isn't better than
> mine.  It's just a difference of opinion.  Since you asked for
> *opinions*, I'm shared mine.  (More of my opinions on the TSS thread,
> btw.)
> 
> The way I solved it is with FormDef.  It also has a java.net site,
> which means the page is also down.  https://formdef.dev.java.net/
> There's another site for it though:
> http://www.rabago.net/struts/formdef/
> 
> FormDef uses standard Struts objects to define form beans that are no
> different than if you'd defined them yourself using struts-config.xml.
> You can use them with BeanUtils or FormDef's included converters.
> 
> Other ways of solving it include using lazy dyna beans and the wrap
> dyna bean combined with custom date converters for BeanUtils.
> 
> Now, another project or plugin may not be what you wanted, since
> you've already integrated it into your app.  My advice would be
> continue to use it since it meets your needs.  After all, it may be
> that none of the existing approaches will meet your needs 100% anyway
> and carry no risks.  IMO we're closer to POJO support being built into
> Struts Classic than we ever were, and when that point comes, you're
> gonna be thinking about redoing it all again anyway.  Unless of course
> they decide to just integrate the solution you've already chosen to
> use.  :)
> 
> Hubert
> 
> On Wed, 2 Feb 2005 15:17:55 -0600, Jason Long
> <[EMAIL PROTECTED]> wrote:
> > The application I am building uses value objects generated from ejbs
with
> > xdoclet in my forms.  This was working quite will until I tried to have
a
> > java.util.Date as one of

RE: Struts Live POJO support opinon?

2005-02-02 Thread Jason Long
I intended to send this to the list.  Thank you for the prompt reply.  I
will defiantly look at FormDef.
*
I'm always suspectful of gmails' Reply to handling, so whenever
someone replies directly to me instead of the list, I ask if the
sender intended that.  If you wanna send this back to the list when/if
you reply, feel free.  Other people may want to offer other opinions
on the subject, raise other questions, or simply follow the
discussion.

> How close are we to having the POJO support in Struts classic? 
My opinion was just that, an opinion.  (An optimistic one, probably.) 
I'm not a Struts committer.  My opinion was just based on various
updates to the core the past year, as well as some committers' voiced
intentions on where they would like Struts to go.

>The features I like about this approach are the following:
> 
> 1.  Format and handle formatting in input fields.
> 2.  Specify actual Date objects in my form for ranges.
> 
> Can I do this easily with FormDef?

The answer is yes, though the approach is different from StrutsLive. 
FormDef uses Strings (as Struts recommends) in the actual form beans. 
However, its setFormValues() and getFormValues() (combined with
formatting info you provide it) will convert between your POJO's typed
fields and the form's string fields.  Keep in mind though that it
doesn't perform validation.  When a Struts Action executes, the
assumption (FormDef or not) is that the form contents are already
valid.

Hubert


On Wed, 2 Feb 2005 16:16:24 -0600, Jason Long
<[EMAIL PROTECTED]> wrote:
> The integration was not too painful, and I only have one form set up to
work
> anyway.  How close are we to having the POJO support in Struts classic?
The
> features I like about this approach are the following:
> 
> 1.  Format and handle formatting in input fields.
> 2.  Specify actual Date objects in my form for ranges.
> 
> Can I do this easily with FormDef?
> 
> Thank you for your time,
> 
> Jason Long
> CEO and Chief Software Engineer Supernova Software
> BS Physics, MS Chemical Engineering
> 
> -Original Message-
> From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 02, 2005 4:06 PM
> To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: Re: Struts Live POJO support opinon?
> 
> Disclaimer: I have my own POJO solution.
> 
> I haven't actually used StrutsLive in an application, all I've done so
> far was read the sample chapter posted on TSS:
> http://www.theserverside.com/news/thread.tss?thread_id=30690
> 
> It seems to me that the author is trying to *change* the way Struts
> handles requests, as opposed to working *with* it.  For one thing,
> Struts has separate points for validation and conversion, StrutsLive
> wants to combine these in the name of saving processing cycles.
> Because StrutsLive is changing the nature of request handling, the
> changes it implements go much deeper than just your form beans.  What
> worries me is how compatible it will be with future Struts
> changes/development.  On the other hand, Struts is already changing to
> be much more accomodating to the types of customization that
> StrutsLive is doing, so this may not be as big an issue as I initially
> thought it could be.
> 
> I guess I just didn't agree with the approach he took, but that
> definitely doesn't mean his approach is wrong or isn't better than
> mine.  It's just a difference of opinion.  Since you asked for
> *opinions*, I'm shared mine.  (More of my opinions on the TSS thread,
> btw.)
> 
> The way I solved it is with FormDef.  It also has a java.net site,
> which means the page is also down.  https://formdef.dev.java.net/
> There's another site for it though:
> http://www.rabago.net/struts/formdef/
> 
> FormDef uses standard Struts objects to define form beans that are no
> different than if you'd defined them yourself using struts-config.xml.
> You can use them with BeanUtils or FormDef's included converters.
> 
> Other ways of solving it include using lazy dyna beans and the wrap
> dyna bean combined with custom date converters for BeanUtils.
> 
> Now, another project or plugin may not be what you wanted, since
> you've already integrated it into your app.  My advice would be
> continue to use it since it meets your needs.  After all, it may be
> that none of the existing approaches will meet your needs 100% anyway
> and carry no risks.  IMO we're closer to POJO support being built into
> Struts Classic than we ever were, and when that point comes, you're
> gonna be thinking about redoing it all again anyway.  Unless of course
> they decide to just integrate the solution you've already chosen to
> use.  :)
> 
> Hubert
> 
> On Wed, 2 Feb 2005 15:17:55 -0600, Jason Long
> <[EMAIL PROTECTED]> wrote:
> > The application I am building uses value objects generated from ejbs
with
> > xdoclet in my forms.  This was working quite will until I tried to have
a
> > java.util.Date as one of

Re: [ANN] Free JSP Editor for Eclipse

2005-02-02 Thread Cedric Levieux
Two things:

First, my Eclipse has its name changed and I'm a bit angry with that
Second, does it ask me for a serial when I launch my Eclipse and it has a
lot of problem to be launched ?

Regards,

Cedric

- Original Message - 
From: "Carlos Chang" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: Wednesday, February 02, 2005 11:09 PM
Subject: [ANN] Free JSP Editor for Eclipse


Dear Java Developer,

For a limited time, M7 is offering the NitroX JSP Editor for Eclipse for
FREE!*
Download: http://www.m7.com/free

NitroX has received top scores from industry reviewers such as SD
Magazine, CRN, JavaBoutique, and is officially a finalist for the
upcoming Jolt Product Excellence Award for Best Web Development Tool of
the Year.

The NitroX JSP Editor provides the following features:

* Professional JSP source editor
* Simultaneous 2-way source and visual JSP editors
* JSP 2.0 (including EL) - Unequaled!
* JSTL
* Grapical editor for TLDs
* Graphical editor for web.xml
* Code completion
* Custom tag library support
* + much more
* and it's FREE!

Act now because this offer is available only for a limited time.

Thank you,


M7 Team

* Restrictions apply; please see license agreement for details.
FREE = No cost, gratuit, gratis, frei, libero...ok, there is a catch;
this offer is only for a limited time. ;-)





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


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



RE: Upgraded to WebLogic 9.0beta - and my html-el:option stopped working

2005-02-02 Thread Karr, David
Odd.  It almost seems like "html-el" is mapped to the plain Struts TLD,
and not the Struts-EL TLD.  You didn't give the impression that you
changed the app at all when you ported, so I don't expect that is
likely.

I would definitely trace this in a debugger.  I wonder if WL 9 isn't
correctly utilizing the BeanInfo class of the tag class.  It looks like
it's calling the base class setter method directly, instead of the EL
tag class setter method.  If that's the case, then it's definitely not
using the BeanInfo class.  You'll probably need to pursue this with BEA,
if that's the case.

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Richard Berger
> 
> I have code in a JSP that was working on WL 8.1 and JBoss 
> 4.0, but then stopped working on WL 9.0beta.  
> 
> Here is the code:
> 
>  value="${user}"/>
> 
> It used to produce something like:
> Joe
> 
> But now it produces:
> Joe
> 
> Which of course breaks everything.
> 
> I have tried many different approaches, I have installed the 
> latest version of Struts (1.2.6), but nothing helps this problem.
> 
> I would be extremely grateful for any solution (or pointer) to this.
> 
> Thanks so much!!!
> RB
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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



named anchor and form

2005-02-02 Thread draegoon Z
Hey guys, the archive text search ability is temporarily down, sorry.
I have a JSP page with an html:form that on the bottom has location fields, 
i.e. state/city.

Now I have chosen to have the states prepopulated, however, when someone 
selects a state, the form submits and a hidden field serves as a flag to 
populate the cities for that state and return.

Problem is: when the page returns/refreshes I'm at the top, the user is 
confused or has to scroll down.
I know I could probably accomplish this with javascipt, but wondering if 
there is a struts solution.

Keep in mind that even if I have a named anchor lower in the page, the user 
is scrolling down, so it doesn't get clicked. And I think, getInputMapping() 
would the info anyways, but have yet to check for certain.

Thanks.

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


RE: Indexed Properties

2005-02-02 Thread Nigel Furber
Using the nested version of tags rather than html and logic worked for me.

See http://www.keyboardmonkey.com/next/index.jsp, they have some examples

and the normal Struts how-tos.

Nigel Furber


-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Peter Wu
Sent: 02 February 2005 20:41
To: user@struts.apache.org
Subject: Re: Indexed Properties


Peter Wu  gmail.com> writes:

> 
>  0-19
>  20-49
>  50-
>

This one works fine now.

> 
> 

hour[i][j] does not work.


How to make a 2-dimensional array work with Struts? Thanks in advance!


Peter


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



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



Re: Struts Live POJO support opinon?

2005-02-02 Thread Hubert Rabago
Disclaimer: I have my own POJO solution.  

I haven't actually used StrutsLive in an application, all I've done so
far was read the sample chapter posted on TSS:
http://www.theserverside.com/news/thread.tss?thread_id=30690

It seems to me that the author is trying to *change* the way Struts
handles requests, as opposed to working *with* it.  For one thing,
Struts has separate points for validation and conversion, StrutsLive
wants to combine these in the name of saving processing cycles. 
Because StrutsLive is changing the nature of request handling, the
changes it implements go much deeper than just your form beans.  What
worries me is how compatible it will be with future Struts
changes/development.  On the other hand, Struts is already changing to
be much more accomodating to the types of customization that
StrutsLive is doing, so this may not be as big an issue as I initially
thought it could be.

I guess I just didn't agree with the approach he took, but that
definitely doesn't mean his approach is wrong or isn't better than
mine.  It's just a difference of opinion.  Since you asked for
*opinions*, I'm shared mine.  (More of my opinions on the TSS thread,
btw.)

The way I solved it is with FormDef.  It also has a java.net site,
which means the page is also down.  https://formdef.dev.java.net/ 
There's another site for it though:
http://www.rabago.net/struts/formdef/

FormDef uses standard Struts objects to define form beans that are no
different than if you'd defined them yourself using struts-config.xml.
 You can use them with BeanUtils or FormDef's included converters.

Other ways of solving it include using lazy dyna beans and the wrap
dyna bean combined with custom date converters for BeanUtils.

Now, another project or plugin may not be what you wanted, since
you've already integrated it into your app.  My advice would be
continue to use it since it meets your needs.  After all, it may be
that none of the existing approaches will meet your needs 100% anyway
and carry no risks.  IMO we're closer to POJO support being built into
Struts Classic than we ever were, and when that point comes, you're
gonna be thinking about redoing it all again anyway.  Unless of course
they decide to just integrate the solution you've already chosen to
use.  :)


Hubert


On Wed, 2 Feb 2005 15:17:55 -0600, Jason Long
<[EMAIL PROTECTED]> wrote:
> The application I am building uses value objects generated from ejbs with
> xdoclet in my forms.  This was working quite will until I tried to have a
> java.util.Date as one of my fields.  I recently purchased StrutsLIve.  The
> project can be found at https://strutslive.dev.java.net/, but it was down at
> the time of this email.  This addon seems to solve my POJO problem, but I
> would like to get others opinions on this.  My project is behind schedule
> and I cannot afford to have this addon turn out to be limiting after I
> integrated it into the many forms I have.  I would like any opinions on the
> best way to solve this problem.
> 
> Thank you for your time,
> 
> Jason Long
> 
> CEO and Chief Software Engineer Supernova Software
> 
> BS Physics, MS Chemical Engineering
> 
> http://www.supernovasoftware.com 
> 
>

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



[ANN] Free JSP Editor for Eclipse

2005-02-02 Thread Carlos Chang
Dear Java Developer,

For a limited time, M7 is offering the NitroX JSP Editor for Eclipse for
FREE!*  
Download: http://www.m7.com/free

NitroX has received top scores from industry reviewers such as SD
Magazine, CRN, JavaBoutique, and is officially a finalist for the
upcoming Jolt Product Excellence Award for Best Web Development Tool of
the Year.

The NitroX JSP Editor provides the following features:

* Professional JSP source editor
* Simultaneous 2-way source and visual JSP editors
* JSP 2.0 (including EL) - Unequaled!
* JSTL
* Grapical editor for TLDs
* Graphical editor for web.xml
* Code completion
* Custom tag library support
* + much more
* and it's FREE!

Act now because this offer is available only for a limited time.

Thank you,


M7 Team

* Restrictions apply; please see license agreement for details. 
FREE = No cost, gratuit, gratis, frei, libero...ok, there is a catch;
this offer is only for a limited time. ;-)





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



Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Ted Husted
On Wed, 02 Feb 2005 13:31:28 -0500, Alex Kravets wrote:
> Ted,
>
> I hope you don't think that we (well me at least) seem to be
> accusation in our e-mails. That is not the case. I am just sharing
> my thoughts on where this or that approach might lead in the
> future. It might sound unappreciative when guys spend thousands of
> hours perfecting/making better something and other guys try to
> critique it without knowing what labor was put into this work, but
> that's the nature of users: bitch, bitch, bitch (I know it myself).
> No hard feeling I hope :)


I just get confused when people seem to abscribe our motivations to economic or 
competitive forces.

It's not like that. We write stuff so that we can use it ourselves, and then 
share what we write with the group, who help us improve it.

Marketshare and capitalism have little or nothing to do with it.

Case in point. I'm doing a private class on Advanced Struts next week. Client 
put "alternatives to Struts" on the agenda. Since client is in Boston, I pinged 
Howard Lewis Ship, and he's going to do a session on Tapestry and Hivemind for 
us.

We're all friends here. :)

Of course, if choice is an issue for someone, there's always .NET/Mono. :)

But, I can tell you, even on a MS-dominanted platform, choice is rampant. It 
may not be as high-level as choosing between Struts or Tapestry, but it's 
there. And, as we continue to port Java-bred libraries, like iBATIS and Lucene, 
to .NET/Mono, more and more choice will rear its head.

Why is there choice?

Not because of capitalism or competition. There's no reason why we would want 
to "compete" with Tapestry or WebWorks. These frameworks are all free. There's 
little or no profit motive. Moreover, it's not hard to become a committer on an 
open source project if you are willing to do the work.

There's choice because writing applications is still way too much work, and 
we're still finding better ways to bang the rock together. Finding new ways 
means choosing between between them, at least until time and evolution have a 
chance to sort it all out.

Does anyone know the absolutely best way to to write an web application?

I hope not! Given how I still spend my days, I'm hoping we haven't invented it 
yet. :)

And, I wager by the time we do, years from now, someone will have reinvented 
the web, and we'll have to start all over again. :(

-Ted.



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



Pass logic:iterate bean into tile problem?

2005-02-02 Thread Jason Long
I have been trying to do the following in my layout with out success.

 

  

  



  



 

But I am forced to use jsp:directive.include file because I cannot get
importAttribute and useAttribute set up correctly.  How can pass the
shipment bean to the page fragment by using tiles and not the jsp:directive
:include?

 

  

  



  



 

Thank you for your time,

 

Jason Long

CEO and Chief Software Engineer Supernova Software

BS Physics, MS Chemical Engineering 

 

 

 

 



Pass logic:iterate bean into tile problem?

2005-02-02 Thread Jason Long
I have been trying to do the following in my layout with out success.

 

  

  



  



 

But I am forced to use jsp:directive.include file because I cannot get
importAttribute and useAttribute set up correctly.  How can pass the
shipment bean to the page fragment by using tiles and not the jsp:directive
:include?

 

  

  



  



 

Thank you for your time,

 

Jason Long

CEO and Chief Software Engineer Supernova Software

BS Physics, MS Chemical Engineering 

 

 

 

 



Struts Live POJO support opinon?

2005-02-02 Thread Jason Long
The application I am building uses value objects generated from ejbs with
xdoclet in my forms.  This was working quite will until I tried to have a
java.util.Date as one of my fields.  I recently purchased StrutsLIve.  The
project can be found at https://strutslive.dev.java.net/, but it was down at
the time of this email.  This addon seems to solve my POJO problem, but I
would like to get others opinions on this.  My project is behind schedule
and I cannot afford to have this addon turn out to be limiting after I
integrated it into the many forms I have.  I would like any opinions on the
best way to solve this problem.

 

Thank you for your time,

 

Jason Long

CEO and Chief Software Engineer Supernova Software

BS Physics, MS Chemical Engineering 

http://www.supernovasoftware.com  

 



Struts Live POJO support opinon?

2005-02-02 Thread Jason Long
The application I am building uses value objects generated from ejbs with
xdoclet in my forms.  This was working quite will until I tried to have a
java.util.Date as one of my fields.  I recently purchased StrutsLIve.  The
project can be found at https://strutslive.dev.java.net/, but it was down at
the time of this email.  This addon seems to solve my POJO problem, but I
would like to get others opinions on this.  My project is behind schedule
and I cannot afford to have this addon turn out to be limiting after I
integrated it into the many forms I have.  I would like any opinions on the
best way to solve this problem.

 

Thank you for your time,

 

Jason Long

CEO and Chief Software Engineer Supernova Software

BS Physics, MS Chemical Engineering 

http://www.supernovasoftware.com  

 



Re: Indexed Properties

2005-02-02 Thread Peter Wu
Peter Wu  gmail.com> writes:

> 
>  0-19
>  20-49
>  50-
>

This one works fine now.

> 
> 

hour[i][j] does not work.


How to make a 2-dimensional array work with Struts? Thanks in advance!


Peter


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



Upgraded to WebLogic 9.0beta - and my html-el:option stopped working

2005-02-02 Thread Richard Berger
I have code in a JSP that was working on WL 8.1 and JBoss 4.0, but then stopped
working on WL 9.0beta.  

Here is the code:



It used to produce something like:
Joe

But now it produces:
Joe

Which of course breaks everything.

I have tried many different approaches, I have installed the latest version of
Struts (1.2.6), but nothing helps this problem.

I would be extremely grateful for any solution (or pointer) to this.

Thanks so much!!!
RB


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



Re: open new window form struts action

2005-02-02 Thread [EMAIL PROTECTED]
Ashish Kulkarni wrote:
Hi
can we open a new window from action class?
i dont want to use 

target="_blank">
as i want to be able to open this new window from any
form( i have a menu option which can be executed from
any page of my website)
Basically i have a java script which looks like this
TheNewWin = window.open(url, '',
config='height='+height+', width='+width+',
toolbar=no, menubar=no,scrollbars=no,resizable=no,
location=no,directories=no, status=no
,offscreenBuffering=false');

Ashish
 

Try:


   Wolfgang
		
__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 


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


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


Indexed Properties

2005-02-02 Thread Peter Wu
Hi group,

I'm using Struts 1.2.4 w/ Tomcat 5.5.4. I'm designing a page that contains a 
grid of cells, like an Excel sheet.

In the grid, there are a couple of cells, which could textboxes.

In the JSP, I put the following tags.






 0-19
 20-49
 50-
   







 0-19
 20-49
 50-
   






This is just an example. I want to have a project[] array and a hour[][] array 
to contain necessary information so that in the backend, I only need to 
process arrays instead of something like project0, project1, hour00, hour10.


I tried to put something as follows in the ActionForm, but no luck.

 private String[] project = new String[2];
private double[][] hour = new double[2][2];

 public double getHour(int i, int j) {
return this.hour[i][j];
}

public void setHour(int i, int j, double hour) {
this.hour[i][j] = hour;
}

public String getProject(int i) {
return this.project[i];
}

public void setProject(int i, String project) {
this.project[i] = project;
}


I googled some examples but they are for Struts 1.1. Your help would be 
appreciated. Thanks.


Peter


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



Advanced Search Form Technique

2005-02-02 Thread CRANFORD, CHRIS
I wanted to ping the group to get some advice on what others would think is
the best way to handle doing a search form like as follows:

Item Number: [comboboxA1] [comboboxB2] [textbox1] [comboboxC3]
 [comboboxA4] [comboboxB5] [textbox2] [comboboxC6]
 [comboboxA7] [comboboxB8] [textbox3] 
Description: [comboboxB9] 
 [textbox4] [comboboxCA]
 [textbox5] [comboboxCB]
 [textbox6] 
Mfg. Name  : [comboboxAC] [textbox7]

The possible values in the combo boxes are:

ComboboxA?  ComboboxB?  ComboboxC?
 [empty] [Contains]  [and]
 [All]   [Begins With]   [or]
 [Customer Item Number]  [Ends With]
 [Procurement Item Number]   [Exact]
 [Vendor Item Number]

This form essentially gives the user the ability to search for parts in our
database by saying something such as WHERE "customer item number contains
XYZ or vendor item number begins with RM" AND "description contains spare or
description contains bolt".

If someone has built similar forms in the past, how did you implement this
so that it would be flexible and extendable for more fields or more
criteria.

Thanks
Chris

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



Re: question about form buttons

2005-02-02 Thread Norris Shelton
I eventually struggled through this.  Here is what I ended up
with:









clearFields is a js method that knows the default values for a
blank form.

--- Norris Shelton <[EMAIL PROTECTED]> wrote:

> I need 3 buttons 
> 1) normal submit button - works correctly - yeah
> 
> 
> 
> 2) reset button - press this and any changes since the last
> form
> submit are removed
> Tried (displayed image, but submitted:
> 
> used (resets correctly, but no image:
> 
> 
> 3) clear button - runs some javascript to blank all of the
> fields.
> Displays image correctly, clears form, but submits.
>  onclick="clearFields();return false;"/>
> A complicating factor is that all of these need to be images.
> 
> =
> 
> Norris Shelton
> Software Engineer
> Sun Certified Java 1.1 Programmer
> Appriss, Inc.
> ICQ# 26487421
> AIM NorrisEShelton
> YIM norrisshelton
> 
> 
> 
>   
> __ 
> Do you Yahoo!? 
> Yahoo! Mail - now with 250MB free storage. Learn more.
> http://info.mail.yahoo.com/mail_250
> 
>
-
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


=

Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton




__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

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



struts 1.2.4 + tomcat 5.5.7 difficulties

2005-02-02 Thread Vincent
Hello All,
Not sure if this is a tomcat issue or a struts one.
After migrating from tomcat 5.0.30 to version 5.5.7
I get this error from my webapp when I try to do . I tried to break it 
up to make it more readable:

WARN http-8080-Processor25 
org.apache.catalina.authenticator.FormAuthenticator - Unexpected error 
forwarding to login page

org.apache.jasper.JasperException: Unable to read  TLD
"META-INF/tlds/struts-tiles.tld" from JAR file
"file:/usr/local/tomcat/work/Catalina/localhost/_/WEB-INF/lib/struts.jar":
org.apache.jasper.JasperException: Failed to load or instantiate
TagExtraInfo class: org.apache.struts.taglib.tiles.UseAttributeTei
Can someone tell which jar file contains 
org.apache.struts.taglib.tiles.UseAttributeTei? because I don't see it
when I unjar struts.jar

Again this is struts 1.2.4 and tomcat 5.5.7 (configured for jdk 1.4.2)
Thanks,
Vinny
--
Plato is my friend, Aristotle is my friend,
but my greatest friend is truth.
- Isaac Newton
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Alex Kravets
Ted,
I hope you don't think that we (well me at least) seem to be accusation 
in our e-mails. That is not the case. I am just sharing my thoughts on 
where this or that approach might lead in the future. It might sound 
unappreciative when guys spend thousands of hours perfecting/making 
better something and other guys try to critique it without knowing what 
labor was put into this work, but that's the nature of users: bitch, 
bitch, bitch (I know it myself). No hard feeling I hope :)

Ted Husted wrote:
I don't think anyone is out to prove or disprove anything. 

Craig saw a cool way to implement a front controller for JavaServer Faces, so he posted some proof-of-concept code. Other people starting making contributions. A community is growing up around the codebase, so we made it a subproject. That's really all there is to it. 

You know, guys, most of the committers are working stiffs, just like you. We find ways that help us write our own applications, and we share them with the community. We're not sitting around trying to come up with "The Next Big Thing" and move another million of copies of Struts. We're just trying to ship our next application, while we maintain the ones we already go, just like you. 

Craig thinks JSF and Shale is a great way to write Java Web applications, and 
other people are starting to agree with him. That's not to say there are not 
other great ways to write applications. Tapestry is one. Maverick, Spring MVC,  
and WebWorks are others.
-Ted.
On Wed, 02 Feb 2005 09:34:54 -0500, Alex Kravets wrote:
 

Ted, Graig,
So was Struts Shale made to make programmer's life easier in
creating Web Applications using MVC Framework? I've read some
posts/blogs where people who've used Struts and now use Tapestry
say that they will never go back to Struts again. Is this what
Struts Shale tries to change/disprove?
Ted Husted wrote:
   

On Mon, 31 Jan 2005 17:03:09 -0500, Alex Kravets wrote:
 

So what do you guys think?
http://www.theserverside.com/news/thread.tss?thread_id=31509
   

An important clarification we'll make to the FAQ is that "by
doing our job right" we mean "not break backward compatibility"
in the ongoing 1.x series.
There's more than a few things that people want to do with Struts
1.x yet. We're approaching Struts 1.3, and already, the Milestone
page [http://struts.apache.org/milestones.html] is looking
forward to Struts 1.6.
If need be, we can go on to Struts 1.42 or Struts 1.2025. If
there's interest, there could be another five, ten, or fifty
years of Struts 1.x development.
A year ago, we talked about a Struts 2.x revolution to give us a
clean start on the codebase. But, most everyone wanted to evolve
the Struts 1.x codebase instead.
So, that's what we are doing: evolving Struts 1.x, step by step,
innovation by innovation, deprecation by deprecation :)
If we never break backward compatibility, and we never start a
new codebase, then we never need to roll the major version number.
Meanwhile, another potentially great framework has come along:
Shale. Like Struts, Shale is MVC web framework, but it doesn't
share any code or architectural hallmarks with Struts 1.x. We
could call it Struts 2.x, but we could also fork Maverick, Spring
MVC, Tapestry, or WebWork and call any of those Struts 2.x, if
that's what the community wanted.
But, as near as we can tell, that's not what they community
wants. The volunteers are showing by their commits that we want
to evolve Struts 1.x and, at the same time, also work on Shale
1.x.
As someone mentioned elsewhere: different strokes for different
folks: different technologies for different requirements.
People wanted to do both and proved it with their commits. So
both is what we are doing :)
And, if someone comes up with a third thing, based on dynamic
ECMA Script or something, maybe we'll do that too. :)
-Ted.
--
--- To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



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



Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Ted Husted
I don't think anyone is out to prove or disprove anything.

Craig saw a cool way to implement a front controller for JavaServer Faces, so 
he posted some proof-of-concept code. Other people starting making 
contributions. A community is growing up around the codebase, so we made it a 
subproject. That's really all there is to it.

You know, guys, most of the committers are working stiffs, just like you. We 
find ways that help us write our own applications, and we share them with the 
community. We're not sitting around trying to come up with "The Next Big Thing" 
and move another million of copies of Struts. We're just trying to ship our 
next application, while we maintain the ones we already go, just like you.

Craig thinks JSF and Shale is a great way to write Java Web applications, and 
other people are starting to agree with him. That's not to say there are not 
other great ways to write applications. Tapestry is one. Maverick, Spring MVC,  
and WebWorks are others.

-Ted.

On Wed, 02 Feb 2005 09:34:54 -0500, Alex Kravets wrote:
> Ted, Graig,
>
> So was Struts Shale made to make programmer's life easier in
> creating Web Applications using MVC Framework? I've read some
> posts/blogs where people who've used Struts and now use Tapestry
> say that they will never go back to Struts again. Is this what
> Struts Shale tries to change/disprove?
>
> Ted Husted wrote:
>
>> On Mon, 31 Jan 2005 17:03:09 -0500, Alex Kravets wrote:
>>
>>
>>> So what do you guys think?
>>> http://www.theserverside.com/news/thread.tss?thread_id=31509
>>>
>>>
>> An important clarification we'll make to the FAQ is that "by
>> doing our job right" we mean "not break backward compatibility"
>> in the ongoing 1.x series.
>>
>> There's more than a few things that people want to do with Struts
>> 1.x yet. We're approaching Struts 1.3, and already, the Milestone
>> page [http://struts.apache.org/milestones.html] is looking
>> forward to Struts 1.6.
>>
>> If need be, we can go on to Struts 1.42 or Struts 1.2025. If
>> there's interest, there could be another five, ten, or fifty
>> years of Struts 1.x development.
>>
>> A year ago, we talked about a Struts 2.x revolution to give us a
>> clean start on the codebase. But, most everyone wanted to evolve
>> the Struts 1.x codebase instead.
>>
>> So, that's what we are doing: evolving Struts 1.x, step by step,
>> innovation by innovation, deprecation by deprecation :)
>>
>> If we never break backward compatibility, and we never start a
>> new codebase, then we never need to roll the major version number.
>>
>> Meanwhile, another potentially great framework has come along:
>> Shale. Like Struts, Shale is MVC web framework, but it doesn't
>> share any code or architectural hallmarks with Struts 1.x. We
>> could call it Struts 2.x, but we could also fork Maverick, Spring
>> MVC, Tapestry, or WebWork and call any of those Struts 2.x, if
>> that's what the community wanted.
>>
>> But, as near as we can tell, that's not what they community
>> wants. The volunteers are showing by their commits that we want
>> to evolve Struts 1.x and, at the same time, also work on Shale
>> 1.x.
>>
>> As someone mentioned elsewhere: different strokes for different
>> folks: different technologies for different requirements.
>>
>> People wanted to do both and proved it with their commits. So
>> both is what we are doing :)
>>
>> And, if someone comes up with a third thing, based on dynamic
>> ECMA Script or something, maybe we'll do that too. :)
>>
>> -Ted.
>>
>>
>> --
>> --- To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]




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



Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Alex Kravets
True. Choice is good. The whole notion of capitalism is based on this. 
Choice is a product of competition, and when there is competition better 
products come out as a result of competition between number of other 
products. Indeed choice is good.

Woodchuck wrote:
hihi all,
just want to add my 2 cents
i think it's simply a time issue.  if i had time, naturally i'd like to
evaluate all possible choices before deciding which framework to use. 
but given the amount of framework spin-offs we have these days, it's a
luxury not many ppl will have.

think about a new java web app developer starting out right now.  with
all the choices he/she faces, can you blame them for asking "which is
most popular?".  going with the flow is a natural response when
individuals don't have the time to thoroughly investigate all the
frameworks to come to their own decision.  and even if someone did take
the time to investigate all frameworks for their particular project, it
would not surprising that their opinion may change later on. 
evaluating frameworks thoroughly is not a trivial task, you need to
spend the time to really discover the strengths/weaknesses for any
project of reasonable size.

choice is good.  sure.  but i also think there's confusion when there
is so many ways to do the same thing.  this is the irony that will
always be there.  i think feeling 'overwhelmed' would be a safe
assumption for anyone starting out right now.
woodchuck
--- Alex Kravets <[EMAIL PROTECTED]> wrote:
 

Well I think 70% is a little bit too much 

   

http://www.manageability.org/polls/what-is-the-best-java-web-framework
 

   Accroding to latest "market share" reportring (by Raible) Struts
is 
like 70% of market share. (Having said that, I wish that people that
use 
Struts becuase it's popular go away, one should use own judgment;
if 
everyone used EJB, would you use that too? or would you jump of a 
bridge? Waren Buffet has a book and a chapter on Lemmings)

But at the end of the day most people tend to learn 
languages/platforms/frameworks that are in demand (remember when HTML

coders were payed $70K?). Most people will not spend time on learning
something that they think/know is good but the rest of the world does
not, because most people do what they do to support themselves 
financially. The rest of does it because they are scientists.

Vic wrote:
   

I know you asked Ted/Craig but Tapestry is a Apache project, like 
Struts, a good framework that is View centric, home page says: " 
Tapestry is an alternative to scripting environments such as 
JavaServer Pages or Velocity"
Accroding to latest "market share" reportring (by Raible) Struts is
 

like 70% of market share. (Having said that, I wish that people
 

that 
   

use Struts becuase it's popular go away, one should use own
 

judgment; 
   

if everyone used EJB, would you use that too? or would you jump of
 

a 
   

bridge? Waren Buffet has a book and a chapter on Lemmings)
Even if Struts loses 10% every year, that would make it say 5% or
 

3%, 
   

or 1% say in many years.
Tapestry, JSF, WebWorks, Symphony, etc.  are all fine comunities
 

that 
   

have that kind of a market share, so it would not be bad at all.
 

(and 
   

then all the questions about is this the most pouplar one would go
 

away).
   

WHICH ONE FITS YOU NEEDS BEST BASED ON YOUR ANAYLSIS?
(It's a bit like sayind what method call you you call in your code?
 

I'ts up to you).
Alex Kravets wrote:
 

Ted, Graig,
've read some posts/blogs where people who've used Struts and now
   

use 
   

Tapestry say that they will never go back to Struts again.
   

see above. If you have similar needs as them maybe you should do
 

that.
   

In 2000, http://barracudamvc.org/Barracuda/index.html would say
 

they 
   

are better and Turbine did; there was allways competition.
 

Is this what Struts Shale tries to change/disprove?
   

I hope not!!!
I feel like I am the old Lakers, #1, and everyone hates you. And
 

yes, 
   

I hate the Lakers. :-P
.V
 


		
__ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250

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



Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Woodchuck
hihi all,

just want to add my 2 cents

i think it's simply a time issue.  if i had time, naturally i'd like to
evaluate all possible choices before deciding which framework to use. 
but given the amount of framework spin-offs we have these days, it's a
luxury not many ppl will have.

think about a new java web app developer starting out right now.  with
all the choices he/she faces, can you blame them for asking "which is
most popular?".  going with the flow is a natural response when
individuals don't have the time to thoroughly investigate all the
frameworks to come to their own decision.  and even if someone did take
the time to investigate all frameworks for their particular project, it
would not surprising that their opinion may change later on. 
evaluating frameworks thoroughly is not a trivial task, you need to
spend the time to really discover the strengths/weaknesses for any
project of reasonable size.

choice is good.  sure.  but i also think there's confusion when there
is so many ways to do the same thing.  this is the irony that will
always be there.  i think feeling 'overwhelmed' would be a safe
assumption for anyone starting out right now.

woodchuck


--- Alex Kravets <[EMAIL PROTECTED]> wrote:

> Well I think 70% is a little bit too much 
>
http://www.manageability.org/polls/what-is-the-best-java-web-framework
> 
> Accroding to latest "market share" reportring (by Raible) Struts
> is 
> like 70% of market share. (Having said that, I wish that people that
> use 
> Struts becuase it's popular go away, one should use own judgment;
> if 
> everyone used EJB, would you use that too? or would you jump of a 
> bridge? Waren Buffet has a book and a chapter on Lemmings)
> 
> But at the end of the day most people tend to learn 
> languages/platforms/frameworks that are in demand (remember when HTML
> 
> coders were payed $70K?). Most people will not spend time on learning
> 
> something that they think/know is good but the rest of the world does
> 
> not, because most people do what they do to support themselves 
> financially. The rest of does it because they are scientists.
> 
> 
> Vic wrote:
> 
> > I know you asked Ted/Craig but Tapestry is a Apache project, like 
> > Struts, a good framework that is View centric, home page says: " 
> > Tapestry is an alternative to scripting environments such as 
> > JavaServer Pages or Velocity"
> > Accroding to latest "market share" reportring (by Raible) Struts is
> 
> > like 70% of market share. (Having said that, I wish that people
> that 
> > use Struts becuase it's popular go away, one should use own
> judgment; 
> > if everyone used EJB, would you use that too? or would you jump of
> a 
> > bridge? Waren Buffet has a book and a chapter on Lemmings)
> > Even if Struts loses 10% every year, that would make it say 5% or
> 3%, 
> > or 1% say in many years.
> > Tapestry, JSF, WebWorks, Symphony, etc.  are all fine comunities
> that 
> > have that kind of a market share, so it would not be bad at all.
> (and 
> > then all the questions about is this the most pouplar one would go
> away).
> >
> > WHICH ONE FITS YOU NEEDS BEST BASED ON YOUR ANAYLSIS?
> >
> > (It's a bit like sayind what method call you you call in your code?
> 
> > I'ts up to you).
> >
> > Alex Kravets wrote:
> >
> >> Ted, Graig,
> >> 've read some posts/blogs where people who've used Struts and now
> use 
> >> Tapestry say that they will never go back to Struts again.
> >
> >
> > see above. If you have similar needs as them maybe you should do
> that.
> > In 2000, http://barracudamvc.org/Barracuda/index.html would say
> they 
> > are better and Turbine did; there was allways competition.
> >
> >> Is this what Struts Shale tries to change/disprove?
> >
> >
> > I hope not!!!
> >
> > I feel like I am the old Lakers, #1, and everyone hates you. And
> yes, 
> > I hate the Lakers. :-P
> >
> > .V
> >
> >
> 




__ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250

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



Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Hubert Rabago
I guess it depends on which group of 700 people you ask, and also how
you ask the question:
http://www.onjava.com/pub/a/onjava/2004/05/19/2004-survey.html

"What are you using?" (the question asked by OnJava, and is what
market share would be based on) is different from "What is the best?"
(asked by the blog below), which is also different from "What is the
most appropriate for the application you're developing?" (which people
on a team should answer).


I wonder where Raible got his figures.


On Wed, 02 Feb 2005 10:50:27 -0500, Alex Kravets
<[EMAIL PROTECTED]> wrote:
> Well I think 70% is a little bit too much
> http://www.manageability.org/polls/what-is-the-best-java-web-framework
> 
> Accroding to latest "market share" reportring (by Raible) Struts is
> like 70% of market share. (Having said that, I wish that people that use
> Struts becuase it's popular go away, one should use own judgment; if
> everyone used EJB, would you use that too? or would you jump of a
> bridge? Waren Buffet has a book and a chapter on Lemmings)
> 
> But at the end of the day most people tend to learn
> languages/platforms/frameworks that are in demand (remember when HTML
> coders were payed $70K?). Most people will not spend time on learning
> something that they think/know is good but the rest of the world does
> not, because most people do what they do to support themselves
> financially. The rest of does it because they are scientists.
> 
> 
> Vic wrote:
> 
> > I know you asked Ted/Craig but Tapestry is a Apache project, like
> > Struts, a good framework that is View centric, home page says: "
> > Tapestry is an alternative to scripting environments such as
> > JavaServer Pages or Velocity"
> > Accroding to latest "market share" reportring (by Raible) Struts is
> > like 70% of market share. (Having said that, I wish that people that
> > use Struts becuase it's popular go away, one should use own judgment;
> > if everyone used EJB, would you use that too? or would you jump of a
> > bridge? Waren Buffet has a book and a chapter on Lemmings)
> > Even if Struts loses 10% every year, that would make it say 5% or 3%,
> > or 1% say in many years.
> > Tapestry, JSF, WebWorks, Symphony, etc.  are all fine comunities that
> > have that kind of a market share, so it would not be bad at all. (and
> > then all the questions about is this the most pouplar one would go away).
> >
> > WHICH ONE FITS YOU NEEDS BEST BASED ON YOUR ANAYLSIS?
> >
> > (It's a bit like sayind what method call you you call in your code?
> > I'ts up to you).
> >
> > Alex Kravets wrote:
> >
> >> Ted, Graig,
> >> 've read some posts/blogs where people who've used Struts and now use
> >> Tapestry say that they will never go back to Struts again.
> >
> >
> > see above. If you have similar needs as them maybe you should do that.
> > In 2000, http://barracudamvc.org/Barracuda/index.html would say they
> > are better and Turbine did; there was allways competition.
> >
> >> Is this what Struts Shale tries to change/disprove?
> >
> >
> > I hope not!!!
> >
> > I feel like I am the old Lakers, #1, and everyone hates you. And yes,
> > I hate the Lakers. :-P
> >
> > .V
> >
> >
> 
>

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



Re: mapping values in jsp

2005-02-02 Thread Bill Siggelkow
Abdullah Jibaly wrote:
Hi all,
Has anyone come across a good way to solve this issue using jstl? I want a 
clean way to map values and being able to define it within the jsp page. for 
example, if a bean property has a value of true, I want to get the output as 
'Yes'.
 -> outputs true or false
I know you can use a map, but is there a way to cleanly define it in the jsp 
page? If not what is the recommended way of doing it?
 -> outputs yes or no
Thanks in advance,
Abdullah
A straightforward approach would be ...
Yes
No
-Bill Siggelkow
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Vic
Alex Kravets wrote:
Well I think 70% is a little bit too much 
http://www.manageability.org/polls/what-is-the-best-java-web-framework

Yup, agree.
http://marc.theaimsgroup.com/?l=struts-user&m=98268169919293&w=2
http://marc.theaimsgroup.com/?l=struts-user&m=97660305929382&w=2
Here are some other Struts is dead threads in 2001.
Each framework is good at what it does.
.V
--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Accessing parameter map properties using JavaScript

2005-02-02 Thread Susan Bradeen
Ok, nevermind. Not going to use the Map properties. Using regular
formbean properties instead.

On Tue, 1 Feb 2005 11:46:42 -0500, Susan Bradeen <[EMAIL PROTECTED]> wrote:
> Yes, I checked the archives and google without any luck.
> 
> If I have a parameter map on my action form, how can I access the map
> properties using JavaScript? As an example, if the following creates
> an alert box with the text field value ...
> 
> 
> "javascript:alert(document.requestform.userField2.value)"/>
> 
> 
> It seems that this should work for a parameter map value ...
> 
> 
> "javascript:alert(document.requestform.udf2Map['fieldId'].value)"/>
> 
> 
> I've tried other syntax variations without success. Anyone know off
> the top of their head a correct way to do this?
> 
> Thanks,
> Susan
>

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



Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Alex Kravets
This should have been a quote:
 Accroding to latest "market share" reportring (by Raible) Struts is 
like 70% of market share. (Having said that, I wish that people that use 
Struts becuase it's popular go away, one should use own judgment; if 
everyone used EJB, would you use that too? or would you jump of a 
bridge? Waren Buffet has a book and a chapter on Lemmings)

Alex Kravets wrote:
Well I think 70% is a little bit too much 
http://www.manageability.org/polls/what-is-the-best-java-web-framework

   Accroding to latest "market share" reportring (by Raible) Struts is 
like 70% of market share. (Having said that, I wish that people that 
use Struts becuase it's popular go away, one should use own 
judgment; if everyone used EJB, would you use that too? or would you 
jump of a bridge? Waren Buffet has a book and a chapter on Lemmings)

But at the end of the day most people tend to learn 
languages/platforms/frameworks that are in demand (remember when HTML 
coders were payed $70K?). Most people will not spend time on learning 
something that they think/know is good but the rest of the world does 
not, because most people do what they do to support themselves 
financially. The rest of does it because they are scientists.

Vic wrote:
I know you asked Ted/Craig but Tapestry is a Apache project, like 
Struts, a good framework that is View centric, home page says: " 
Tapestry is an alternative to scripting environments such as 
JavaServer Pages or Velocity"
Accroding to latest "market share" reportring (by Raible) Struts is 
like 70% of market share. (Having said that, I wish that people that 
use Struts becuase it's popular go away, one should use own judgment; 
if everyone used EJB, would you use that too? or would you jump of a 
bridge? Waren Buffet has a book and a chapter on Lemmings)
Even if Struts loses 10% every year, that would make it say 5% or 3%, 
or 1% say in many years.
Tapestry, JSF, WebWorks, Symphony, etc.  are all fine comunities that 
have that kind of a market share, so it would not be bad at all. (and 
then all the questions about is this the most pouplar one would go 
away).

WHICH ONE FITS YOU NEEDS BEST BASED ON YOUR ANAYLSIS?
(It's a bit like sayind what method call you you call in your code? 
I'ts up to you).

Alex Kravets wrote:
Ted, Graig,
've read some posts/blogs where people who've used Struts and now 
use Tapestry say that they will never go back to Struts again.

see above. If you have similar needs as them maybe you should do that.
In 2000, http://barracudamvc.org/Barracuda/index.html would say they 
are better and Turbine did; there was allways competition.

Is this what Struts Shale tries to change/disprove?

I hope not!!!
I feel like I am the old Lakers, #1, and everyone hates you. And yes, 
I hate the Lakers. :-P

.V




Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Alex Kravets
Well I think 70% is a little bit too much 
http://www.manageability.org/polls/what-is-the-best-java-web-framework

   Accroding to latest "market share" reportring (by Raible) Struts is 
like 70% of market share. (Having said that, I wish that people that use 
Struts becuase it's popular go away, one should use own judgment; if 
everyone used EJB, would you use that too? or would you jump of a 
bridge? Waren Buffet has a book and a chapter on Lemmings)

But at the end of the day most people tend to learn 
languages/platforms/frameworks that are in demand (remember when HTML 
coders were payed $70K?). Most people will not spend time on learning 
something that they think/know is good but the rest of the world does 
not, because most people do what they do to support themselves 
financially. The rest of does it because they are scientists.

Vic wrote:
I know you asked Ted/Craig but Tapestry is a Apache project, like 
Struts, a good framework that is View centric, home page says: " 
Tapestry is an alternative to scripting environments such as 
JavaServer Pages or Velocity"
Accroding to latest "market share" reportring (by Raible) Struts is 
like 70% of market share. (Having said that, I wish that people that 
use Struts becuase it's popular go away, one should use own judgment; 
if everyone used EJB, would you use that too? or would you jump of a 
bridge? Waren Buffet has a book and a chapter on Lemmings)
Even if Struts loses 10% every year, that would make it say 5% or 3%, 
or 1% say in many years.
Tapestry, JSF, WebWorks, Symphony, etc.  are all fine comunities that 
have that kind of a market share, so it would not be bad at all. (and 
then all the questions about is this the most pouplar one would go away).

WHICH ONE FITS YOU NEEDS BEST BASED ON YOUR ANAYLSIS?
(It's a bit like sayind what method call you you call in your code? 
I'ts up to you).

Alex Kravets wrote:
Ted, Graig,
've read some posts/blogs where people who've used Struts and now use 
Tapestry say that they will never go back to Struts again.

see above. If you have similar needs as them maybe you should do that.
In 2000, http://barracudamvc.org/Barracuda/index.html would say they 
are better and Turbine did; there was allways competition.

Is this what Struts Shale tries to change/disprove?

I hope not!!!
I feel like I am the old Lakers, #1, and everyone hates you. And yes, 
I hate the Lakers. :-P

.V



RE: Using value from resource bundle as the pattern to formatDate

2005-02-02 Thread Derrick Koes

Yes, indeed my fear was correct.  I needed the fully qualified name of the 
bundle.

 

-Original Message-
From: Derrick Koes [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 02, 2005 10:07 AM
To: Struts User Apache (E-mail)
Subject: Using value from resource bundle as the pattern to formatDate


I want to use a resource key value as the pattern for my formatDate.  The code 
below only gets the key name in ptrn variable.  How do I get the value 
associated with the key?  My fear is that this is correct, but the bundle tag 
isn't finding my application.properties file.







Thanks,
Derrick




mapping values in jsp

2005-02-02 Thread Abdullah Jibaly
Hi all,

Has anyone come across a good way to solve this issue using jstl? I want a 
clean way to map values and being able to define it within the jsp page. for 
example, if a bean property has a value of true, I want to get the output as 
'Yes'.

 -> outputs true or false

I know you can use a map, but is there a way to cleanly define it in the jsp 
page? If not what is the recommended way of doing it?

 -> outputs yes or no

Thanks in advance,
Abdullah

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



Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Vic
I know you asked Ted/Craig but Tapestry is a Apache project, like 
Struts, a good framework that is View centric, home page says: " 
Tapestry is an alternative to scripting environments such as JavaServer 
Pages or Velocity"
Accroding to latest "market share" reportring (by Raible) Struts is like 
70% of market share. (Having said that, I wish that people that use 
Struts becuase it's popular go away, one should use own judgment; if 
everyone used EJB, would you use that too? or would you jump of a 
bridge? Waren Buffet has a book and a chapter on Lemmings)
Even if Struts loses 10% every year, that would make it say 5% or 3%, 
or 1% say in many years.
Tapestry, JSF, WebWorks, Symphony, etc.  are all fine comunities that 
have that kind of a market share, so it would not be bad at all. (and 
then all the questions about is this the most pouplar one would go away).

WHICH ONE FITS YOU NEEDS BEST BASED ON YOUR ANAYLSIS?
(It's a bit like sayind what method call you you call in your code? I'ts 
up to you).

Alex Kravets wrote:
Ted, Graig,
've read some posts/blogs where people who've used Struts and now use 
Tapestry say that they will never go back to Struts again.
see above. If you have similar needs as them maybe you should do that.
In 2000, http://barracudamvc.org/Barracuda/index.html would say they are 
better and Turbine did; there was allways competition.

Is this what Struts Shale tries to change/disprove?
I hope not!!!
I feel like I am the old Lakers, #1, and everyone hates you. And yes, I 
hate the Lakers. :-P

.V
--
Forums, Boards, Blogs and News in RiA 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Struts - Licensing and Derivative Work

2005-02-02 Thread Leon Rosenberg

> Leon,
> you are correct, but the thing is that I not only want to 
> reuse the validator package, but other parts of the framework 
> that are tied to the servlet API.

If you are planing to reuse elements of struts in something other as a
webapp, it would be easier to rewrite then to adopt. Besides, without
validation, action forms and taglibs (the reason why i do use struts) struts
is a command-pattern-processor, and i think there are dozens of
implementation maybe more suitable for your purposes outside.

Regards
Leon




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



Re: Struts - Licensing and Derivative Work

2005-02-02 Thread Leon Rosenberg

> Leon,
> you are correct, but the thing is that I not only want to 
> reuse the validator package, but other parts of the framework 
> that are tied to the servlet API.

If you are planing to reuse elements of struts in something other as a
webapp, it would be easier to rewrite then to adopt. Besides, without
validation, action forms and taglibs (the reason why i do use struts) struts
is a command-pattern-processor, and i think there are dozens of
implementation maybe more suitable for your purposes outside.

Regards
Leon




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



Using value from resource bundle as the pattern to formatDate

2005-02-02 Thread Derrick Koes

I want to use a resource key value as the pattern for my formatDate.  The code 
below only gets the key name in ptrn variable.  How do I get the value 
associated with the key?  My fear is that this is correct, but the bundle tag 
isn't finding my application.properties file.







Thanks,
Derrick


Re: Struts - Licensing and Derivative Work

2005-02-02 Thread Andres Almiray
 --- Leon Rosenberg <[EMAIL PROTECTED]>
escribió: 
> > My assuption is that IF I could copy the validator
> package, 
> > change some parts as to not use the servlet API,
> retaining 
> > the copyright from the ASF, adding proper credits
> to the 
> > Struts team in the documentation, adding the
> proper NOTICE 
> > changes and applying the ASF to the framework,
> thus creating 
> > a new package for this new framework, is it within
> the legal 
> > bounds of the License?  am I allowed to do that?
> 
> You are allowed to do this, but in the time you need
> to do it, you could
> easily rewrite struts validation framework twice.
> 
> Regards
> leon
> 

Leon,
you are correct, but the thing is that I not only want
to reuse the validator package, but other parts of the
framework that are tied to the servlet API.

_
Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. 
http://net.yahoo.com.mx

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



Re: Struts - Licensing and Derivative Work

2005-02-02 Thread Andres Almiray
Ted,
Thank you for clarifying my doubt, now I can begin
with the right foot.

 --- Ted Husted <[EMAIL PROTECTED]> escribió: 
> Yes, if you follow the terms of the Apache License,
> you are allowed to modify and redistribute the code
> as needed, and use it create a derivative work.
> 
> http://apache.org/licenses/LICENSE-2.0
> 
> -Ted.
> 
>  (The attribution terms are required for derivative
> works, like another framework, as described here,
> but not for applications which simply use the
> framework)
> 
> On Tue, 01 Feb 2005 18:53:45 -0600 (CST), Andres
> Almiray wrote:
> > Hi,
> > I have a doubt regarding the licensing of Struts
> and
> > Derivative Works made by third parties, I hope you
> can
> > help me figure it out.
> >
> > I'm brainstorming a framework very similar to
> Struts
> > in its behavior but it is intended not to run in a
> web
> > environment, nor follow de servlet expecification.
> > I want to replicate some of the behavior of
> Struts,
> > like the Validator package, but I can use the
> package
> > as it is because it is tied to the servlet API.
> >
> > My assuption is that IF I could copy the validator
> > package, change some parts as to not use the
> servlet
> > API, retaining the copyright from the ASF, adding
> > proper credits to the Struts team in the
> > documentation, adding the proper NOTICE changes
> and
> > applying the ASF to the framework, thus creating a
> new
> > package for this new framework, is it within the
> legal
> > bounds of the License?  am I allowed to do that?
> >
> > Or do I have to find another way to replicate the
> > desired behavior?
> >
> > Thank you for your time,
> >
> > =
> > ---
> > Ing. Andres Almiray Jaramillo
> >
> > --
> > What goes up, must come down. Ask any system
> administrator.
> > There are 10 types of people in the world: Those
> who understand
> > binary, and those who don't. To understand
> recursion, we must first
> > understand recursion.
> >
> >
_
> > Do You Yahoo!?
> > La mejor conexión a internet y 25MB extra a tu
> correo por $100 al
> > mes. http://net.yahoo.com.mx
> >
> >

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

=
---
Ing. Andres Almiray Jaramillo

--
What goes up, must come down. Ask any system administrator.
There are 10 types of people in the world: Those who understand binary, and 
those who don't.
To understand recursion, we must first understand recursion.

_
Do You Yahoo!?
La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. 
http://net.yahoo.com.mx

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



Re: Struts 2.0 or Struts 0.0? [or Struts 1.42?]

2005-02-02 Thread Alex Kravets
Ted, Graig,
So was Struts Shale made to make programmer's life easier in creating 
Web Applications using MVC Framework? I've read some posts/blogs where 
people who've used Struts and now use Tapestry say that they will never 
go back to Struts again. Is this what Struts Shale tries to change/disprove?

Ted Husted wrote:
On Mon, 31 Jan 2005 17:03:09 -0500, Alex Kravets wrote:
 

So what do you guys think?
http://www.theserverside.com/news/thread.tss?thread_id=31509
   

An important clarification we'll make to the FAQ is that "by doing our job right" we mean "not break backward compatibility" in the ongoing 1.x series. 

There's more than a few things that people want to do with Struts 1.x yet. We're approaching Struts 1.3, and already, the Milestone page [http://struts.apache.org/milestones.html] is looking forward to Struts 1.6. 

If need be, we can go on to Struts 1.42 or Struts 1.2025. If there's interest, there could be another five, ten, or fifty years of Struts 1.x development. 

A year ago, we talked about a Struts 2.x revolution to give us a clean start on the codebase. But, most everyone wanted to evolve the Struts 1.x codebase instead. 

So, that's what we are doing: evolving Struts 1.x, step by step, innovation by innovation, deprecation by deprecation :) 

If we never break backward compatibility, and we never start a new codebase, then we never need to roll the major version number. 

Meanwhile, another potentially great framework has come along: Shale. Like Struts, Shale is MVC web framework, but it doesn't share any code or architectural hallmarks with Struts 1.x. We could call it Struts 2.x, but we could also fork Maverick, Spring MVC, Tapestry, or WebWork and call any of those Struts 2.x, if that's what the community wanted. 

But, as near as we can tell, that's not what they community wants. The volunteers are showing by their commits that we want to evolve Struts 1.x and, at the same time, also work on Shale 1.x. 

As someone mentioned elsewhere: different strokes for different folks: different technologies for different requirements. 

People wanted to do both and proved it with their commits. So both is what we 
are doing :)
And, if someone comes up with a third thing, based on dynamic ECMA Script or 
something, maybe we'll do that too. :)
-Ted.

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



RE: AW: Tiles is hiding my jsp error messages?!

2005-02-02 Thread Martin Gainty
Ditto  and I would add  start with very specific exceptions (IOException) 
and fall to more general exceptions later on (Exception)
If you want to redirect output to an awaiting Log Server or reformat to HTML 
take a look at Log4j
HTH,

Martin Gainty
(mobile) 617-852-7822

From: "Leon Rosenberg" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" 
To: "'Struts Users Mailing List'" 
Subject: AW: Tiles is hiding my jsp error messages?!
Date: Tue, 1 Feb 2005 15:00:54 +0100
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by mc7-f28.hotmail.com 
with Microsoft SMTPSVC(6.0.3790.211); Tue, 1 Feb 2005 06:02:38 -0800
Received: (qmail 30437 invoked by uid 500); 1 Feb 2005 14:02:14 -
Received: (qmail 30397 invoked by uid 99); 1 Feb 2005 14:02:13 -
Received: pass (hermes.apache.org: local policy)
Received: from h-213.61.151.32.host.de.colt.net (HELO anotheria.net) 
(213.61.151.32)  by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 
06:02:11 -0800
Received: from dragonfire ([84.128.66.213]) by anotheria.net for 
<[EMAIL PROTECTED]> with eXtremail; Tue, 1 Feb 2005 16:56:46 +0100
X-Message-Info: JGTYoYF78jGI5G3rXjm4M/TmGZNnDiYgtmAbYB3woW0=
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
List-Unsubscribe: 
List-Subscribe: 
List-Help: 
List-Post: 
List-Id: "Struts Users Mailing List" 
Delivered-To: mailing list user@struts.apache.org
X-ASF-Spam-Status: No, hits=0.9 
required=10.0tests=FORGED_RCVD_HELO,PLING_QUERY
X-Spam-Check-By: apache.org
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
thread-index: AcUIdbiHfGjUeZWbS+CJWJnetB7ZogAD3fmA
X-Virus-Checked: Checked
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 01 Feb 2005 14:02:39.0061 (UTC) 
FILETIME=[B07D3850:01C50866]

> Or, if that doesn't help, step 2 (for me) is to remove the
> entire contents of that particular tile, and slowly replace
> it piece by piece until it stops rendering, then examine the
> part you just put back.  I know that sounds crazy, but it
> works for me.and it almost always ends with "(head
> smack)...what was I thinking?".
The far more easier debug opportunity is to insert try/catch blocks in each
included page.
And print the exception to stdout/log :-)
:-)


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

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


Re: Database Access

2005-02-02 Thread Larry Meadors
I have tried jdbc, hibernate, and iBATIS for data access.

For me, it was a matter of finding a balance between simplicity
(low-level jdbc resouce management sucks), power (how can I optimize
this SQL statement?), flexibilty (do not dictate to me how to write
applications), and testability (mocking ResultSet objects is a PITA).

I am now using iBATIS for 99.999% of all new development (oracle ref
cursors are still a thorn in my side). The DAO+SQLMaps combination is
really (IMO) the sweet spot (and it is an Apache project, if that
means anything to you).

http://incubator.apache.org/projects/ibatis.html

Larry


On Wed, 2 Feb 2005 10:58:34 +, Ben Taylor <[EMAIL PROTECTED]> wrote:
> So you use one approach or the other?
> 
> 
> On Tue, 01 Feb 2005 18:43:41 -0600, Vic <[EMAIL PROTECTED]> wrote:
> > See if this helps:
> >
> > http://wiki.apache.org/struts/DaoRelated
> >
> > .V
> >
> > Ben Taylor wrote:
> >
> > >Can anyone tell me the best way to setup / manage database connections
> > >using Struts?
> > >
> > >I've read a couple of books on Struts and they talk about using a
> > >processbean though I am unsure how this is linked with things like
> > >iBATIS (http://www.ibatis.com/), or the Struts DataSource manager (as
> > >both mentioned on http://struts.apache.org/faqs/database.html).
> > >
> > >Any advice / suggestions would be appreciated.
> > >
> > >Cheers!
> > >
> > >
> >
> > --
> > Forums, Boards, Blogs and News in RiA 
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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



Re: Database Access

2005-02-02 Thread Ben Taylor
So you use one approach or the other?


On Tue, 01 Feb 2005 18:43:41 -0600, Vic <[EMAIL PROTECTED]> wrote:
> See if this helps:
> 
> http://wiki.apache.org/struts/DaoRelated
> 
> .V
> 
> Ben Taylor wrote:
> 
> >Can anyone tell me the best way to setup / manage database connections
> >using Struts?
> >
> >I've read a couple of books on Struts and they talk about using a
> >processbean though I am unsure how this is linked with things like
> >iBATIS (http://www.ibatis.com/), or the Struts DataSource manager (as
> >both mentioned on http://struts.apache.org/faqs/database.html).
> >
> >Any advice / suggestions would be appreciated.
> >
> >Cheers!
> >
> >
> 
> --
> Forums, Boards, Blogs and News in RiA 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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