RE: one more prepopulate question

2003-02-28 Thread Zsolt Koppany
Where do I have to insert this code?

Zsolt

> Actually, unless you are going (back) to a page that contains a form with action of 
> "setupMultipleForms" you can't use this strategy.
> 
> What you actually need to know is the name attribute of the action mapping 
> corresponding to the page to which the user is being directed *next*.  However, this 
> isn't the end of the world; you can programmatically figure the name of the 
> form-bean etc as follows:
> 
>   ApplicationConfig appConfig = (ApplicationConfig)
> request.getAttribute(Globals.APPLICATION_KEY);
>   ActionConfig actionConfig = appConfig.findActionConfig("/foo");
>   String name = actionConfig.getName(); // Form bean name
>   String attribute = actionConfig.getAttribute(); // Attribute to store under
>   String scope = actionConfig.getScope(); // Scope to store in
>   FormBeanConfig fbConfig = appConfig.findFormBeanConfig(name);
> 
> Now you've got all the metadata you need to dynamically instantiate the
> appropriate form bean, and store it under the appropriate attribute in the
> appropriate scope, without hard coding any of this stuff.
> 
> This is a snippet that Craig wrote up in response to an earlier post. 
> 
> 
> Sri
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Zsolt


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



RE: Struts-el NOT working with Struts 1.1 RC1 Release

2003-02-28 Thread David Graham
AFAIK, the commons components strive for backwards compatibility so 
theoretically you should be able to use the versions that come with Struts.  
You make a great point about using beta OSS in production.  I hope your 
mgmt. listens :-).

David



From: "Hohlen, John" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release
Date: Fri, 28 Feb 2003 22:40:41 -0600
Craig,

I hear what you're saying.  At times, I feel like we're dealing with a
two-edge sword. I wish our teams could do more work with nightly builds. 
One

of the battles I constantly face with our management is their reluctancy to
even allow us to work with "beta" releases (or lesser) in our development
environment.  Their fear is, not knowing when an official release will
occur, that beta open-source software will end up in production.  But my
argument is, hey if we've successfully completed all levels of testing
(unit, integration, q/a, etc.), have the corresponding source code, know
what the open bugs/issues/limitations are, what's the worse that can 
happen?

We discover a bug that we have to fix (and possibly relay back to the
open-source development team).  How is this any different that with the 
code

we develop in-house?  I guarantee you we have in-house software running in
production that should be labeled "beta" (or less), but isn't because of a
schedule that had to be met. It's too bad the label "beta" has to be used,
it has such a negative connotation.  I did read on the mailing lists a 
while

back that Lands End was using a beta 1 version of Struts 1.1 in production.
I think that says something in it's own right.  I'm sure there are others
doing the same.
There is an "open-source" mindset that I'm trying to slowly change in
our company.  I've tried to convince our management that beta "open-source"
is different than beta "commercial".  Open-source projects don't have
schedule deadlines that will affect the quarterly financial results.  
Hence,

they move a slower and strive for 100% perfection. If we do a thorough job
of testing, with a high-level of confidence, it might be possible to use
"beta" software
in production (in some instances).  One issue we do have with Struts,
however, is the
many other Jakarta Commons libraries that it depends upon.  Since we're
using other libraries that also uses the Jakarta-Commons libraries, we do
have compatability concerns.  For the beta releases of Struts, many of the
Jakarta-Comons
libraries used were simply nighty build versions.  Hence, it's a little
trickier trying to use a
"unofficially" released version of Struts vs. some project that has very
little, or no dependency on other libraries.
Additional thoughts on this are greatly appreciated,
Thanks,
JOHN
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Fri 2/28/2003 9:59 PM
To: Struts Users Mailing List
Cc:
Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release




On Fri, 28 Feb 2003, Hohlen, John wrote:

> Date: Fri, 28 Feb 2003 19:54:45 -0600
> From: "Hohlen, John" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release
>
> David Karr said he fixed this problem in last night's Struts-EL build.
This
> means in order to pick up the fix, you have to migrate from the RC1
version
> of Struts to a nightly build version (due to other changes made to the
> regular Struts tags since the RC1 release -- otherwise you'll have
> incompatability issues -- I think).  Many projects are reluctant to use
> nightly builds (for obvious reasons).  Therefore, this hurts the overall
> likelihood of other projects incorporating Struts-EL.   I would think 
that

> the Struts-EL team would want to provide a version of their project 
that's

> compatible with RC1.  This will allow for wider user base which would be
> good for the overall project.  Doesn't this make sense or am I missing
> something?
>
The other side of that coin is also important -- if nobody tests the
nightly builds, then we developers never find out about the bugs until
after a release build is published, which harms the reputation for quality
that we would all prefer.
I get somewhat depressed about the "for obvious reasons" reason that
people give for not at least *trying* your app against the nightly builds.
After all, the day that Struts 1.1 final is released, guess what -- it
will have exactly the same classes as that night's nightly build :-).
There is nothing magical about the label "final release" that makes it any
better (or worse) other than marginally more testing.
Going into production is a different story -- but the harsh reality is the
only reason RC1 was called RC1 instead of beta 4 was to get at least a
*few* more people to test it.  Fortunately for the qu

RE: WrapDynaBean does not support contains()

2003-02-28 Thread Hohlen, John
Please disregard this last message from me.  I replied to the wrong message.
Dooohh!!
 
JOHN

-Original Message- 
From: Hohlen, John 
Sent: Fri 2/28/2003 10:33 PM 
To: Struts Users Mailing List 
Cc: 
Subject: RE: WrapDynaBean does not support contains()


Craig,
 
I hear what you're saying.  At times, I feel like we're dealing with a
two-edge sword. I wish our teams could do more work with nightly builds. One
of the battles I constantly face with our management is their reluctancy to
even allow us to work with "beta" releases (or lesser) in our development
environment.  Their fear is, not knowing when an official release will
occur, that beta open-source software will end up in production.  But my
argument is, hey if we've successfully completed all levels of testing
(unit, integration, q/a, etc.), have the corresponding source code, know
what the open bugs/issues/limitatoins are, what's the worse that can happen?
We discover a bug that we have to fix (and possibly relay back to the
open-source development team).  How is this any different that with the code
we develop in-house?  I guarantee you we have in-house software running in
production that should be labeled "beta" (or less), but isn't because of a
schedule that had to be met. It's too bad the label "beta" has to be used,
it has such a negative connotation.  I did read on the mailing lists a while
back that Lands End was using a beta 1 version of Struts 1.1 in production.
I think that says something in it's own right.  I'm sure there are others
doing the same.
There is an "open-source" mindset that I'm trying to slowly change in
our company.  I've tried to convince our management that beta "open-source"
is different than beta "commercial".  Open-source projects don't have
schedule deadlines that will affect the quarterly financial results.  Hence,
they move a slower and strive for 100% perfection. If we do a thorough job
of testing, with a high-level of confidence, it shouldn't matter whether
something is beta or not.  One issue we do have with Struts, however, is the
many other Jakarta Commons libraries that it depends upon.  Since we're
using other software that also uses the Jakarta-Commons libraries, we do
have compatability concerns.  Hence, it's a little trickier trying to use a
"unofficially" released version of Struts vs. some project that has very
little, or no dependency on other libraries.
Additional thoughts on this are greatly appreciated,
 
Thanks,

JOHN
 
-Original Message- 
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] 
Sent: Fri 2/28/2003 9:52 PM 
To: Struts Users Mailing List 
Cc: 
Subject: Re: WrapDynaBean does not support contains()





On Fri, 28 Feb 2003, WILLIAMS,RAND (HP-USA,ex1) wrote: 

> Date: Fri, 28 Feb 2003 17:16:02 -0500 
> From: "WILLIAMS,RAND (HP-USA,ex1)" <[EMAIL PROTECTED]> 
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> 
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> 
> Subject: WrapDynaBean does not support contains() 
> 
> 
> DynaBean interface declares contains(). 
> 
> Is there any plan for implementing contains() for WrapDynaBean 
> implementation? 
> Supposing that it would check the property via instanceof X and recurse if

> it 
> is a List, Map, Collection, DynaBean, etc. ? 
> 

Best way to deal with that would be an enhancement requests against 
commons-beanutils: 

  http://nagoya.apache.org/bugzilla/   

and/or discussion on [EMAIL PROTECTED], since it's now a 
Commons package. 

> (I love beanutils, btw) 

Me too :-). 

> 
> -Rand 

Craig McClanahan 

- 
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-el NOT working with Struts 1.1 RC1 Release

2003-02-28 Thread Hohlen, John
Craig, 
  
I hear what you're saying.  At times, I feel like we're dealing with a 
two-edge sword. I wish our teams could do more work with nightly builds. One

of the battles I constantly face with our management is their reluctancy to 
even allow us to work with "beta" releases (or lesser) in our development 
environment.  Their fear is, not knowing when an official release will 
occur, that beta open-source software will end up in production.  But my 
argument is, hey if we've successfully completed all levels of testing 
(unit, integration, q/a, etc.), have the corresponding source code, know 
what the open bugs/issues/limitations are, what's the worse that can happen?

We discover a bug that we have to fix (and possibly relay back to the 
open-source development team).  How is this any different that with the code

we develop in-house?  I guarantee you we have in-house software running in 
production that should be labeled "beta" (or less), but isn't because of a 
schedule that had to be met. It's too bad the label "beta" has to be used, 
it has such a negative connotation.  I did read on the mailing lists a while

back that Lands End was using a beta 1 version of Struts 1.1 in production. 
I think that says something in it's own right.  I'm sure there are others 
doing the same. 
There is an "open-source" mindset that I'm trying to slowly change in 
our company.  I've tried to convince our management that beta "open-source" 
is different than beta "commercial".  Open-source projects don't have 
schedule deadlines that will affect the quarterly financial results.  Hence,

they move a slower and strive for 100% perfection. If we do a thorough job 
of testing, with a high-level of confidence, it might be possible to use
"beta" software
in production (in some instances).  One issue we do have with Struts,
however, is the 
many other Jakarta Commons libraries that it depends upon.  Since we're 
using other libraries that also uses the Jakarta-Commons libraries, we do 
have compatability concerns.  For the beta releases of Struts, many of the
Jakarta-Comons 
libraries used were simply nighty build versions.  Hence, it's a little
trickier trying to use a 
"unofficially" released version of Struts vs. some project that has very 
little, or no dependency on other libraries. 
Additional thoughts on this are greatly appreciated, 
  
Thanks, 
JOHN 
 

-Original Message- 
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] 
Sent: Fri 2/28/2003 9:59 PM 
To: Struts Users Mailing List 
Cc: 
Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release





On Fri, 28 Feb 2003, Hohlen, John wrote: 

> Date: Fri, 28 Feb 2003 19:54:45 -0600 
> From: "Hohlen, John" <[EMAIL PROTECTED]> 
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> 
> To: Struts Users Mailing List <[EMAIL PROTECTED]> 
> Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release 
> 
> David Karr said he fixed this problem in last night's Struts-EL build.
This 
> means in order to pick up the fix, you have to migrate from the RC1
version 
> of Struts to a nightly build version (due to other changes made to the 
> regular Struts tags since the RC1 release -- otherwise you'll have 
> incompatability issues -- I think).  Many projects are reluctant to use 
> nightly builds (for obvious reasons).  Therefore, this hurts the overall 
> likelihood of other projects incorporating Struts-EL.   I would think that

> the Struts-EL team would want to provide a version of their project that's

> compatible with RC1.  This will allow for wider user base which would be 
> good for the overall project.  Doesn't this make sense or am I missing 
> something? 
> 

The other side of that coin is also important -- if nobody tests the 
nightly builds, then we developers never find out about the bugs until 
after a release build is published, which harms the reputation for quality 
that we would all prefer. 

I get somewhat depressed about the "for obvious reasons" reason that 
people give for not at least *trying* your app against the nightly builds. 
After all, the day that Struts 1.1 final is released, guess what -- it 
will have exactly the same classes as that night's nightly build :-). 
There is nothing magical about the label "final release" that makes it any 
better (or worse) other than marginally more testing. 

Going into production is a different story -- but the harsh reality is the 
only reason RC1 was called RC1 instead of beta 4 was to get at least a 
*few* more people to test it.  Fortunately for the quality of the final 
release, that goal was achieved.  Unfortunately, many of the bugs could 
have been found and fixed quite a while ago, with more testing. 

> Thanks, 
> 
> JOHN 

Craig 

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


-
To 

RE: WrapDynaBean does not support contains()

2003-02-28 Thread Hohlen, John
Craig,
 
I hear what you're saying.  At times, I feel like we're dealing with a
two-edge sword. I wish our teams could do more work with nightly builds. One
of the battles I constantly face with our management is their reluctancy to
even allow us to work with "beta" releases (or lesser) in our development
environment.  Their fear is, not knowing when an official release will
occur, that beta open-source software will end up in production.  But my
argument is, hey if we've successfully completed all levels of testing
(unit, integration, q/a, etc.), have the corresponding source code, know
what the open bugs/issues/limitatoins are, what's the worse that can happen?
We discover a bug that we have to fix (and possibly relay back to the
open-source development team).  How is this any different that with the code
we develop in-house?  I guarantee you we have in-house software running in
production that should be labeled "beta" (or less), but isn't because of a
schedule that had to be met. It's too bad the label "beta" has to be used,
it has such a negative connotation.  I did read on the mailing lists a while
back that Lands End was using a beta 1 version of Struts 1.1 in production.
I think that says something in it's own right.  I'm sure there are others
doing the same.
There is an "open-source" mindset that I'm trying to slowly change in
our company.  I've tried to convince our management that beta "open-source"
is different than beta "commercial".  Open-source projects don't have
schedule deadlines that will affect the quarterly financial results.  Hence,
they move a slower and strive for 100% perfection. If we do a thorough job
of testing, with a high-level of confidence, it shouldn't matter whether
something is beta or not.  One issue we do have with Struts, however, is the
many other Jakarta Commons libraries that it depends upon.  Since we're
using other software that also uses the Jakarta-Commons libraries, we do
have compatability concerns.  Hence, it's a little trickier trying to use a
"unofficially" released version of Struts vs. some project that has very
little, or no dependency on other libraries.
Additional thoughts on this are greatly appreciated,
 
Thanks,

JOHN
 
-Original Message- 
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] 
Sent: Fri 2/28/2003 9:52 PM 
To: Struts Users Mailing List 
Cc: 
Subject: Re: WrapDynaBean does not support contains()





On Fri, 28 Feb 2003, WILLIAMS,RAND (HP-USA,ex1) wrote: 

> Date: Fri, 28 Feb 2003 17:16:02 -0500 
> From: "WILLIAMS,RAND (HP-USA,ex1)" <[EMAIL PROTECTED]> 
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> 
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> 
> Subject: WrapDynaBean does not support contains() 
> 
> 
> DynaBean interface declares contains(). 
> 
> Is there any plan for implementing contains() for WrapDynaBean 
> implementation? 
> Supposing that it would check the property via instanceof X and recurse if

> it 
> is a List, Map, Collection, DynaBean, etc. ? 
> 

Best way to deal with that would be an enhancement requests against 
commons-beanutils: 

  http://nagoya.apache.org/bugzilla/   

and/or discussion on [EMAIL PROTECTED], since it's now a 
Commons package. 

> (I love beanutils, btw) 

Me too :-). 

> 
> -Rand 

Craig McClanahan 

- 
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]

[Validator] Conditional Validations

2003-02-28 Thread Amit Keshav Kulkarni
Hi All,
I need to Validate the inputs on a Search Page
I have 5-6 input fields for Seach Criteria
I have to validate that at least one field has to be not null
and if some value is entered in a field, it should be validated..
Say, numeric or alphanumeric fields.
How can I set up my validation.xml in such a case?

Thanks and regards,
Amit

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



RE: Struts-el NOT working with Struts 1.1 RC1 Release

2003-02-28 Thread Craig R. McClanahan


On Fri, 28 Feb 2003, Hohlen, John wrote:

> Date: Fri, 28 Feb 2003 19:54:45 -0600
> From: "Hohlen, John" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release
>
> David Karr said he fixed this problem in last night's Struts-EL build.  This
> means in order to pick up the fix, you have to migrate from the RC1 version
> of Struts to a nightly build version (due to other changes made to the
> regular Struts tags since the RC1 release -- otherwise you'll have
> incompatability issues -- I think).  Many projects are reluctant to use
> nightly builds (for obvious reasons).  Therefore, this hurts the overall
> likelihood of other projects incorporating Struts-EL.   I would think that
> the Struts-EL team would want to provide a version of their project that's
> compatible with RC1.  This will allow for wider user base which would be
> good for the overall project.  Doesn't this make sense or am I missing
> something?
>

The other side of that coin is also important -- if nobody tests the
nightly builds, then we developers never find out about the bugs until
after a release build is published, which harms the reputation for quality
that we would all prefer.

I get somewhat depressed about the "for obvious reasons" reason that
people give for not at least *trying* your app against the nightly builds.
After all, the day that Struts 1.1 final is released, guess what -- it
will have exactly the same classes as that night's nightly build :-).
There is nothing magical about the label "final release" that makes it any
better (or worse) other than marginally more testing.

Going into production is a different story -- but the harsh reality is the
only reason RC1 was called RC1 instead of beta 4 was to get at least a
*few* more people to test it.  Fortunately for the quality of the final
release, that goal was achieved.  Unfortunately, many of the bugs could
have been found and fixed quite a while ago, with more testing.

> Thanks,
>
> JOHN

Craig

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



Re: WrapDynaBean does not support contains()

2003-02-28 Thread Craig R. McClanahan


On Fri, 28 Feb 2003, WILLIAMS,RAND (HP-USA,ex1) wrote:

> Date: Fri, 28 Feb 2003 17:16:02 -0500
> From: "WILLIAMS,RAND (HP-USA,ex1)" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: WrapDynaBean does not support contains()
>
>
> DynaBean interface declares contains().
>
> Is there any plan for implementing contains() for WrapDynaBean
> implementation?
> Supposing that it would check the property via instanceof X and recurse if
> it
> is a List, Map, Collection, DynaBean, etc. ?
>

Best way to deal with that would be an enhancement requests against
commons-beanutils:

  http://nagoya.apache.org/bugzilla/

and/or discussion on [EMAIL PROTECTED], since it's now a
Commons package.

> (I love beanutils, btw)

Me too :-).

>
> -Rand

Craig McClanahan

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



Re: i18n in SimpleMenuItem

2003-02-28 Thread David Graham
I don't see any attributes in tiles-config.dtd that allow message keys.  
This would probably be a useful enhancement though.  Feel free to enter an 
enhancement request (unless it turns out it's already supported).

David



From: Dan Allen <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: i18n in SimpleMenuItem
Date: Fri, 28 Feb 2003 21:03:36 -0600
Has anyone written a class (which they would like to share) that
extends SimpleMenuItem to retrieve the bundle key for value and
global forward for the link?
I was envisioning something along the lines of:


I am not even interested in the global forward as much as the
bean:message bundle resource.
Also, while I am on the topic of tiles.  Is there any way to use the
 in the tiles definition file?  I
know that you can have different definition files for different
languages, but it would seem to be more logical to be able to
reference the application message bundle instead.  It would seem to
me a new "type" of message would be the most approrpriate if it is
not already possible to do this.
I would be grateful for any responses to those two inquires.

Dan

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"I'm old enough to know better, but still too young to care."
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


i18n in SimpleMenuItem

2003-02-28 Thread Dan Allen
Has anyone written a class (which they would like to share) that
extends SimpleMenuItem to retrieve the bundle key for value and
global forward for the link?

I was envisioning something along the lines of:



I am not even interested in the global forward as much as the
bean:message bundle resource.

Also, while I am on the topic of tiles.  Is there any way to use the
 in the tiles definition file?  I
know that you can have different definition files for different
languages, but it would seem to be more logical to be able to
reference the application message bundle instead.  It would seem to
me a new "type" of message would be the most approrpriate if it is
not already possible to do this.

I would be grateful for any responses to those two inquires.

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
"I'm old enough to know better, but still too young to care."
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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



RE: Struts-el NOT working with Struts 1.1 RC1 Release

2003-02-28 Thread Hohlen, John
Geez...I'm losing it.  I've been staring at the computer screen for too many
hours this week.  Time to pop open a Budweiser and get away from all this
*exciting* stuff for a while.

Thanks again,

JOHN

-Original Message- 
From: David Graham [mailto:[EMAIL PROTECTED] 
Sent: Fri 2/28/2003 8:51 PM 
To: [EMAIL PROTECTED] 
Cc: 
Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release



I haven't contributed to Struts-EL, that's David Karr.  I was pointing out 
that you should download a recent nightly to get the fixes you need.  
There's nothing terribly special about RC1 vs. the nightly that came the day

after RC1 was released. 

David *Graham* :-) 




>From: "Hohlen, John" <[EMAIL PROTECTED]> 
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> 
>To: Struts Users Mailing List <[EMAIL PROTECTED]> 
>Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release 
>Date: Fri, 28 Feb 2003 20:47:00 -0600 
> 
>David, 
> 
>  First, sorry for the miscommunication.  I put the word valuable in 
>quotes to emphasize it's usefulness, not sarcasm.  If I doubted it's 
>usefulness, I would have done something like this: valuable? 
>  I guess I should use asterisks next time. 
>  Personally, I'm under the impression that a "RC" release is more than

>just a regular nightly build.  From the Jakarta News page: 
> 
>   "The Struts Team believes that this release is ready for prime time,

>hence its designation as a release candidate." 
> 
> From the "Binaries" page: 
> 
> "Nightly Builds are those that are very unstable (a.k.a. dynamite!). 
>We 
>have no confidence in them. They are for developers who are helping to 
>develop the technology and want "the latest bits." Use at your own risk!" 
> 
> Obviously, every product is the result of a nightly build (final or 
>not).   I don't really want to get into a debate over "release" semantics. 
>I realize "Struts-EL" has only been released under the category of 
>"nightly".  Since it's so tightly coupled with Struts, I just thought it 
>would be nice if there was a compatible version for RC1.  I'm not saying it

>has to be bug-free, but at least JSP code generation error free (i.e. the 
>JSP doesn't blow up during the code generation process -- as these are easy

>to detect, almost impossible to workaround.).   I'm just trying to help 
>out. 
>Not trying to start any type of personal war. 
> 
>Thanks again for all your contributions to Struts-EL, 
> 
>JOHN 
> 
>-Original Message- 
>From: David Graham [mailto:[EMAIL PROTECTED]
 ] 
>Sent: Fri 2/28/2003 8:05 PM 
>To: [EMAIL PROTECTED] 
>Cc: 
>Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release 
> 
> 
> 
>I don't understand.  You say that David fixed the problem but you're still 
>unhappy?  RC1 != 1.1 final.  There will be bugs until the final version. 
>You say that using nightlies is risky but you're using RC1 (which is a 
>nightly)!  Furthermore, Struts-EL is still in the contrib folder which 
>gives 
> 
>it a different status than the standard code base. 
> 
>FYI, putting a word in quotes normally implies sarcasm. 
> 
>David 
> 
> 
> 
> >From: "Hohlen, John" <[EMAIL PROTECTED]> 
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> 
> >To: Struts Users Mailing List <[EMAIL PROTECTED]> 
> >Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release 
> >Date: Fri, 28 Feb 2003 19:54:45 -0600 
> > 
> >David Karr said he fixed this problem in last night's Struts-EL build. 
> >This 
> >means in order to pick up the fix, you have to migrate from the RC1 
>version 
> 
> >of Struts to a nightly build version (due to other changes made to the 
> >regular Struts tags since the RC1 release -- otherwise you'll have 
> >incompatability issues -- I think).  Many projects are reluctant to use 
> >nightly builds (for obvious reasons).  Therefore, this hurts the overall 
> >likelihood of other projects incorporating Struts-EL.   I would think 
>that 
> >the Struts-EL team would want to provide a version of their project 
>that's 
> >compatible with RC1.  This will allow for wider user base which would be 
> >good for the overall project.  Doesn't this make sense or am I missing 
> >something? 
> > 
> >Thanks, 
> > 
> >JOHN 
> > 
> >P.S. I had these same problems with the beta 3 release.  My development 
> >team 
> >is getting frustrated to the point that they're almost ready to punt with

> >Struts-EL.  No offense to the developers of Struts-EL.  We really 
> >appreciate 
> >all the hard work you've put into this "valuable" subproject.  We're just

> >starting to get behind schedule and need some stability. 
> >P.S.S. How come others aren't complaining about this?  Are we the only 
> >one's 
> >trying to Struts-EL with RC1?? 
> > 
> >-Original Message- 
> >From: Hohlen, John 
> >Sent: Thu 2/27/2003 7:50 AM 
> >To: Struts-User (E-mail) 
> >Cc: '[EMAIL PROTECTED]' 
> >Subject: Struts-el NOT working with Struts 1.1 RC1 Release 
> > 
> > 
> 

RE: Struts-el NOT working with Struts 1.1 RC1 Release

2003-02-28 Thread David Graham
I haven't contributed to Struts-EL, that's David Karr.  I was pointing out 
that you should download a recent nightly to get the fixes you need.  
There's nothing terribly special about RC1 vs. the nightly that came the day 
after RC1 was released.

David *Graham* :-)




From: "Hohlen, John" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release
Date: Fri, 28 Feb 2003 20:47:00 -0600
David,

 First, sorry for the miscommunication.  I put the word valuable in
quotes to emphasize it's usefulness, not sarcasm.  If I doubted it's
usefulness, I would have done something like this: valuable?
 I guess I should use asterisks next time.
 Personally, I'm under the impression that a "RC" release is more than
just a regular nightly build.  From the Jakarta News page:
  "The Struts Team believes that this release is ready for prime time,
hence its designation as a release candidate."
From the "Binaries" page:

"Nightly Builds are those that are very unstable (a.k.a. dynamite!). 
We
have no confidence in them. They are for developers who are helping to
develop the technology and want "the latest bits." Use at your own risk!"

Obviously, every product is the result of a nightly build (final or
not).   I don't really want to get into a debate over "release" semantics.
I realize "Struts-EL" has only been released under the category of
"nightly".  Since it's so tightly coupled with Struts, I just thought it
would be nice if there was a compatible version for RC1.  I'm not saying it
has to be bug-free, but at least JSP code generation error free (i.e. the
JSP doesn't blow up during the code generation process -- as these are easy
to detect, almost impossible to workaround.).   I'm just trying to help 
out.
Not trying to start any type of personal war.

Thanks again for all your contributions to Struts-EL,

JOHN

-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Fri 2/28/2003 8:05 PM
To: [EMAIL PROTECTED]
Cc:
Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release


I don't understand.  You say that David fixed the problem but you're still
unhappy?  RC1 != 1.1 final.  There will be bugs until the final version.
You say that using nightlies is risky but you're using RC1 (which is a
nightly)!  Furthermore, Struts-EL is still in the contrib folder which 
gives

it a different status than the standard code base.

FYI, putting a word in quotes normally implies sarcasm.

David



>From: "Hohlen, John" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: Struts Users Mailing List <[EMAIL PROTECTED]>
>Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release
>Date: Fri, 28 Feb 2003 19:54:45 -0600
>
>David Karr said he fixed this problem in last night's Struts-EL build.
>This
>means in order to pick up the fix, you have to migrate from the RC1 
version

>of Struts to a nightly build version (due to other changes made to the
>regular Struts tags since the RC1 release -- otherwise you'll have
>incompatability issues -- I think).  Many projects are reluctant to use
>nightly builds (for obvious reasons).  Therefore, this hurts the overall
>likelihood of other projects incorporating Struts-EL.   I would think 
that
>the Struts-EL team would want to provide a version of their project 
that's
>compatible with RC1.  This will allow for wider user base which would be
>good for the overall project.  Doesn't this make sense or am I missing
>something?
>
>Thanks,
>
>JOHN
>
>P.S. I had these same problems with the beta 3 release.  My development
>team
>is getting frustrated to the point that they're almost ready to punt with
>Struts-EL.  No offense to the developers of Struts-EL.  We really
>appreciate
>all the hard work you've put into this "valuable" subproject.  We're just
>starting to get behind schedule and need some stability.
>P.S.S. How come others aren't complaining about this?  Are we the only
>one's
>trying to Struts-EL with RC1??
>
>-Original Message-
>From: Hohlen, John
>Sent: Thu 2/27/2003 7:50 AM
>To: Struts-User (E-mail)
>Cc: '[EMAIL PROTECTED]'
>Subject: Struts-el NOT working with Struts 1.1 RC1 Release
>
>
>
>Is anyone able to use the Struts-EL subproject with the Struts 1.1 RC1
>release?  I'm encountering the following error using the "struts-el.jar"
>from the "contrib" folder in the RC1 release:
>
>/jsp/login/loginTile.jsp(12): Error in using tag library
>uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class
>'org.apache.strutsel.taglib.html.ELImgTag' has no setter method
>corresponding to TLD declared attribute 'onkeypress', (JSP 1.1 spec, 
5.4.1)

>I'm currently using WebLogic 6.1 SP 2.  I encountered problems similar to
>this when the beta 3 release first came out.  It wasn't until about a 
week
>later that the Struts-EL project would work with the beta 3 release (for 
me

>

RE: Struts-el NOT working with Struts 1.1 RC1 Release

2003-02-28 Thread Hohlen, John
David,
 
 First, sorry for the miscommunication.  I put the word valuable in
quotes to emphasize it's usefulness, not sarcasm.  If I doubted it's
usefulness, I would have done something like this: valuable?
 I guess I should use asterisks next time.
 Personally, I'm under the impression that a "RC" release is more than
just a regular nightly build.  From the Jakarta News page:
 
  "The Struts Team believes that this release is ready for prime time,
hence its designation as a release candidate."

From the "Binaries" page:  
 
"Nightly Builds are those that are very unstable (a.k.a. dynamite!). We
have no confidence in them. They are for developers who are helping to
develop the technology and want "the latest bits." Use at your own risk!"
 
Obviously, every product is the result of a nightly build (final or
not).   I don't really want to get into a debate over "release" semantics.
I realize "Struts-EL" has only been released under the category of
"nightly".  Since it's so tightly coupled with Struts, I just thought it
would be nice if there was a compatible version for RC1.  I'm not saying it
has to be bug-free, but at least JSP code generation error free (i.e. the
JSP doesn't blow up during the code generation process -- as these are easy
to detect, almost impossible to workaround.).   I'm just trying to help out.
Not trying to start any type of personal war.

Thanks again for all your contributions to Struts-EL,

JOHN
 
-Original Message- 
From: David Graham [mailto:[EMAIL PROTECTED] 
Sent: Fri 2/28/2003 8:05 PM 
To: [EMAIL PROTECTED] 
Cc: 
Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release



I don't understand.  You say that David fixed the problem but you're still 
unhappy?  RC1 != 1.1 final.  There will be bugs until the final version.  
You say that using nightlies is risky but you're using RC1 (which is a 
nightly)!  Furthermore, Struts-EL is still in the contrib folder which gives

it a different status than the standard code base. 

FYI, putting a word in quotes normally implies sarcasm. 

David 



>From: "Hohlen, John" <[EMAIL PROTECTED]> 
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> 
>To: Struts Users Mailing List <[EMAIL PROTECTED]> 
>Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release 
>Date: Fri, 28 Feb 2003 19:54:45 -0600 
> 
>David Karr said he fixed this problem in last night's Struts-EL build.  
>This 
>means in order to pick up the fix, you have to migrate from the RC1 version

>of Struts to a nightly build version (due to other changes made to the 
>regular Struts tags since the RC1 release -- otherwise you'll have 
>incompatability issues -- I think).  Many projects are reluctant to use 
>nightly builds (for obvious reasons).  Therefore, this hurts the overall 
>likelihood of other projects incorporating Struts-EL.   I would think that 
>the Struts-EL team would want to provide a version of their project that's 
>compatible with RC1.  This will allow for wider user base which would be 
>good for the overall project.  Doesn't this make sense or am I missing 
>something? 
> 
>Thanks, 
> 
>JOHN 
> 
>P.S. I had these same problems with the beta 3 release.  My development 
>team 
>is getting frustrated to the point that they're almost ready to punt with 
>Struts-EL.  No offense to the developers of Struts-EL.  We really 
>appreciate 
>all the hard work you've put into this "valuable" subproject.  We're just 
>starting to get behind schedule and need some stability. 
>P.S.S. How come others aren't complaining about this?  Are we the only 
>one's 
>trying to Struts-EL with RC1?? 
> 
>-Original Message- 
>From: Hohlen, John 
>Sent: Thu 2/27/2003 7:50 AM 
>To: Struts-User (E-mail) 
>Cc: '[EMAIL PROTECTED]' 
>Subject: Struts-el NOT working with Struts 1.1 RC1 Release 
> 
> 
> 
>Is anyone able to use the Struts-EL subproject with the Struts 1.1 RC1 
>release?  I'm encountering the following error using the "struts-el.jar" 
>from the "contrib" folder in the RC1 release: 
> 
>/jsp/login/loginTile.jsp(12): Error in using tag library 
>uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class 
>'org.apache.strutsel.taglib.html.ELImgTag' has no setter method 
>corresponding to TLD declared attribute 'onkeypress', (JSP 1.1 spec, 5.4.1)

>I'm currently using WebLogic 6.1 SP 2.  I encountered problems similar to 
>this when the beta 3 release first came out.  It wasn't until about a week 
>later that the Struts-EL project would work with the beta 3 release (for me

>at least). 
>Thanks, 
>JOHN 
> 
> 
> 
>- 
>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] 


_ 
The

RE: Struts-el NOT working with Struts 1.1 RC1 Release

2003-02-28 Thread David Graham
I don't understand.  You say that David fixed the problem but you're still 
unhappy?  RC1 != 1.1 final.  There will be bugs until the final version.  
You say that using nightlies is risky but you're using RC1 (which is a 
nightly)!  Furthermore, Struts-EL is still in the contrib folder which gives 
it a different status than the standard code base.

FYI, putting a word in quotes normally implies sarcasm.

David



From: "Hohlen, John" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subject: RE: Struts-el NOT working with Struts 1.1 RC1 Release
Date: Fri, 28 Feb 2003 19:54:45 -0600
David Karr said he fixed this problem in last night's Struts-EL build.  
This
means in order to pick up the fix, you have to migrate from the RC1 version
of Struts to a nightly build version (due to other changes made to the
regular Struts tags since the RC1 release -- otherwise you'll have
incompatability issues -- I think).  Many projects are reluctant to use
nightly builds (for obvious reasons).  Therefore, this hurts the overall
likelihood of other projects incorporating Struts-EL.   I would think that
the Struts-EL team would want to provide a version of their project that's
compatible with RC1.  This will allow for wider user base which would be
good for the overall project.  Doesn't this make sense or am I missing
something?

Thanks,

JOHN

P.S. I had these same problems with the beta 3 release.  My development 
team
is getting frustrated to the point that they're almost ready to punt with
Struts-EL.  No offense to the developers of Struts-EL.  We really 
appreciate
all the hard work you've put into this "valuable" subproject.  We're just
starting to get behind schedule and need some stability.
P.S.S. How come others aren't complaining about this?  Are we the only 
one's
trying to Struts-EL with RC1??

-Original Message-
From: Hohlen, John
Sent: Thu 2/27/2003 7:50 AM
To: Struts-User (E-mail)
Cc: '[EMAIL PROTECTED]'
Subject: Struts-el NOT working with Struts 1.1 RC1 Release


Is anyone able to use the Struts-EL subproject with the Struts 1.1 RC1
release?  I'm encountering the following error using the "struts-el.jar"
from the "contrib" folder in the RC1 release:
/jsp/login/loginTile.jsp(12): Error in using tag library
uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class
'org.apache.strutsel.taglib.html.ELImgTag' has no setter method
corresponding to TLD declared attribute 'onkeypress', (JSP 1.1 spec, 5.4.1)
I'm currently using WebLogic 6.1 SP 2.  I encountered problems similar to
this when the beta 3 release first came out.  It wasn't until about a week
later that the Struts-EL project would work with the beta 3 release (for me
at least).
Thanks,
JOHN


-
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]


_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


RE: Struts-el NOT working with Struts 1.1 RC1 Release

2003-02-28 Thread Hohlen, John
David Karr said he fixed this problem in last night's Struts-EL build.  This
means in order to pick up the fix, you have to migrate from the RC1 version
of Struts to a nightly build version (due to other changes made to the
regular Struts tags since the RC1 release -- otherwise you'll have
incompatability issues -- I think).  Many projects are reluctant to use
nightly builds (for obvious reasons).  Therefore, this hurts the overall
likelihood of other projects incorporating Struts-EL.   I would think that
the Struts-EL team would want to provide a version of their project that's
compatible with RC1.  This will allow for wider user base which would be
good for the overall project.  Doesn't this make sense or am I missing
something?  
 
Thanks,

JOHN
 
P.S. I had these same problems with the beta 3 release.  My development team
is getting frustrated to the point that they're almost ready to punt with
Struts-EL.  No offense to the developers of Struts-EL.  We really appreciate
all the hard work you've put into this "valuable" subproject.  We're just
starting to get behind schedule and need some stability.
P.S.S. How come others aren't complaining about this?  Are we the only one's
trying to Struts-EL with RC1??

-Original Message- 
From: Hohlen, John 
Sent: Thu 2/27/2003 7:50 AM 
To: Struts-User (E-mail) 
Cc: '[EMAIL PROTECTED]' 
Subject: Struts-el NOT working with Struts 1.1 RC1 Release



Is anyone able to use the Struts-EL subproject with the Struts 1.1 RC1 
release?  I'm encountering the following error using the "struts-el.jar" 
from the "contrib" folder in the RC1 release: 

/jsp/login/loginTile.jsp(12): Error in using tag library 
uri='/WEB-INF/struts-html-el.tld' prefix='html-el': The Tag class 
'org.apache.strutsel.taglib.html.ELImgTag' has no setter method 
corresponding to TLD declared attribute 'onkeypress', (JSP 1.1 spec, 5.4.1) 
I'm currently using WebLogic 6.1 SP 2.  I encountered problems similar to 
this when the beta 3 release first came out.  It wasn't until about a week 
later that the Struts-EL project would work with the beta 3 release (for me 
at least). 
Thanks, 
JOHN 



- 
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: Re: struts banking example

2003-02-28 Thread Chuck Cavaness
Yes,
  This example app is from chapter 3 of my book. It was a very simple example. It was 
essentially the proverbial "Hello World" of Struts examples. The Storefront, which is 
used from chapter 4 on, was more complete.

chuck
> 
> From: "Richard Raquepo" <[EMAIL PROTECTED]>
> Date: 2003/02/27 Thu AM 12:08:04 EST
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>, 
>   <[EMAIL PROTECTED]>
> Subject: Re: struts banking example
> 
> http://examples.oreilly.com/jakarta/
> - Original Message -
> From: "Andrew Hill" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Thursday, February 27, 2003 12:55 PM
> Subject: RE: struts banking example
> 
> 
> > Ive not seen this example myself. Can give us the url?
> >
> >
> > -Original Message-
> > From: joni santoso [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, 27 February 2003 12:44
> > To: Struts Users Mailing List
> > Subject: Re: struts banking example
> >
> >
> > nope. someone on the list told me already.
> >
> > but, now i wonder what the example wants to show? i only
> > see it shows list. nothing like adding, updating,
> > deleting, etc.
> >
> > On Wed, 26 Feb 2003 21:41:25 -0700
> >   "David Graham" <[EMAIL PROTECTED]> wrote:
> > >Struts does not supply a banking example app.  It's
> > >highly unlikely that anyone on this list will know your
> > >username and password to an app we've never seen.
> > >
> >
> 
> > ===
> > Dapatkan Telepon SMS untuk rumah dan kantor hanya di PlasaCom melalui
> > http://toko.plasa.com
> > 50% Lebih Murah untuk Domain dan Hosting di http://idc.plasa.com khusus di
> > bulan Februari !
> >
> 
> > ===
> >
> > -
> > 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: struts banking example

2003-02-28 Thread Chuck Cavaness
If it's the one that I'm thinking of, try 1234 as the access number and 5678 as the 
pin.

chuck
> 
> From: "joni santoso" <[EMAIL PROTECTED]>
> Date: 2003/02/26 Wed PM 11:10:47 EST
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Subject: struts banking example
> 
> hi,
> 
> i got a struts banking app example. however, i dont know 
> the user id and password. could anyone tell me?
> 
> regards,
> ===
> Dapatkan Telepon SMS untuk rumah dan kantor hanya di PlasaCom melalui 
> http://toko.plasa.com
> 50% Lebih Murah untuk Domain dan Hosting di http://idc.plasa.com khusus di bulan 
> Februari !
> ===
> 
> -
> 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: deploy with ant, best practices

2003-02-28 Thread Jaye Bass
Yea I can see where that could be a problem, although using Resin I
haven't run into that particular behavior. Maybe I should rethink that
strategy for production events...works great for development and testing
however.

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 4:04 PM
To: Struts Users Mailing List
Subject: RE: deploy with ant, best practices



On Fri, 28 Feb 2003, Jaye Bass wrote:

> Date: Fri, 28 Feb 2003 13:06:33 -0600
> From: Jaye Bass <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: RE: deploy with ant, best practices
>
> My ant targets build directly into my webapp directories...the root
> location is set in an env variable. This really seems to work for us
on
> a variety of systems (linux, windows, and occasionally macs) from
> development to ultimate deployment and maintenance.
>

The only aspect of this I'd be concerned about is if Tomcat happened to
try to auto-deploy your app while it was being compiled, but is
currently
incomplete.  You might end up with some mysterious issues.

Craig

> -Original Message-
> From: Dan Allen [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 1:30 AM
> To: [EMAIL PROTECTED]
> Subject: deploy with ant, best practices
>
> I have been studying ant very thoroughly over the past two days, and
> I completely understand the file from top to bottom, including how
> to reload the application using the  tag imported from
> org.apache.catalina.ant.ReloadTask.  However, I am stuck on an
> issue.
>
> Assuming that I follow the techniques from the book Struts Kick
> Start, I create a development tree such as
>
> ${app.home}
> /build
> /deploy
> /object
> /src
> /lib
> /web
> /WEB-INF
> /META-INF
>
> then the actual target tree (under tomcat/webapps) is the typical
>
> ${app.name}.war
> ${app.name}
> /WEB-INF
> /WEB-INF/lib
> /WEB-INF/classes
> /META-INF
>
> Okay, now stay with me here.  Assume that I currently have the
> application running under tomcat.  If I build the .war file from the
> build/ directory and place it into ${app.home}/deploy, then copy
> it to ${app.name}.war under tomcat/webapps, it isn't going to
> automatically expand over the current running tree.  It just sits
> there until I kick tomcat (restart it) after deleting the running
> application directory.
>
> So what I did instead was I made the build/ directory the actual
> running application directory so it just copied over the "live"
> files directly as they were updated by javac.  Then a simple
> "reload" would cause the application to start using the updated
> files.
>
> The question on the table is as follows.  How do you get tomcat to
> expand an updated .war file over a currently running application
> before you reload it?  It seems wrong to have the "live" application
> the target of my build process.
>
> The goal here is to update the running application without having to
> restart tomcat and without having to use the running application as
> the target of the build process.  I want to be able to copy the
> updated .war file into the tomcat/webapps folder and have it expand
> it over the running application files.  Is this unreasonable to
> expect this?  How does everyone else do it.  Surely you are not
> restarting tomcat all day.
>
> Dan
>
> --
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Daniel Allen, <[EMAIL PROTECTED]>
> http://www.mojavelinux.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> "I am the GOD.the GOD...of house!"
>  -- Leeloo
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> -
> 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]



WrapDynaBean does not support contains()

2003-02-28 Thread WILLIAMS,RAND (HP-USA,ex1)

DynaBean interface declares contains().

Is there any plan for implementing contains() for WrapDynaBean
implementation?
Supposing that it would check the property via instanceof X and recurse if
it
is a List, Map, Collection, DynaBean, etc. ? 

(I love beanutils, btw)

-Rand

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



Re: [OT] Must be desperate times for M$

2003-02-28 Thread David Graham
Not all of it and I highly doubt that MS is accepting patches :-).

David



From: "alexj" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: [OT] Must be desperate times for M$
Date: Sat, 1 Mar 2003 00:22:59 +0100
Windows is already open source for governement as I've read.

--
Alexandre Jaquet
- Original Message -
From: "Phillip Qin" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 11:13 PM
Subject: RE: [OT] Must be desperate times for M$
> Shall I say it's only a matter of time before windows becomes open 
source?
>
> Regards,
>
>
> PQ
>
> "This Guy Thinks He Knows Everything"
> "This Guy Thinks He Knows What He Is Doing"
>
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: February 28, 2003 4:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OT] Must be desperate times for M$
>
> It's only a matter of time before the windows source code is leaked to
> everyone.  Will we be horrified or impressed?
>
> David
>
>
>
> >From: "James Mitchell" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject: [OT] Must be desperate times for M$
> >Date: Fri, 28 Feb 2003 16:19:56 -0500
> >
> >
> >"In order to develop its software industry and maintain security, China
> >has produced its own version of Linux, Red Flag Linux, as well as its
> >own office productivity suite, RedOffice, which go head-to-head with
> >Microsoft's Windows and Office packages."
> >
> >
> >Oh, I love this.  China says, 'put up or shut up'!!!
> >
> >http://news.com.com/2100-1007-990526.html?tag=fd_top
> >
> >
> >
> >--
> >James Mitchell
> >Web Developer/Struts Evangelist
> >http://jakarta.apache.org/struts/
> >
> >"People demand freedom of speech to make up for the freedom of thought
> >which they avoid."
> > - Soren Aabye Kierkegaard (1813-1855)
> >
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> _
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> -
> 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]


_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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


RE: [struts-el] What's the benefits ?

2003-02-28 Thread Karr, David
And that "before" example wasn't even using scriptlets, which makes it
even harder to read and follow (especially for HTML designers).

> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 3:55 PM
> To: Struts Users Mailing List
> Subject: Re: [struts-el] What's the benefits ?
> 
> yep it's more clearer you rigth ;)
> 
> --
> Alexandre Jaquet
> - Original Message -
> From: "John Espey" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Saturday, March 01, 2003 12:49 AM
> Subject: RE: [struts-el] What's the benefits ?
> 
> 
> > here is a simple example:
> >
> > 
> > 
> > 
> > There are no items to be evaluated..
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > as opposed to:
> >
> >   
> > 
> >There are no items to be evaluated..
> > 
> > 
> >   
> >  
> >   
> > 
> >  
> >
> > it seems easier to me, do you agree?  (I may be falsely sold on a
"new"
> > technology, just curious.)
> >
> > > -Original Message-
> > > From: alexj [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, February 28, 2003 6:34 PM
> > > To: Struts Users Mailing List
> > > Subject: [struts-el] What's the benefits ?
> > >
> > >
> > > I didn't find the benefits of the use of jstl extention.
> > >
> > > Who can explain me the benefits ?
> > >
> > > --
> > > Alexandre Jaquet
> > >
> > >
> > >
> > >
> > >
-
> > > 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: [struts-el] What's the benefits ?

2003-02-28 Thread Vic Cekvenich
Its worth reading to get EL. I preferred "Core JSTL" by Geary.

alexj wrote:
I will read JSTL in Action to have a better knowledege of JSTL.

--
Alexandre Jaquet
- Original Message -
From: "alexj" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, March 01, 2003 12:49 AM
Subject: Re: [struts-el] What's the benefits ?


I've read a bit but I can't find the difference between jstl and scriplet.
Maybe I've to read more about JSTL.
--
Alexandre Jaquet
- Original Message -
From: "Karr, David" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, March 01, 2003 12:39 AM
Subject: RE: [struts-el] What's the benefits ?


-Original Message-
From: alexj [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 3:34 PM
To: Struts Users Mailing List
Subject: [struts-el] What's the benefits ?
I didn't find the benefits of the use of jstl extention.

Who can explain me the benefits ?
You would be well-advised to read the JSTL specification to get a good
feel for that.  Section 1.1, titled "Goals" provides a reasonably
summary of this.
-
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-el] What's the benefits ?

2003-02-28 Thread alexj
yep it's more clearer you rigth ;) 

--
Alexandre Jaquet
- Original Message - 
From: "John Espey" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, March 01, 2003 12:49 AM
Subject: RE: [struts-el] What's the benefits ?


> here is a simple example:
> 
> 
> 
> 
> There are no items to be evaluated..
> 
> 
> 
> 
> 
> 
> 
> 
> as opposed to:
> 
>   
> 
>There are no items to be evaluated..
> 
> 
>   
>  
>   
> 
>  
> 
> it seems easier to me, do you agree?  (I may be falsely sold on a "new"
> technology, just curious.)
> 
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 28, 2003 6:34 PM
> > To: Struts Users Mailing List
> > Subject: [struts-el] What's the benefits ?
> >
> >
> > I didn't find the benefits of the use of jstl extention.
> >
> > Who can explain me the benefits ?
> >
> > --
> > Alexandre Jaquet
> >
> >
> >
> >
> > -
> > 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-el] What's the benefits ?

2003-02-28 Thread alexj
I will read JSTL in Action to have a better knowledege of JSTL.

--
Alexandre Jaquet

- Original Message -
From: "alexj" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, March 01, 2003 12:49 AM
Subject: Re: [struts-el] What's the benefits ?


> I've read a bit but I can't find the difference between jstl and scriplet.
> Maybe I've to read more about JSTL.
>
> --
> Alexandre Jaquet
>
> - Original Message -
> From: "Karr, David" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Saturday, March 01, 2003 12:39 AM
> Subject: RE: [struts-el] What's the benefits ?
>
>
> > -Original Message-
> > From: alexj [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 28, 2003 3:34 PM
> > To: Struts Users Mailing List
> > Subject: [struts-el] What's the benefits ?
> >
> > I didn't find the benefits of the use of jstl extention.
> >
> > Who can explain me the benefits ?
>
> You would be well-advised to read the JSTL specification to get a good
> feel for that.  Section 1.1, titled "Goals" provides a reasonably
> summary of this.
>
>
> -
> 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-el] What's the benefits ?

2003-02-28 Thread John Espey
here is a simple example:




There are no items to be evaluated……








as opposed to:

  

   There are no items to be evaluated….


  
 
  

 

it seems easier to me, do you agree?  (I may be falsely sold on a "new"
technology, just curious.)

> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 6:34 PM
> To: Struts Users Mailing List
> Subject: [struts-el] What's the benefits ?
>
>
> I didn't find the benefits of the use of jstl extention.
>
> Who can explain me the benefits ?
>
> --
> Alexandre Jaquet
>
>
>
>
> -
> 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-el] What's the benefits ?

2003-02-28 Thread alexj
I've read a bit but I can't find the difference between jstl and scriplet.
Maybe I've to read more about JSTL.

--
Alexandre Jaquet

- Original Message - 
From: "Karr, David" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, March 01, 2003 12:39 AM
Subject: RE: [struts-el] What's the benefits ?


> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 3:34 PM
> To: Struts Users Mailing List
> Subject: [struts-el] What's the benefits ?
> 
> I didn't find the benefits of the use of jstl extention.
> 
> Who can explain me the benefits ?

You would be well-advised to read the JSTL specification to get a good
feel for that.  Section 1.1, titled "Goals" provides a reasonably
summary of this.


-
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-el] What's the benefits ?

2003-02-28 Thread Karr, David
> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 3:34 PM
> To: Struts Users Mailing List
> Subject: [struts-el] What's the benefits ?
> 
> I didn't find the benefits of the use of jstl extention.
> 
> Who can explain me the benefits ?

You would be well-advised to read the JSTL specification to get a good
feel for that.  Section 1.1, titled "Goals" provides a reasonably
summary of this.


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



[struts-el] What's the benefits ?

2003-02-28 Thread alexj
I didn't find the benefits of the use of jstl extention.

Who can explain me the benefits ? 

--
Alexandre Jaquet




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



Re: deploy with ant, best practices

2003-02-28 Thread alexj
I just got a copy of the Manning book Java Developpement with Ant it's a
great one.

--
Alexandre Jaquet

- Original Message -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 11:04 PM
Subject: RE: deploy with ant, best practices


>
>
> On Fri, 28 Feb 2003, Jaye Bass wrote:
>
> > Date: Fri, 28 Feb 2003 13:06:33 -0600
> > From: Jaye Bass <[EMAIL PROTECTED]>
> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> > To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> > Subject: RE: deploy with ant, best practices
> >
> > My ant targets build directly into my webapp directories...the root
> > location is set in an env variable. This really seems to work for us on
> > a variety of systems (linux, windows, and occasionally macs) from
> > development to ultimate deployment and maintenance.
> >
>
> The only aspect of this I'd be concerned about is if Tomcat happened to
> try to auto-deploy your app while it was being compiled, but is currently
> incomplete.  You might end up with some mysterious issues.
>
> Craig
>
> > -Original Message-
> > From: Dan Allen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 28, 2003 1:30 AM
> > To: [EMAIL PROTECTED]
> > Subject: deploy with ant, best practices
> >
> > I have been studying ant very thoroughly over the past two days, and
> > I completely understand the file from top to bottom, including how
> > to reload the application using the  tag imported from
> > org.apache.catalina.ant.ReloadTask.  However, I am stuck on an
> > issue.
> >
> > Assuming that I follow the techniques from the book Struts Kick
> > Start, I create a development tree such as
> >
> > ${app.home}
> > /build
> > /deploy
> > /object
> > /src
> > /lib
> > /web
> > /WEB-INF
> > /META-INF
> >
> > then the actual target tree (under tomcat/webapps) is the typical
> >
> > ${app.name}.war
> > ${app.name}
> > /WEB-INF
> > /WEB-INF/lib
> > /WEB-INF/classes
> > /META-INF
> >
> > Okay, now stay with me here.  Assume that I currently have the
> > application running under tomcat.  If I build the .war file from the
> > build/ directory and place it into ${app.home}/deploy, then copy
> > it to ${app.name}.war under tomcat/webapps, it isn't going to
> > automatically expand over the current running tree.  It just sits
> > there until I kick tomcat (restart it) after deleting the running
> > application directory.
> >
> > So what I did instead was I made the build/ directory the actual
> > running application directory so it just copied over the "live"
> > files directly as they were updated by javac.  Then a simple
> > "reload" would cause the application to start using the updated
> > files.
> >
> > The question on the table is as follows.  How do you get tomcat to
> > expand an updated .war file over a currently running application
> > before you reload it?  It seems wrong to have the "live" application
> > the target of my build process.
> >
> > The goal here is to update the running application without having to
> > restart tomcat and without having to use the running application as
> > the target of the build process.  I want to be able to copy the
> > updated .war file into the tomcat/webapps folder and have it expand
> > it over the running application files.  Is this unreasonable to
> > expect this?  How does everyone else do it.  Surely you are not
> > restarting tomcat all day.
> >
> > Dan
> >
> > --
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > Daniel Allen, <[EMAIL PROTECTED]>
> > http://www.mojavelinux.com/
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > "I am the GOD.the GOD...of house!"
> >  -- Leeloo
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >
> > -
> > 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: [OT] Must be desperate times for M$

2003-02-28 Thread alexj
Windows is already open source for governement as I've read.

--
Alexandre Jaquet

- Original Message -
From: "Phillip Qin" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 11:13 PM
Subject: RE: [OT] Must be desperate times for M$


> Shall I say it's only a matter of time before windows becomes open source?
>
> Regards,
>
>
> PQ
>
> "This Guy Thinks He Knows Everything"
> "This Guy Thinks He Knows What He Is Doing"
>
> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED]
> Sent: February 28, 2003 4:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OT] Must be desperate times for M$
>
> It's only a matter of time before the windows source code is leaked to
> everyone.  Will we be horrified or impressed?
>
> David
>
>
>
> >From: "James Mitchell" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject: [OT] Must be desperate times for M$
> >Date: Fri, 28 Feb 2003 16:19:56 -0500
> >
> >
> >"In order to develop its software industry and maintain security, China
> >has produced its own version of Linux, Red Flag Linux, as well as its
> >own office productivity suite, RedOffice, which go head-to-head with
> >Microsoft's Windows and Office packages."
> >
> >
> >Oh, I love this.  China says, 'put up or shut up'!!!
> >
> >http://news.com.com/2100-1007-990526.html?tag=fd_top
> >
> >
> >
> >--
> >James Mitchell
> >Web Developer/Struts Evangelist
> >http://jakarta.apache.org/struts/
> >
> >"People demand freedom of speech to make up for the freedom of thought
> >which they avoid."
> > - Soren Aabye Kierkegaard (1813-1855)
> >
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> _
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
> -
> 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: [OT] Must be desperate times for M$

2003-02-28 Thread Chen, Gin
ooh and then only a matter of time before it becomes free! like linux!
yay! no more shelling out $200 everytime it comes out!
oh wait.. i dont do that now anyways ;)
-Tim

-Original Message-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 5:13 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Must be desperate times for M$


Shall I say it's only a matter of time before windows becomes open source?

Regards,
 
 
PQ
 
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"

-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED] 
Sent: February 28, 2003 4:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [OT] Must be desperate times for M$

It's only a matter of time before the windows source code is leaked to 
everyone.  Will we be horrified or impressed?

David



>From: "James Mitchell" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: [OT] Must be desperate times for M$
>Date: Fri, 28 Feb 2003 16:19:56 -0500
>
>
>"In order to develop its software industry and maintain security, China
>has produced its own version of Linux, Red Flag Linux, as well as its
>own office productivity suite, RedOffice, which go head-to-head with
>Microsoft's Windows and Office packages."
>
>
>Oh, I love this.  China says, 'put up or shut up'!!!
>
>http://news.com.com/2100-1007-990526.html?tag=fd_top
>
>
>
>--
>James Mitchell
>Web Developer/Struts Evangelist
>http://jakarta.apache.org/struts/
>
>"People demand freedom of speech to make up for the freedom of thought
>which they avoid."
> - Soren Aabye Kierkegaard (1813-1855)
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


-
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: [OT] Must be desperate times for M$

2003-02-28 Thread Phillip Qin
Shall I say it's only a matter of time before windows becomes open source?

Regards,
 
 
PQ
 
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"

-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED] 
Sent: February 28, 2003 4:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [OT] Must be desperate times for M$

It's only a matter of time before the windows source code is leaked to 
everyone.  Will we be horrified or impressed?

David



>From: "James Mitchell" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: [OT] Must be desperate times for M$
>Date: Fri, 28 Feb 2003 16:19:56 -0500
>
>
>"In order to develop its software industry and maintain security, China
>has produced its own version of Linux, Red Flag Linux, as well as its
>own office productivity suite, RedOffice, which go head-to-head with
>Microsoft's Windows and Office packages."
>
>
>Oh, I love this.  China says, 'put up or shut up'!!!
>
>http://news.com.com/2100-1007-990526.html?tag=fd_top
>
>
>
>--
>James Mitchell
>Web Developer/Struts Evangelist
>http://jakarta.apache.org/struts/
>
>"People demand freedom of speech to make up for the freedom of thought
>which they avoid."
> - Soren Aabye Kierkegaard (1813-1855)
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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


RE: deploy with ant, best practices

2003-02-28 Thread Craig R. McClanahan


On Fri, 28 Feb 2003, Jaye Bass wrote:

> Date: Fri, 28 Feb 2003 13:06:33 -0600
> From: Jaye Bass <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
> Subject: RE: deploy with ant, best practices
>
> My ant targets build directly into my webapp directories...the root
> location is set in an env variable. This really seems to work for us on
> a variety of systems (linux, windows, and occasionally macs) from
> development to ultimate deployment and maintenance.
>

The only aspect of this I'd be concerned about is if Tomcat happened to
try to auto-deploy your app while it was being compiled, but is currently
incomplete.  You might end up with some mysterious issues.

Craig

> -Original Message-
> From: Dan Allen [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 1:30 AM
> To: [EMAIL PROTECTED]
> Subject: deploy with ant, best practices
>
> I have been studying ant very thoroughly over the past two days, and
> I completely understand the file from top to bottom, including how
> to reload the application using the  tag imported from
> org.apache.catalina.ant.ReloadTask.  However, I am stuck on an
> issue.
>
> Assuming that I follow the techniques from the book Struts Kick
> Start, I create a development tree such as
>
> ${app.home}
> /build
> /deploy
> /object
> /src
> /lib
> /web
> /WEB-INF
> /META-INF
>
> then the actual target tree (under tomcat/webapps) is the typical
>
> ${app.name}.war
> ${app.name}
> /WEB-INF
> /WEB-INF/lib
> /WEB-INF/classes
> /META-INF
>
> Okay, now stay with me here.  Assume that I currently have the
> application running under tomcat.  If I build the .war file from the
> build/ directory and place it into ${app.home}/deploy, then copy
> it to ${app.name}.war under tomcat/webapps, it isn't going to
> automatically expand over the current running tree.  It just sits
> there until I kick tomcat (restart it) after deleting the running
> application directory.
>
> So what I did instead was I made the build/ directory the actual
> running application directory so it just copied over the "live"
> files directly as they were updated by javac.  Then a simple
> "reload" would cause the application to start using the updated
> files.
>
> The question on the table is as follows.  How do you get tomcat to
> expand an updated .war file over a currently running application
> before you reload it?  It seems wrong to have the "live" application
> the target of my build process.
>
> The goal here is to update the running application without having to
> restart tomcat and without having to use the running application as
> the target of the build process.  I want to be able to copy the
> updated .war file into the tomcat/webapps folder and have it expand
> it over the running application files.  Is this unreasonable to
> expect this?  How does everyone else do it.  Surely you are not
> restarting tomcat all day.
>
> Dan
>
> --
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> Daniel Allen, <[EMAIL PROTECTED]>
> http://www.mojavelinux.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> "I am the GOD.the GOD...of house!"
>  -- Leeloo
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> -
> 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: one more prepopulate question

2003-02-28 Thread Rick Reumann
On Fri, 28 Feb 2003 16:01:50 -0500
"Sri Sankaran" <[EMAIL PROTECTED]> wrote:

> >  > type="foo.bar.SetUpFormsAction"
> > name="form1"
> > scope="request"
> > validate="false"
> > >
> >  > name="continue"
> > path="/severalFormsOnAPage.jsp"/>
> > 
> > 
> > So now in the SetUpFormsAction you can easily put Form1 into scope
> > by:
> >  
> > Form1 form1 = (Form1)form;
> > form1.setFoo("hello");
> > request.setAttribute(mapping.getAttribute(), form1 );
> 
> Actually, unless you are going (back) to a page that contains a form
> with action of "setupMultipleForms" you can't use this strategy.

What strategy do you mean? The strategy of using
request.setAttribute(mapping.getAttribute(), form1 ); ? I thought that
is the way you 'should' set your ActionForm into request scope in your
Action? Are you saying it should be done a different way?

Thanks,

-- 
Rick Reumann

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



Action Mapping path vs parameter

2003-02-28 Thread Mark

There appears to be a one to one relationship with regards to the path and parameter 
values in  mappings.  Is there any particular reason why one
would use both of these instead of just the path to determine the correct course of 
action?

Regards,
Mark


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



Re: one more prepopulate question

2003-02-28 Thread Rick Reumann
On Fri, 28 Feb 2003 16:01:50 -0500
"Sri Sankaran" <[EMAIL PROTECTED]> wrote:
 
>   ApplicationConfig appConfig = (ApplicationConfig)
> request.getAttribute(Globals.APPLICATION_KEY);
>   ActionConfig actionConfig = appConfig.findActionConfig("/foo");
>   String name = actionConfig.getName(); // Form bean name
>   String attribute = actionConfig.getAttribute(); // Attribute to
>   store under String scope = actionConfig.getScope(); // Scope to
>   store in FormBeanConfig fbConfig =
>   appConfig.findFormBeanConfig(name);
 
> This is a snippet that Craig wrote up in response to an earlier post. 

That was exactly what I was looking for! Thank you (and Craig of
course:).


-- 
Rick Reumann

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



Re: action form error messages

2003-02-28 Thread Mark
Because by default,

the Hi folks,
>
>I am using traditional action forms rather than DynaActionForms and when I
>get it slightly wrong (eg by missing out get/set methods) I get the
>following error
>
>No getter method for property seriesnumber of bean
>org.apache.struts.taglib.html.BEAN
>
>Why is it telling me the problem is within the class
>org.apache.struts.taglib.html.BEAN and not within my ActionForm.
>
>Cheers.
>
>Alex
>
>
>Available for java/perl/C++/web development in London, UK or nearby.
>Apache FOP, Cocoon, Turbine, Struts,XSL:FO, XML, Tomcat, JSP
>http://www.OWAL.co.uk/
>
>
>-
>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: [OT] Must be desperate times for M$

2003-02-28 Thread Chen, Gin
Knowing the complexity of most windows code.
I wouldnt be surprised if your jumping everywhere when following the code.
Especially if you think of the number of patches applied to that code.

-Original Message-
From: Pani, Gourav [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 4:35 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Must be desperate times for M$


something tells me that there would be more impressive things in the windows
source code than horrors.  one has to admit that no matter how buggy things
have been with windows in the past, w2000 has been reasonably successful.

-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 4:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [OT] Must be desperate times for M$


It's only a matter of time before the windows source code is leaked to 
everyone.  Will we be horrified or impressed?

David



>From: "James Mitchell" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: [OT] Must be desperate times for M$
>Date: Fri, 28 Feb 2003 16:19:56 -0500
>
>
>"In order to develop its software industry and maintain security, China
>has produced its own version of Linux, Red Flag Linux, as well as its
>own office productivity suite, RedOffice, which go head-to-head with
>Microsoft's Windows and Office packages."
>
>
>Oh, I love this.  China says, 'put up or shut up'!!!
>
>http://news.com.com/2100-1007-990526.html?tag=fd_top
>
>
>
>--
>James Mitchell
>Web Developer/Struts Evangelist
>http://jakarta.apache.org/struts/
>
>"People demand freedom of speech to make up for the freedom of thought
>which they avoid."
> - Soren Aabye Kierkegaard (1813-1855)
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


-
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: [OT] Must be desperate times for M$

2003-02-28 Thread alexj
I think it's not hard to have a clearer code than the linux kernel ;)
--
Alexandre Jaquet

>-- Original Message --
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>From: "David Graham" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [OT] Must be desperate times for M$
>Date: Fri, 28 Feb 2003 14:31:56 -0700
>
>
>It's only a matter of time before the windows source code is leaked to

>everyone.  Will we be horrified or impressed?
>
>David
>
>
>
>>From: "James Mitchell" <[EMAIL PROTECTED]>
>>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>>Subject: [OT] Must be desperate times for M$
>>Date: Fri, 28 Feb 2003 16:19:56 -0500
>>
>>
>>"In order to develop its software industry and maintain security, China
>>has produced its own version of Linux, Red Flag Linux, as well as its
>>own office productivity suite, RedOffice, which go head-to-head with
>>Microsoft's Windows and Office packages."
>>
>>
>>Oh, I love this.  China says, 'put up or shut up'!!!
>>
>>http://news.com.com/2100-1007-990526.html?tag=fd_top
>>
>>
>>
>>--
>>James Mitchell
>>Web Developer/Struts Evangelist
>>http://jakarta.apache.org/struts/
>>
>>"People demand freedom of speech to make up for the freedom of thought
>>which they avoid."
>> - Soren Aabye Kierkegaard (1813-1855)
>>
>>
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>_
>Protect your PC - get McAfee.com VirusScan Online
>http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>


sunrise premiumsurf - ne vous contentez pas du minimum!
http://internet.sunrise.ch/fr/internet/int_sps.asp




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



RE: [OT] Must be desperate times for M$

2003-02-28 Thread James Mitchell
Oh, I already have the source code to Windows 2000.  

Did I ever show you that?  I can't remember.  

I'll attach the source, but I never was able to get it to compile ;)


--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)




> -Original Message-
> From: David Graham [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 28, 2003 4:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OT] Must be desperate times for M$
> 
> 
> It's only a matter of time before the windows source code is 
> leaked to 
> everyone.  Will we be horrified or impressed?
> 
> David
> 
> 
> 
> >From: "James Mitchell" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject: [OT] Must be desperate times for M$
> >Date: Fri, 28 Feb 2003 16:19:56 -0500
> >
> >
> >"In order to develop its software industry and maintain 
> security, China
> >has produced its own version of Linux, Red Flag Linux, as well as its
> >own office productivity suite, RedOffice, which go head-to-head with
> >Microsoft's Windows and Office packages."
> >
> >
> >Oh, I love this.  China says, 'put up or shut up'!!!
> >
> >http://news.com.com/2100-1007-990526.html?tag=fd_top
> >
> >
> >
> >--
> >James Mitchell
> >Web Developer/Struts Evangelist
> >http://jakarta.apache.org/struts/
> >
> >"People demand freedom of speech to make up for the freedom 
> of thought
> >which they avoid."
> > - Soren Aabye Kierkegaard (1813-1855)
> >
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> _
> Protect your PC - get McAfee.com VirusScan Online  
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

#include "win31.h"
#include "win95.h"
#include "win98.h"
#include "workst~1.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.h"
#include "monopoly.h"
#define INSTALL = HARD

char make_prog_look_big[160];
void main()
{
   while(!CRASHED)
   {
   display_copyright_message();
   display_bill_rules_message();
   do_nothing_loop();
   if (first_time_installation)
   {
   make_850_megabyte_swapfile();
   do_nothing_loop();
   totally_screw_up_HPFS_file_system();
   search_and_destroy_the_rest_of_OS/2();
   make_futile_attempt_to_damage_Linux();
   disable_Netscape();
   disable_RealPlayer();
   disable_Lotus_Products();
   change_all_users_Homepage();
   hang_system();
   }

   write_something(anything);
   display_copyright_message();
   do_nothing_loop();
   do_some_stuff();

   if (still_not_crashed)
   {
   display_copyright_message();
   do_nothing_loop();
   basically_run_windows_3.1();
   do_nothing_loop();
   do_nothing_loop();
   }
   }

   if (detect_cache())
   disable_cache();

   if (fast_cpu())
   {
set_wait_states(lots);
set_mouse(speed, very_slow);
set_mouse(action, jumpy);
set_mouse(reaction, sometimes);
   }

   /* printf("Welcome to Windows 3.1");*/
   /* printf("Welcome to Windows 3.11");   */
   /* printf("Welcome to Windows 95"); */
   /* printf("Welcome to Windows NT 3.0"); */
   /* printf("Welcome to Windows 98"); */
   /* printf("Welcome to Windows NT 4.0"); */
   printf("Welcome to Windows 2000");

   if (system_ok())
   crash(to_dos_prompt)
   else
   system_memory = open("a:\swp0001.swp", O_CREATE);

   while(something)
   {
   sleep(5);
   get_user_input();
   sleep(5);
   act_on_user_input();
   sleep(5);
   }
   create_general_protection_fault();
}

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

RE: [OT] Must be desperate times for M$

2003-02-28 Thread Pani, Gourav
something tells me that there would be more impressive things in the windows
source code than horrors.  one has to admit that no matter how buggy things
have been with windows in the past, w2000 has been reasonably successful.

-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 4:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [OT] Must be desperate times for M$


It's only a matter of time before the windows source code is leaked to 
everyone.  Will we be horrified or impressed?

David



>From: "James Mitchell" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: [OT] Must be desperate times for M$
>Date: Fri, 28 Feb 2003 16:19:56 -0500
>
>
>"In order to develop its software industry and maintain security, China
>has produced its own version of Linux, Red Flag Linux, as well as its
>own office productivity suite, RedOffice, which go head-to-head with
>Microsoft's Windows and Office packages."
>
>
>Oh, I love this.  China says, 'put up or shut up'!!!
>
>http://news.com.com/2100-1007-990526.html?tag=fd_top
>
>
>
>--
>James Mitchell
>Web Developer/Struts Evangelist
>http://jakarta.apache.org/struts/
>
>"People demand freedom of speech to make up for the freedom of thought
>which they avoid."
> - Soren Aabye Kierkegaard (1813-1855)
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


-
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: [OT] Must be desperate times for M$

2003-02-28 Thread Brian Lee
The real reason behind this is that with M$'s new activation feature, China 
can't steal their office and os software as easily.

BAL

From: "James Mitchell" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: [OT] Must be desperate times for M$
Date: Fri, 28 Feb 2003 16:19:56 -0500
"In order to develop its software industry and maintain security, China
has produced its own version of Linux, Red Flag Linux, as well as its
own office productivity suite, RedOffice, which go head-to-head with
Microsoft's Windows and Office packages."
Oh, I love this.  China says, 'put up or shut up'!!!

http://news.com.com/2100-1007-990526.html?tag=fd_top



--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/
"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)


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


_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: [OT] Must be desperate times for M$

2003-02-28 Thread David Graham
It's only a matter of time before the windows source code is leaked to 
everyone.  Will we be horrified or impressed?

David



From: "James Mitchell" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: [OT] Must be desperate times for M$
Date: Fri, 28 Feb 2003 16:19:56 -0500
"In order to develop its software industry and maintain security, China
has produced its own version of Linux, Red Flag Linux, as well as its
own office productivity suite, RedOffice, which go head-to-head with
Microsoft's Windows and Office packages."
Oh, I love this.  China says, 'put up or shut up'!!!

http://news.com.com/2100-1007-990526.html?tag=fd_top



--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/
"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)


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


_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Wanted best practice for i18n'd optionsCollection

2003-02-28 Thread Bob . Coss
Hi all,

I've successfully used the applications.properties method of isolating my
messages, prompts etc. so I can use different locales in my struts pages.  I
have some static select fields and I'm wondering what would be the best way
to use something like the optionsCollection to work with different locales.

As near as I can tell I might:

- Create a custom tag that builds the collection for a particular locale and
sticks it into the Application Context if it is not already there.  Then put
a reference in my page context for the "generalized" collection property to
reference.
- Then use OptionsCollection to display the collection of select options.

I've not been able to figure out the best way to do this since there doesn't
seem to be locale information for the optionsCollection tag.

Any suggestions would be gratefully appreciated!

Thanks in advance,

Bob

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



[OT] Must be desperate times for M$

2003-02-28 Thread James Mitchell

"In order to develop its software industry and maintain security, China
has produced its own version of Linux, Red Flag Linux, as well as its
own office productivity suite, RedOffice, which go head-to-head with
Microsoft's Windows and Office packages."


Oh, I love this.  China says, 'put up or shut up'!!!

http://news.com.com/2100-1007-990526.html?tag=fd_top



--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

"People demand freedom of speech to make up for the freedom of thought
which they avoid."
- Soren Aabye Kierkegaard (1813-1855)




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



RE: one more prepopulate question

2003-02-28 Thread Jayaraman Dorai
In the home page we have, where more than one form is required, we have used frames.  
The frames src points to action which prepopulates the form and is displayed in the 
jsp. Which also means there is a separate jsp page for each form.

Jayaraman  

-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 2:56 PM
To: Struts Users Mailing List
Subject: Re: one more prepopulate question


On Fri, 28 Feb 2003 12:50:56 -0500
"Sri Sankaran" <[EMAIL PROTECTED]> wrote:
 
> Where are you running into a problem?

I think the initial problem was how you would pre-populate several
ActionForms inside of one Action and then be able to use those
ActionForms to create several forms in the resulting JSP page.

>From what I can gather this is not too difficult as all you would do is
create as many ActionForm instances as you need in your SetupAction and
then put them all into request scope. You then can set up multiple forms
as you see fit on the fowarded to JSP page. 

The only thing I haven't found a nice work around for is that you can
only use one mapping.getAttribute() call in the Action for the form
associated with that Action. In example will help.

You have an Action class that you want to use to prepopulate three
Action Forms and then forward to a JSP page and set up three separate
forms. So you might have a mapping...





So now in the SetUpFormsAction you can easily put Form1 into scope by:
 
Form1 form1 = (Form1)form;
form1.setFoo("hello");
request.setAttribute(mapping.getAttribute(), form1 );

But now for another ActionForm (Form2) to put into scope you'd have
Form2 form2 = new Form2();
form2.setFooBar("BLA");
request.setAttribute( "form2", form2 );

The part I don't like is you now have to remember that you need to
remember that you HAVE to refer to your Form2 object as "form2" in your
mapping set up in your struts-config.xml file or else you JSP page will
not be able to find it. It's not a super big deal, but a bit annoying. 
Maybe there is another way to do it that I'm missing.


-- 
Rick Reumann

-
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: [OT] trouble with JDBC

2003-02-28 Thread alexj
Thanks it 's work just fine now :)

--
Alexandre
>-- Original Message --
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>From: "Vinh Tran" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: RE: [OT] trouble with JDBC
>Date: Fri, 28 Feb 2003 16:16:30 -0500
>
>
>do this...
>
>SELECT  p.name, p.firstName, p.adress, f.name as formation_name
>FROM person p, formation f
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 28, 2003 4:06 PM
>To: Struts Users Mailing List; 'Struts Users Mailing List'
>Subject: RE: [OT] trouble with JDBC
>
>
>It's still doesn't work ..
>
>I'm been using postgresql 7.3 on cygwin with the jdbc driver comming with
>jboss.
>
>--
>Alexandre Jaquet
>
>>-- Original Message --
>>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>>From: "James Mitchell" <[EMAIL PROTECTED]>
>>To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
>>Subject: RE: [OT] trouble with JDBC
>>Date: Fri, 28 Feb 2003 15:54:49 -0500
>>
>>
>>Use an alias.
>>
>>Depending on the vendor you could have:
>>SELECT  name, firstName, adress, formation.name formation_name FROM
>>person, formation
>>
>>Or
>>
>>SELECT  name, firstName, adress, formation.name as formation_name FROM
>>person, formation
>>
>>
>>--
>>James Mitchell
>>Web Developer/Struts Evangelist
>>http://jakarta.apache.org/struts/
>>
>>
>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>>> Sent: Friday, February 28, 2003 3:49 PM
>>> To: Struts Users Mailing List; [EMAIL PROTECTED]
>>> Subject: [OT] trouble with JDBC
>>>
>>>
>>> Hi know this is really out of topic but I get trouble with
>>> query who require
>>> multiple tables with same column name through JDBC.
>>>
>>> Ex :
>>>   SELECT  name, firstName, adress, formation.name FROM
>>> person, formation
>>> .
>>>
>>> With a query like this one I got en exception : The column
>>> name formation.name
>>> not found 
>>>
>>> But work fine in a console...
>>>
>>> Any idea ??
>>>
>>> --
>>> Alexandre Jaquet
>>>
>>> sunrise premiumsurf - ne vous contentez pas du minimum!
>>> http://internet.sunrise.ch/fr/internet/int_sps.asp
>>>
>>>
>>>
>>>
>>> -
>>> 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]
>>
>
>
>sunrise premiumsurf - ne vous contentez pas du minimum!
>http://internet.sunrise.ch/fr/internet/int_sps.asp
>
>
>
>
>-
>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]
>


sunrise premiumsurf - ne vous contentez pas du minimum!
http://internet.sunrise.ch/fr/internet/int_sps.asp




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



RE: [OT] trouble with JDBC

2003-02-28 Thread alexj
Thanks it 's work just fine now :)

--
Alexandre
>-- Original Message --
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Reply-To: <[EMAIL PROTECTED]>
>From: "Vinh Tran" <[EMAIL PROTECTED]>
>To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>Subject: RE: [OT] trouble with JDBC
>Date: Fri, 28 Feb 2003 16:16:30 -0500
>
>
>do this...
>
>SELECT  p.name, p.firstName, p.adress, f.name as formation_name
>FROM person p, formation f
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 28, 2003 4:06 PM
>To: Struts Users Mailing List; 'Struts Users Mailing List'
>Subject: RE: [OT] trouble with JDBC
>
>
>It's still doesn't work ..
>
>I'm been using postgresql 7.3 on cygwin with the jdbc driver comming with
>jboss.
>
>--
>Alexandre Jaquet
>
>>-- Original Message --
>>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>>From: "James Mitchell" <[EMAIL PROTECTED]>
>>To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
>>Subject: RE: [OT] trouble with JDBC
>>Date: Fri, 28 Feb 2003 15:54:49 -0500
>>
>>
>>Use an alias.
>>
>>Depending on the vendor you could have:
>>SELECT  name, firstName, adress, formation.name formation_name FROM
>>person, formation
>>
>>Or
>>
>>SELECT  name, firstName, adress, formation.name as formation_name FROM
>>person, formation
>>
>>
>>--
>>James Mitchell
>>Web Developer/Struts Evangelist
>>http://jakarta.apache.org/struts/
>>
>>
>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>>> Sent: Friday, February 28, 2003 3:49 PM
>>> To: Struts Users Mailing List; [EMAIL PROTECTED]
>>> Subject: [OT] trouble with JDBC
>>>
>>>
>>> Hi know this is really out of topic but I get trouble with
>>> query who require
>>> multiple tables with same column name through JDBC.
>>>
>>> Ex :
>>>   SELECT  name, firstName, adress, formation.name FROM
>>> person, formation
>>> .
>>>
>>> With a query like this one I got en exception : The column
>>> name formation.name
>>> not found 
>>>
>>> But work fine in a console...
>>>
>>> Any idea ??
>>>
>>> --
>>> Alexandre Jaquet
>>>
>>> sunrise premiumsurf - ne vous contentez pas du minimum!
>>> http://internet.sunrise.ch/fr/internet/int_sps.asp
>>>
>>>
>>>
>>>
>>> -
>>> 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]
>>
>
>
>sunrise premiumsurf - ne vous contentez pas du minimum!
>http://internet.sunrise.ch/fr/internet/int_sps.asp
>
>
>
>
>-
>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]
>


sunrise premiumsurf - ne vous contentez pas du minimum!
http://internet.sunrise.ch/fr/internet/int_sps.asp




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



RE: [OT] trouble with JDBC

2003-02-28 Thread James Mitchell
What do you mean?  Are you still trying to get 'formation.name'?

If so, you should be using the alias (formation_name).



--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 28, 2003 4:06 PM
> To: Struts Users Mailing List; 'Struts Users Mailing List'
> Subject: RE: [OT] trouble with JDBC
> 
> 
> It's still doesn't work ..
> 
> I'm been using postgresql 7.3 on cygwin with the jdbc driver 
> comming with
> jboss.
> 
> --
> Alexandre Jaquet
> 
> >-- Original Message --
> >Reply-To: "Struts Users Mailing List" 
> <[EMAIL PROTECTED]>
> >From: "James Mitchell" <[EMAIL PROTECTED]>
> >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> >Subject: RE: [OT] trouble with JDBC
> >Date: Fri, 28 Feb 2003 15:54:49 -0500
> >
> >
> >Use an alias.
> >
> >Depending on the vendor you could have:
> >SELECT  name, firstName, adress, formation.name formation_name FROM
> >person, formation
> >
> >Or 
> >
> >SELECT  name, firstName, adress, formation.name as 
> formation_name FROM
> >person, formation
> >
> >
> >--
> >James Mitchell
> >Web Developer/Struts Evangelist
> >http://jakarta.apache.org/struts/
> >
> >
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> >> Sent: Friday, February 28, 2003 3:49 PM
> >> To: Struts Users Mailing List; [EMAIL PROTECTED]
> >> Subject: [OT] trouble with JDBC
> >> 
> >> 
> >> Hi know this is really out of topic but I get trouble with 
> >> query who require
> >> multiple tables with same column name through JDBC.
> >> 
> >> Ex :
> >>   SELECT  name, firstName, adress, formation.name FROM 
> >> person, formation
> >> .
> >> 
> >> With a query like this one I got en exception : The column 
> >> name formation.name
> >> not found 
> >> 
> >> But work fine in a console...
> >> 
> >> Any idea ??
> >> 
> >> --
> >> Alexandre Jaquet
> >> 
> >> sunrise premiumsurf - ne vous contentez pas du minimum!
> >> http://internet.sunrise.ch/fr/internet/int_sps.asp
> >> 
> >> 
> >> 
> >> 
> >> 
> -
> >> 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]
> >
> 
> 
> sunrise premiumsurf - ne vous contentez pas du minimum!
> http://internet.sunrise.ch/fr/internet/int_sps.asp
> 
> 
> 
> 
> -
> 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: [OT] trouble with JDBC

2003-02-28 Thread Vinh Tran
do this...

SELECT  p.name, p.firstName, p.adress, f.name as formation_name 
FROM person p, formation f

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 4:06 PM
To: Struts Users Mailing List; 'Struts Users Mailing List'
Subject: RE: [OT] trouble with JDBC


It's still doesn't work ..

I'm been using postgresql 7.3 on cygwin with the jdbc driver comming with
jboss.

--
Alexandre Jaquet

>-- Original Message --
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>From: "James Mitchell" <[EMAIL PROTECTED]>
>To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
>Subject: RE: [OT] trouble with JDBC
>Date: Fri, 28 Feb 2003 15:54:49 -0500
>
>
>Use an alias.
>
>Depending on the vendor you could have:
>SELECT  name, firstName, adress, formation.name formation_name FROM
>person, formation
>
>Or 
>
>SELECT  name, firstName, adress, formation.name as formation_name FROM
>person, formation
>
>
>--
>James Mitchell
>Web Developer/Struts Evangelist
>http://jakarta.apache.org/struts/
>
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>> Sent: Friday, February 28, 2003 3:49 PM
>> To: Struts Users Mailing List; [EMAIL PROTECTED]
>> Subject: [OT] trouble with JDBC
>> 
>> 
>> Hi know this is really out of topic but I get trouble with 
>> query who require
>> multiple tables with same column name through JDBC.
>> 
>> Ex :
>>   SELECT  name, firstName, adress, formation.name FROM 
>> person, formation
>> .
>> 
>> With a query like this one I got en exception : The column 
>> name formation.name
>> not found 
>> 
>> But work fine in a console...
>> 
>> Any idea ??
>> 
>> --
>> Alexandre Jaquet
>> 
>> sunrise premiumsurf - ne vous contentez pas du minimum!
>> http://internet.sunrise.ch/fr/internet/int_sps.asp
>> 
>> 
>> 
>> 
>> -
>> 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]
>


sunrise premiumsurf - ne vous contentez pas du minimum!
http://internet.sunrise.ch/fr/internet/int_sps.asp




-
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: [OT] trouble with JDBC

2003-02-28 Thread alexj
It's still doesn't work ..

I'm been using postgresql 7.3 on cygwin with the jdbc driver comming with
jboss.

--
Alexandre Jaquet

>-- Original Message --
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>From: "James Mitchell" <[EMAIL PROTECTED]>
>To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
>Subject: RE: [OT] trouble with JDBC
>Date: Fri, 28 Feb 2003 15:54:49 -0500
>
>
>Use an alias.
>
>Depending on the vendor you could have:
>SELECT  name, firstName, adress, formation.name formation_name FROM
>person, formation
>
>Or
>
>SELECT  name, firstName, adress, formation.name as formation_name FROM
>person, formation
>
>
>--
>James Mitchell
>Web Developer/Struts Evangelist
>http://jakarta.apache.org/struts/
>
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Sent: Friday, February 28, 2003 3:49 PM
>> To: Struts Users Mailing List; [EMAIL PROTECTED]
>> Subject: [OT] trouble with JDBC
>>
>>
>> Hi know this is really out of topic but I get trouble with
>> query who require
>> multiple tables with same column name through JDBC.
>>
>> Ex :
>>   SELECT  name, firstName, adress, formation.name FROM
>> person, formation
>> .
>>
>> With a query like this one I got en exception : The column
>> name formation.name
>> not found 
>>
>> But work fine in a console...
>>
>> Any idea ??
>>
>> --
>> Alexandre Jaquet
>>
>> sunrise premiumsurf - ne vous contentez pas du minimum!
>> http://internet.sunrise.ch/fr/internet/int_sps.asp
>>
>>
>>
>>
>> -
>> 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]
>


sunrise premiumsurf - ne vous contentez pas du minimum!
http://internet.sunrise.ch/fr/internet/int_sps.asp




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



RE: one more prepopulate question

2003-02-28 Thread Sri Sankaran
>  type="foo.bar.SetUpFormsAction"
> name="form1"
> scope="request"
> validate="false"
> >
>  name="continue"
> path="/severalFormsOnAPage.jsp"/>
> 
> 
> So now in the SetUpFormsAction you can easily put Form1 into scope by:
>  
> Form1 form1 = (Form1)form;
> form1.setFoo("hello");
> request.setAttribute(mapping.getAttribute(), form1 );

Actually, unless you are going (back) to a page that contains a form with action of 
"setupMultipleForms" you can't use this strategy.

What you actually need to know is the name attribute of the action mapping 
corresponding to the page to which the user is being directed *next*.  However, this 
isn't the end of the world; you can programmatically figure the name of the form-bean 
etc as follows:

  ApplicationConfig appConfig = (ApplicationConfig)
request.getAttribute(Globals.APPLICATION_KEY);
  ActionConfig actionConfig = appConfig.findActionConfig("/foo");
  String name = actionConfig.getName(); // Form bean name
  String attribute = actionConfig.getAttribute(); // Attribute to store under
  String scope = actionConfig.getScope(); // Scope to store in
  FormBeanConfig fbConfig = appConfig.findFormBeanConfig(name);

Now you've got all the metadata you need to dynamically instantiate the
appropriate form bean, and store it under the appropriate attribute in the
appropriate scope, without hard coding any of this stuff.

This is a snippet that Craig wrote up in response to an earlier post. 


Sri

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



Problem getting logger working

2003-02-28 Thread Felix Janssen
Hello

I'm developping a struts application with tomcat. I use the commons-logging
package for logging.

commons-logging.properties:
--
#
# commons-logging config
#

org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactory
Impl
org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
--

simplelog.properties:
--
#
# simplelog config
#

org.apache.commons.logging.simplelog.defaultlog=trace
--

Both reside in my WEB-INF/classes-dir, they are properly named and are
world-readable, but somehow they are not loaded, so commons-logging falls
back to default behaviour.

What am I doing wrong?

regards

Felix

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



RE: [OT] trouble with JDBC

2003-02-28 Thread James Mitchell
Use an alias.

Depending on the vendor you could have:
SELECT  name, firstName, adress, formation.name formation_name FROM
person, formation

Or 

SELECT  name, firstName, adress, formation.name as formation_name FROM
person, formation


--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 28, 2003 3:49 PM
> To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: [OT] trouble with JDBC
> 
> 
> Hi know this is really out of topic but I get trouble with 
> query who require
> multiple tables with same column name through JDBC.
> 
> Ex :
>   SELECT  name, firstName, adress, formation.name FROM 
> person, formation
> .
> 
> With a query like this one I got en exception : The column 
> name formation.name
> not found 
> 
> But work fine in a console...
> 
> Any idea ??
> 
> --
> Alexandre Jaquet
> 
> sunrise premiumsurf - ne vous contentez pas du minimum!
> http://internet.sunrise.ch/fr/internet/int_sps.asp
> 
> 
> 
> 
> -
> 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]



[OT] trouble with JDBC

2003-02-28 Thread alexj
Hi know this is really out of topic but I get trouble with query who require
multiple tables with same column name through JDBC.

Ex :
  SELECT  name, firstName, adress, formation.name FROM person, formation
.

With a query like this one I got en exception : The column name formation.name
not found 

But work fine in a console...

Any idea ??

--
Alexandre Jaquet

sunrise premiumsurf - ne vous contentez pas du minimum!
http://internet.sunrise.ch/fr/internet/int_sps.asp




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



Re: Referencing an application level image

2003-02-28 Thread Christopher Cheng
That only works in Linux/Unix environment, I have to make my application
work on both Windows and Linux environment. Also it seems that I will have
more headache in deployment (making symbolic everytime the war file is
exploded)

- Original Message -
From: "Louie Zhang" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
"Christopher Cheng" <[EMAIL PROTECTED]>
Sent: Saturday, March 01, 2003 12:28 AM
Subject: Re: Referencing an application level image


> Think about make a symbol link of every /myapp/mymodule1/sharedimages/,
> /myapp/mymodule2/sharedimages/ to /myapp/images
> then you can refer to 
>
> - Original Message -
> From: "Christopher Cheng" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 28, 2003 11:10 AM
> Subject: Referencing an application level image
>
>
> How can I reference an image located in the application's root image
folder
> with  in a mutiple module environment?
>
> For example if I use
> 
> it will generate "/myapp/mymodule/images/picture.gif"
>
> If I would like to reference "/myapp/images/picture.gif" instead, how
could
> I do it?
>


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



RE: Wanted: struts-calendar

2003-02-28 Thread Dan Allen
*shameless plug*

http://mojavelinux.com/forum/viewtopic.php?t=6

has been a very popular download on my site.  I developed while
working on a webapp for my company and released it LGPL.  It
supports locale configuration as well as themes and making the first
day of the week Sunday or Monday.  Best part is, it looks nice.

Check it out.

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
umm... i guess this is my signature. 8-}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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



Re: Wanted: struts-calendar

2003-02-28 Thread Daniel Jaffa
Check out all you can do with this.  Matt Kruse rocks. 


Also give the man a tip
- Original Message - 
From: "David Bolsover" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, February 27, 2003 4:23 PM
Subject: RE: Wanted: struts-calendar


> cool
> 
> thnx
> 
> > -Original Message-
> > From: Raible, Matt [mailto:[EMAIL PROTECTED]
> > Sent: 27 February 2003 20:14
> > To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]'
> > Subject: RE: Wanted: struts-calendar
> > 
> > 
> > #2 on this page is my favorite:
> > 
> > http://www.mattkruse.com/javascript/calendarpopup/
> > 
> > > -Original Message-
> > > From: David Bolsover [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, February 27, 2003 1:10 PM
> > > To: Struts User
> > > Subject: Wanted: struts-calendar
> > > 
> > > 
> > > Does anyone know of a good pop-up style calendar that will 
> > > work with struts  > > 
> > > Ideally I need somthing that will support the notion of locales.
> > > 
> > > 
> > > 
> > > db 
> > > 
> > > -
> > > 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: one more prepopulate question

2003-02-28 Thread Rick Reumann
On Fri, 28 Feb 2003 12:50:56 -0500
"Sri Sankaran" <[EMAIL PROTECTED]> wrote:
 
> Where are you running into a problem?

I think the initial problem was how you would pre-populate several
ActionForms inside of one Action and then be able to use those
ActionForms to create several forms in the resulting JSP page.

>From what I can gather this is not too difficult as all you would do is
create as many ActionForm instances as you need in your SetupAction and
then put them all into request scope. You then can set up multiple forms
as you see fit on the fowarded to JSP page. 

The only thing I haven't found a nice work around for is that you can
only use one mapping.getAttribute() call in the Action for the form
associated with that Action. In example will help.

You have an Action class that you want to use to prepopulate three
Action Forms and then forward to a JSP page and set up three separate
forms. So you might have a mapping...





So now in the SetUpFormsAction you can easily put Form1 into scope by:
 
Form1 form1 = (Form1)form;
form1.setFoo("hello");
request.setAttribute(mapping.getAttribute(), form1 );

But now for another ActionForm (Form2) to put into scope you'd have
Form2 form2 = new Form2();
form2.setFooBar("BLA");
request.setAttribute( "form2", form2 );

The part I don't like is you now have to remember that you need to
remember that you HAVE to refer to your Form2 object as "form2" in your
mapping set up in your struts-config.xml file or else you JSP page will
not be able to find it. It's not a super big deal, but a bit annoying. 
Maybe there is another way to do it that I'm missing.


-- 
Rick Reumann

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



RE: [OT] Applet and Calendar class

2003-02-28 Thread Mark Galbreath
Applets run on the client; it will get an instance of the local date-time.

Mark


-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 2:23 PM

Hi,
I am developing a applet which will be used by clients
all over the world, in this applet i have to use
calendar class to do lot of date calculations.
I am using Calendar.getInstance() to get the instance
of calendar, 
I want to know if this will create problem , as the
server will be in USA, and clients at other places...
so the default vacations etc will be different
according to client locations...
any suggestion, comments 



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



tiles & tabs: remembering which tab is selected between requests...

2003-02-28 Thread Jim Snyder

Hello...

I'm using a ... XML file to represent 
definitions of tabs that will be used in an application. The layout of our application 
is similar to MS Explorer: left side is a tree and once a node is clicked, the right 
side is the view of that node. I am able to remember which tab is selected between 
each request for each node by the following piece of code (from a modified 
tabsLayout.jsp example)




String requestLastSelectedIndex = request.getParameter(parameterName);
String sessionLastSelectedIndex = (String)session.getAttribute(parameterName);
...
if((requestLastSelectedIndex==null) &&
   (sessionLastSelectedIndex==null))
{
  selectedIndex = 0;
}
else if(requestLastSelectedIndex==null)
{
  selectedIndex = Integer.parseInt(sessionLastSelectedIndex);
}
else
{
  selectedIndex = Integer.parseInt(requestLastSelectedIndex);
  session.setAttribute(parameterName, requestLastSelectedIndex);
}


So for each nodeX (where X=1..5) on the left side of the application, there is a 
 that gets represented with the following format (5 unique 
times):

  
 
 
 
 
 
  
  
 
 


  
  
  ..


  


This setup works fine when on the left side all nodes ***uniquely reference their 
appropriate *** (node1...node5) because the parameterName's value is 
nodeXLastSelectedTab (where X=1..5). And thus what parameter/attribute gets inserted 
into the request/session stated above is unique:  
session.setAttribute(node3LastSelectedTab, "2") if I clicked on node3 and selected the 
2nd tab on the right side.

Since the nodes on the left side are data driven, one could conceivably have two nodes 
that reference the same . So consider the example of when there are 6 
nodes. The problem arises when I click the 3rd node and choose the 2nd tab (as I 
describe above) and now I click on a sixth node (node6) ***for the first time*** who 
programmatically references the  of node3. So the session/request 
getAttribute/getParameter will use node3LastSelectedTab to lookup and **inproperly** 
shows the 2nd tab.


Is there a "struts way" to solve this? I know I could always set some attribute on the 
session inside the Action's java code and rewrite the above code as

String requestLastSelectedIndex = request.getParameter(parameterName + 
session.getAttribute("MODEL_ID"));
String sessionLastSelectedIndex = (String)session.getAttribute(parameterName + 
session.getAttribute("MODEL_ID"));

session.setAttribute(parameterName + session.getAttribute("MODEL_ID"), 
requestLastSelectedIndex);

But I don't want to be straying off something that struts may have already solved. 
Plus, is there a struts way to remember the last selected tab? I may be doing that 
incorrect and led me down this path to begin with.


Thanks for your time and patience...Jim



RE: action form error messages

2003-02-28 Thread James Mitchell
That's not a class, it's a value setup within the framework to store
beans in the request/session/whatever you told it to.  

(Specifically, it is in org.apache.struts.taglib.html.Constants)
...
...
/**
 * The name of this package.
 */
public static final String Package =
"org.apache.struts.taglib.html";

/**
 * The attribute key for the bean our form is related to.
 */
public static final String BEAN_KEY = Package + ".BEAN";
...
...



It might seem non-intuitive to some people to see what looks like a
class, but it is the best thing to help you debug your pages and not
step on one of your attributes since you can (for some tags) specify any
value you want.

Imagine you have an application that sets 5 beans with 15 fields each in
the request under various keys, one of which is called "customerBean".
Let's assume that for some reason you mispelled it on your jsp page as
"customerBaen".

So you have this.


When you go to this page you get a big stack trace in your face.  Now,
how do you know where to look?  What caused it?  With 5 beans (75
fields) to display, all struts knows is that you wanted a bean called
'customerBaen' and it wasn't there.  

Struts has no idea that it was a
com.mycompany.struts.framework.customer.view.AuthorizedCustomer so it
simple tells you it 'couldn't find bean customerBaen under any scope'.
AHA!!!  That's it!!  I just search my jsp for 'customerBaen', fix the
typo and I'm back up and running.

The problem is that the Struts taglibs are so friendly, that it is a bit
confusing to people who are new to the framework.  I should know, I
hated trying to figure out that damn message when I first started...LOL!

Good luck!!


--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/



> -Original Message-
> From: Alex McLintock [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 28, 2003 12:54 PM
> To: [EMAIL PROTECTED]
> Subject: action form error messages
> 
> 
> Hi folks,
> 
> I am using traditional action forms rather than 
> DynaActionForms and when I 
> get it slightly wrong (eg by missing out get/set methods) I get the 
> following error
> 
> No getter method for property seriesnumber of bean 
> org.apache.struts.taglib.html.BEAN
> 
> Why is it telling me the problem is within the class 
> org.apache.struts.taglib.html.BEAN and not within my ActionForm.
> 
> Cheers.
> 
> Alex
> 
> 
> Available for java/perl/C++/web development in London, UK or nearby.
> Apache FOP, Cocoon, Turbine, Struts,XSL:FO, XML, Tomcat, JSP
> http://www.OWAL.co.uk/
> 
> 
> -
> 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: Repopulating FormFile field after form validation fails.

2003-02-28 Thread James Mitchell
No, you're doing it correctly.  There's a brief discussion about this
right now on the struts-dev list.
Struts will let you specify a value, but most browswers ignore it.

We will be documenting this better after tonight.



--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/



> -Original Message-
> From: Susan Bradeen [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 28, 2003 2:12 PM
> To: [EMAIL PROTECTED]
> Subject: Repopulating FormFile field after form validation fails.
> 
> 
> In searching the archives, it appears that, by deliberate design for 
> security reasons, the FormFile field value cannot be 
> repopulated after 
> validation using the methods typical to other form fields. 
> The jsp page 
> source code shows a value for the field,
> 
>  value="org.apache.struts.upload.CommonsMultipartRequestHandler
> [EMAIL PROTECTED]">
> 
> but the field itself in the jsp is still blank. I am guessing this is 
> proper browser behavior. Maybe I am wrong already? If not, is there a 
> common work-around that I have missed for setting the 
>  value 
> with the user's original selection, or does everyone just 
> make the user 
> browse and select their file over again? 
> 
> An archive post on the subject:
> http://marc.theaimsgroup.com/?l=struts-user&m=102644179705188&w=2
> 
> Any comments are appreciated.
> 
> Susan Bradeen
> SoftLanding Systems, Inc
> [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]



[OT] Applet and Calendar class

2003-02-28 Thread Ashish Kulkarni
Hi,
I am developing a applet which will be used by clients
all over the world, in this applet i have to use
calendar class to do lot of date calculations.
I am using Calendar.getInstance() to get the instance
of calendar, 
I want to know if this will create problem , as the
server will be in USA, and clients at other places...
so the default vacations etc will be different
according to client locations...
any suggestion, comments 
Ashish

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



Repopulating FormFile field after form validation fails.

2003-02-28 Thread Susan Bradeen
In searching the archives, it appears that, by deliberate design for 
security reasons, the FormFile field value cannot be repopulated after 
validation using the methods typical to other form fields. The jsp page 
source code shows a value for the field,



but the field itself in the jsp is still blank. I am guessing this is 
proper browser behavior. Maybe I am wrong already? If not, is there a 
common work-around that I have missed for setting the  value 
with the user's original selection, or does everyone just make the user 
browse and select their file over again? 

An archive post on the subject:
http://marc.theaimsgroup.com/?l=struts-user&m=102644179705188&w=2

Any comments are appreciated.

Susan Bradeen
SoftLanding Systems, Inc
[EMAIL PROTECTED]

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



RE: deploy with ant, best practices

2003-02-28 Thread Jaye Bass
My ant targets build directly into my webapp directories...the root
location is set in an env variable. This really seems to work for us on
a variety of systems (linux, windows, and occasionally macs) from
development to ultimate deployment and maintenance.

-Original Message-
From: Dan Allen [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 1:30 AM
To: [EMAIL PROTECTED]
Subject: deploy with ant, best practices

I have been studying ant very thoroughly over the past two days, and
I completely understand the file from top to bottom, including how
to reload the application using the  tag imported from
org.apache.catalina.ant.ReloadTask.  However, I am stuck on an
issue.

Assuming that I follow the techniques from the book Struts Kick
Start, I create a development tree such as

${app.home}
/build
/deploy
/object
/src
/lib
/web
/WEB-INF
/META-INF

then the actual target tree (under tomcat/webapps) is the typical

${app.name}.war
${app.name}
/WEB-INF
/WEB-INF/lib
/WEB-INF/classes
/META-INF

Okay, now stay with me here.  Assume that I currently have the
application running under tomcat.  If I build the .war file from the
build/ directory and place it into ${app.home}/deploy, then copy
it to ${app.name}.war under tomcat/webapps, it isn't going to
automatically expand over the current running tree.  It just sits
there until I kick tomcat (restart it) after deleting the running
application directory.

So what I did instead was I made the build/ directory the actual
running application directory so it just copied over the "live"
files directly as they were updated by javac.  Then a simple
"reload" would cause the application to start using the updated
files.

The question on the table is as follows.  How do you get tomcat to
expand an updated .war file over a currently running application
before you reload it?  It seems wrong to have the "live" application
the target of my build process.

The goal here is to update the running application without having to
restart tomcat and without having to use the running application as
the target of the build process.  I want to be able to copy the
updated .war file into the tomcat/webapps folder and have it expand
it over the running application files.  Is this unreasonable to
expect this?  How does everyone else do it.  Surely you are not
restarting tomcat all day.

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
"I am the GOD.the GOD...of house!" 
 -- Leeloo
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

-
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: action form error messages

2003-02-28 Thread Dennis Muhlestein
Because it doesn't matter what the name of your bean is.  Stuts always
sets it as an attribute in your selected scope.  The name of that
attribute happens to be org.apache.struts.taglib.html.BEAN.

if you were to call getClass() on that bean, you would see your class.


I think that is right but might be completely and 100% incorrect


-dennis

On Fri, 2003-02-28 at 10:54, Alex McLintock wrote:
> Hi folks,
> 
> I am using traditional action forms rather than DynaActionForms and when I 
> get it slightly wrong (eg by missing out get/set methods) I get the 
> following error
> 
> No getter method for property seriesnumber of bean 
> org.apache.struts.taglib.html.BEAN
> 
> Why is it telling me the problem is within the class 
> org.apache.struts.taglib.html.BEAN and not within my ActionForm.
> 
> Cheers.
> 
> Alex
> 
> 
> Available for java/perl/C++/web development in London, UK or nearby.
> Apache FOP, Cocoon, Turbine, Struts,XSL:FO, XML, Tomcat, JSP
> http://www.OWAL.co.uk/
> 
> 
> -
> 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: logic:iterate over a HashMap - can't pass key to get value method

2003-02-28 Thread Huw Jones
Thanks David that worked  - I did try that in my investigations but must
have missed
something

HUW

-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]
Sent: 28 February 2003 18:24
To: Struts Users Mailing List
Subject: RE: logic:iterate over a HashMap - can't pass key to get value
method


Expression scriptlets have to be the entire attribute value, not just a
portion of it.  Change the value of the "property" attribute to (don't
forget the wrapping single quotes):

'<%= "locationroomValue(" + (String)mapEntry.getKey() + ")" %>'

> -Original Message-
> From: Huw Jones [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 10:16 AM
> To: [EMAIL PROTECTED]
> Subject: logic:iterate over a HashMap - can't pass key to get value
method
>
>
> I'm having problems passing the key from the Hash map into the method
I
> have
> written to get the value. The code below
> does not work - specifically the bit where I try and pass in the
> mapEntry.getKey() to locationroomValue. I've hit
> a wall trying to sort this - what am I doing wrong - is it a scope
issue.
> If
> I hard code the key it works ok.
>
> 
>  indexId="cnt"
> id="mapEntry" type="java.util.Map.Entry" >
>  
>   property="locationroomValue(<%=(String)mapEntry.getKey()%>)" size="25"
> maxlength="25"/>
> 
> 
>
>
> Thanks
>
>
> Huw Jones
>
>
>
> -
> 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: [update] nested tags...

2003-02-28 Thread Sri Sankaran
Arron:
  Can you please re-build the jar?  Tomcat 4.1.18 throws a

java.util.zip.ZipException: invalid END header (bad central directory offset)

Error.  Methinks, well I'll just unzip it and put it in WEB-INF/classes; 
unfortunately, Winzip too has problems with it.


  I don't want to change too many things at once and so am trying to stick with Struts 
1.1b3 than move to the nightly.


Sri

-Original Message-
From: Arron Bates [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 12:53 AM
To: [EMAIL PROTECTED]
Subject: [update] nested tags...


Peoples,

Important changes just committed into CVS for the nested tags.

1) Copyright date in the header license is updated to include 2003!
2) The internal changes to get them dancing with Tomcat 4.1.18 & more.

For those too lazy to get the entire distrib of the next nightly, you can get just the 
nested tags from...

http://www.keyboardmonkey.com/downloads/km-nested-v2.03.jar

   ...the ony diff between this and the last jar I posted, is it's more reliable in 
using more than one root tag on the same page, using different root tags within the 
nesting itself (docco on this to come), and a bug fix for the two tags which like to 
play differently (nested:options & nested:link).

If people were just about to raise bugs on my last jar of these tags which have 
anything to do with what's just mentioned (multiple root tags, link and options tags), 
can you have another run with this jar to see if they go away.

Docco on the additional stuff this rejig of the tags can do is in the works.

For those who care, enjoy.
For those who don't, as you were.

Thanks again.


Arron.


-
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: logic:iterate over a HashMap - can't pass key to get value method

2003-02-28 Thread Karr, David
Expression scriptlets have to be the entire attribute value, not just a
portion of it.  Change the value of the "property" attribute to (don't
forget the wrapping single quotes):

'<%= "locationroomValue(" + (String)mapEntry.getKey() + ")" %>'

> -Original Message-
> From: Huw Jones [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 10:16 AM
> To: [EMAIL PROTECTED]
> Subject: logic:iterate over a HashMap - can't pass key to get value
method
> 
> 
> I'm having problems passing the key from the Hash map into the method
I
> have
> written to get the value. The code below
> does not work - specifically the bit where I try and pass in the
> mapEntry.getKey() to locationroomValue. I've hit
> a wall trying to sort this - what am I doing wrong - is it a scope
issue.
> If
> I hard code the key it works ok.
> 
> 
>  indexId="cnt"
> id="mapEntry" type="java.util.Map.Entry" >
>  
>   property="locationroomValue(<%=(String)mapEntry.getKey()%>)" size="25"
> maxlength="25"/>
> 
> 
> 
> 
> Thanks
> 
> 
> Huw Jones
> 
> 
> 
> -
> 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: Each Tile can have its own controller ?

2003-02-28 Thread David Graham
The tiles controller should never perform any view logic.  The controller 
just gets data and puts it in the request for the tile to display.

David



From: John Nikolai <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Each Tile can have its own controller ?
Date: Fri, 28 Feb 2003 10:11:45 -0800
What are the advantages of using this method as opposed to creating a 
taglib?  I did read the last part of the document:

"Tiles can act as "quasi" tag libraries - I could have written " 
.penguin.header " Tile as a tag library instead of a tile. But if a tile 
has significant display logic, do I want to bury that in Java code where my 
interface guys can't tweak it? Taglibs are a vehicle for reuse; invest some 
time, get some reuse. What are the odds I going to reuse my " 
.penguin.header " tile in another project?"

Using a combination of taglib and a template engine like Velocity would 
solve the problem of having to embed HTML code into the java code. Are 
there other uses for tile controllers besides a taglib replacement?  I 
guess it comes down to user preference and it's always good to have several 
options to choose from. =)

 - John

On Friday, February 28, 2003, at 06:42 AM, David Graham wrote:

http://blogs.browsermedia.com/patrick/index.do?date=20030211#130200



From: "Rick Ashley" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Each Tile can have its own controller ?
Date: Fri, 28 Feb 2003 12:46:42 +
Tiles site http://www.lifl.fr/~dumoulin/tiles/
says that each tile can have its own controller.
=>It is now possible to associate a controller to each Tile.
This controller (Java code or struts action) is called immediately before 
the Tile jsp page. It is useful to prepare data to be shown by jsp page.

Has anyone a sample code how to do this in Struts application?

Thanks

- rick





_
MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

-
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]


_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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


logic:iterate over a HashMap - can't pass key to get value method

2003-02-28 Thread Huw Jones

I'm having problems passing the key from the Hash map into the method I have
written to get the value. The code below
does not work - specifically the bit where I try and pass in the
mapEntry.getKey() to locationroomValue. I've hit
a wall trying to sort this - what am I doing wrong - is it a scope issue. If
I hard code the key it works ok.



 
 




Thanks


Huw Jones



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



Re: Each Tile can have its own controller ?

2003-02-28 Thread John Nikolai
What are the advantages of using this method as opposed to creating a 
taglib?  I did read the last part of the document:

"Tiles can act as "quasi" tag libraries - I could have written " 
.penguin.header " Tile as a tag library instead of a tile. But if a 
tile has significant display logic, do I want to bury that in Java code 
where my interface guys can't tweak it? Taglibs are a vehicle for 
reuse; invest some time, get some reuse. What are the odds I going to 
reuse my " .penguin.header " tile in another project?"

Using a combination of taglib and a template engine like Velocity would 
solve the problem of having to embed HTML code into the java code. Are 
there other uses for tile controllers besides a taglib replacement?  I 
guess it comes down to user preference and it's always good to have 
several options to choose from. =)

 - John

On Friday, February 28, 2003, at 06:42 AM, David Graham wrote:

http://blogs.browsermedia.com/patrick/index.do?date=20030211#130200



From: "Rick Ashley" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Each Tile can have its own controller ?
Date: Fri, 28 Feb 2003 12:46:42 +
Tiles site http://www.lifl.fr/~dumoulin/tiles/
says that each tile can have its own controller.
=>It is now possible to associate a controller to each Tile.
This controller (Java code or struts action) is called immediately 
before the Tile jsp page. It is useful to prepare data to be shown by 
jsp page.

Has anyone a sample code how to do this in Struts application?

Thanks

- rick





_
MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

-
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: A new Struts book ....

2003-02-28 Thread PILGRIM, Peter, FM
> -Original Message-
> From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]
> 
> I think you can add a new Struts book in Struts ressources page :
> 
> http://blogs.application-servers.com/blogs/page/eboudrant/20030227
> 
----

It seems to be very specific to Eclipse.

At work we have standardise on either Oracle JDeveloper,
which I have got use to by now, and the other team, here,
uses Borland JBuilder.

Oh well I will fine trying to ride Expresso Framework 
and Struts 1.1 integration through NetBeans this weekend.
I am a Emacsphile, but I like IDE for their debugging features.

--
Peter Pilgrim,
Struts/J2EE Consultant, RBoS FM, Risk IT
Tel: +44 (0)207-375-4923




***
  Visit our Internet site at http://www.rbsmarkets.com

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
The Royal Bank of Scotland plc is registered in Scotland No 90312
Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB 
Regulated by the Financial Services Authority
***

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



RE: action form error messages

2003-02-28 Thread Sri Sankaran
There are a few possibilities

* your bean (form-bean or other) does not have a property called
  seriesnumber.  Case is very important.  Struts is looking for a
  method named getSeriesnumber().  Make sure you have such a 
  method and that it is public
* the tag that is causing this error isn't specifying the 'name'
  attribute

Can you post the pertinent section of the JSP and ActionForm?

Sri

-Original Message-
From: Alex McLintock [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 12:54 PM
To: [EMAIL PROTECTED]
Subject: action form error messages


Hi folks,

I am using traditional action forms rather than DynaActionForms and when I 
get it slightly wrong (eg by missing out get/set methods) I get the 
following error

No getter method for property seriesnumber of bean 
org.apache.struts.taglib.html.BEAN

Why is it telling me the problem is within the class 
org.apache.struts.taglib.html.BEAN and not within my ActionForm.

Cheers.

Alex


Available for java/perl/C++/web development in London, UK or nearby. Apache FOP, 
Cocoon, Turbine, Struts,XSL:FO, XML, Tomcat, JSP http://www.OWAL.co.uk/


-
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: one more prepopulate question

2003-02-28 Thread Sri Sankaran
Here's what you are trying to do

  index.jsp 
-> redirects to
  index.do
-> needs to build a bunch'o forms
-> forwards to
  home.jsp

Am I understanding you correctly?

The action corresponding to the path "index" can create any number of form-beans and 
persist them in any scope before forwarding to home.jsp.  Now home.jsp, has several 
s; which implicitly means that it expects several form-beans.  These are 
available courtesy the aforementioned action.

Where are you running into a problem?

Sri

-Original Message-
From: Dan Allen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 26, 2003 7:52 PM
To: [EMAIL PROTECTED]
Subject: one more prepopulate question


I know that the prepopulate question has been beaten into the ground around here and 
the answer on the FAQ page is complete in answering most questions I have about the 
concept.  But I just want to run something by this list, see if I am going about it in 
the right way.

When you are designing an application, and the index page has several mini-forms (such 
as a limited search, a login and maybe a site index) the first page has to be a *.do 
page.  So I figured, make an index.jsp page with



Then my /index action would prepare the forms and display /home.jsp. The FAQ talks 
about putting the form population in the Action class for the /index action, which 
works great...

...except, how would you populate more than one form?  Seems like in the cast you 
limit yourself to the form defined in the action mapping.  Would it be necessary to 
just set up an action chain?

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Real programmers just hate to get up in the morning, and 
contrary to Ordinary People, they're in better shape as 
it gets closer to nighttime.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

-
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: Sessions

2003-02-28 Thread James Childers
> -Original Message-
> From: JONATHAN PHILIP HOLLOWAY [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 11:05 AM
> Subject: Sessions
> 
> Does anybody know when a new session is started?
> Is it in any of the following:
> 
> 1. When a new action is selected?
> 2. When a new page is linked to on the client side?
> 3. When a page is returned to via an action forward?

Well, this actually depends upon how your servlet container handles sessions. Struts 
itself never creates a session; session management is exclusively and appropriately 
the responsibility of the container. If a session doesn't exist most containers will 
automatically create one.

Typically, though, a new session is created when a request comes in that doesn't have 
the appropriate session info as part of the HTTP request. The flow goes something like 
this:

- User requests index.jsp

- Container receives request, searches HTTP headers for session in cookie or, if it 
isn't there, in the request itself (i.e. 
http://www.blech.com/index.jsp;jsessionid=121234ABCD)

- If the container doesn't find any session info associated with this request, it 
creates a new session and will format the response with this new session info, again 
either with a cookie or this pseudo-request parameter. ("Pseudo" because it is 
actually prepended with a semicolon instead of a question mark.)

Neither Struts nor JSP is involved in any of this.

> Also when is a new actionform created? Is it for every 
> request to a new mapping? 

AFAIK, yes. 

> If the scope is set to session should it last throughout the 
> user session no matter what mapping or action the user is 
> currently using?

That is correct. If you do the following in ActionA:

request.getSession().setAttribute("thingy", myObj);

then the following will work in ActionB:

MyObject myObj = (MyObject) request.getSession().getAttribute("thingy");

HTH,

-= James

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



action form error messages

2003-02-28 Thread Alex McLintock
Hi folks,

I am using traditional action forms rather than DynaActionForms and when I 
get it slightly wrong (eg by missing out get/set methods) I get the 
following error

No getter method for property seriesnumber of bean 
org.apache.struts.taglib.html.BEAN

Why is it telling me the problem is within the class 
org.apache.struts.taglib.html.BEAN and not within my ActionForm.

Cheers.

Alex

Available for java/perl/C++/web development in London, UK or nearby.
Apache FOP, Cocoon, Turbine, Struts,XSL:FO, XML, Tomcat, JSP
http://www.OWAL.co.uk/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Reading Date

2003-02-28 Thread Claude Betancourt
I am sure this has been beaten to death, but it is recommended you use
String (or String[]) to capture submitted forms.  Then handle the date
conversion with business logic, whether in your action or business object.

-c

- Original Message -
From: "varma dvk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 1:06 AM
Subject: Re: Reading Date


>
> I Declared Timestamp obj in my bean to store the date, it is giving
> IllegalArugumentException in jsp, when i'm trying to get it from jsp using
> 
>
> Cheers
> Varma
>
>
>
>
>
>
> >From: Rick Reumann <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >Subject: Re: Reading Date
> >Date: Thu, 27 Feb 2003 22:55:27 -0500
> >
> >On Fri, Feb 28,'03 (09:20 AM GMT+0530), varma wrote:
> >
> > > Hi All
> > >How can i read a date from the jsp using struts, i defined date
> > >variable
> > > of type timestamp. it is throwing exception...
> >
> >What do you mean "read a date from the jsp" and what exception is it
> >throwing? Are you getting an error just trying to declare your date in
> >the page?
> >
> >
> >--
> >Rick
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> _
> Hutch MSN Cricketer- ball by ball action - Download Now!
> http://server1.msn.co.in/msnspecials/cricketdownload/contest.asp
>
>
> -
> 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: deploy with ant, best practices

2003-02-28 Thread Craig R. McClanahan

On Fri, 28 Feb 2003, Dan Allen wrote:

> Date: Fri, 28 Feb 2003 01:29:46 -0600
> From: Dan Allen <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: deploy with ant, best practices
>
> I have been studying ant very thoroughly over the past two days, and
> I completely understand the file from top to bottom, including how
> to reload the application using the  tag imported from
> org.apache.catalina.ant.ReloadTask.  However, I am stuck on an
> issue.
>

During development, I find it *much* easier to not use WAR files -- just
point the install command at your build directory that contains the
unpacked webapp.  That way, you never have to worry about Tomcat expanding
anything.

My take on best practices for this are documented in the Application
Developer's Guide that ships with Tomcat (including sample build.xml files
that do the integration with Ant trick).  It's also available online:

  http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/

Craig McClanahan

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



Sessions

2003-02-28 Thread JONATHAN PHILIP HOLLOWAY
Does anybody know when a new session is started?
Is it in any of the following:

1. When a new action is selected?
2. When a new page is linked to on the client side?
3. When a page is returned to via an action forward?

Also when is a new actionform created? Is it for every request to a new mapping? 
If the scope is set to session should it last throughout the user session no matter 
what mapping or action the user is currently using?

In general how do sessions work within Struts, can somebody please please
pretty please provide me with a brief overview or link to some information.

Many thanks,
Jon.

*-*
 Jonathan Holloway,   
 Dept. Of Computer Science,   
 Aberystwyth University, 
 Ceredigion,  
 West Wales,  
 SY23 3DV.
  
 07968 902140 
 http://users.aber.ac.uk/jph8 
*-*


RE: [OT] how do people work in project with one server for development

2003-02-28 Thread Ashish Kulkarni
Hi,

I am working on websphere on AS400, and so cannot have
each developer a seperate test enviornment, 

Although we develop all the code on NT, test it and
put it on AS400, bt there is some code which works on
AS400 only, 
but anyway, we come to a conclusion that, only one
developer works with this part which is AS400 specific
along with other development and others will work on
NT, and we wrote some classes which help us in working
on both envoirments..
Ashish
--- "Chappell, Simon P" <[EMAIL PROTECTED]>
wrote:
> The test server in WSAD is not a full version of
> WAS. It does not handle db connections and some
> aspects of EJBs very well, not to mention that it is
> single server, so there is no way to test
> multi-server code.
> 
> All told, don't rely on the quasi-WAS in WSAD ...
> get a real version of WAS or an open source/free
> application server instead.
> 
> Simon
> 
> >-Original Message-
> >From: Gerhard Poul
> [mailto:[EMAIL PROTECTED]
> >Sent: Friday, February 28, 2003 9:23 AM
> >To: [EMAIL PROTECTED]
> >Subject: Re: [OT] how do people work in project
> with one server for
> >development
> >
> >
> >If you have WSAD on your workstation where is the
> problem with 
> >just using
> >the WAS development license that was installed with
> it?
> >
> >"Chappell, Simon P" <[EMAIL PROTECTED]>
> wrote in message
>
>news:[EMAIL PROTECTED]
> >
> >
> >>-Original Message-
> >>From: Mark Galbreath
> [mailto:[EMAIL PROTECTED]
> >>Sent: Thursday, February 06, 2003 9:42 AM
> >>To: 'Struts Users Mailing List'
> >>Subject: RE: [OT] how do people work in project
> with one server for
> >>development
> >>
> >>
> >>I don't know how IBM licenses WebSphere, but when
> we were
> >>faced with this
> >>problem we decided to go with BEA's WebLogic
> because BEA gave us great
> >>discounts for instances running on our own
> workstations, which
> >>created a
> >>development environment like you describe with
> Tomcat.
> >>Perhaps you should
> >>have shopped around before chaining yourselves to
> Big Blue?
> >
> >If only it were that simple. Some of us get WAS
> handed down to 
> >us from a
> >being so far up the corporate ladder that it still
> has frost 
> >on it. This
> >same breather of rarified air, then also decides
> that once 
> >you're using WAS,
> >you should naturally use WSAD for your IDE. Oh ...
> and they're 
> >going to lock
> >down workstations, so that you can't install free
> stuff on there to use
> >instead.
> >
> >Welcome to Corporate America. Please leave your
> innovation at 
> >home, it will
> >not be required at the office.
> >
> >>Mark
> >
> >
> >
> >Simon
> >
> >
> >
> >
>
>-
> >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]
> 


=
A$HI$H

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

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



Re: How do you display action error messages in jsp?

2003-02-28 Thread julian green
Yes it does work exactly as it should.  It would of course had helped if 
I had spelt the names of the messages in the messages.properties file 
correctly.

Julian

James Mitchell wrote:
I agree, I just finished the test suite against the ErrorsTag so I know
it does exactly what its supposed to.


--
James Mitchell
Web Developer/Struts Evangelist



-Original Message-
From: Gemes Tibor [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 9:53 AM
To: Struts Users Mailing List
Subject: Re: How do you display action error messages in jsp?

julian green wrote:


Done all of your suggestions, and still fails.

this is the end of my action method

   System.out.println("errors.size()=" + errors.size());


You'd better use log4j for debugging, imho.


   if (errors.size() > 0)
   {
   saveErrors(request, errors);
   return mapping.findForward("fail");
   }
   return mapping.findForward("success");
   }
and here is a snippet from struts-config.xml

   
   
   
   
... and finally I have  in error.jsp which renders 
nothing.  Still confused 


But you have the errors.jsp displayed, have you? Look into the logs, 
might help a lot.

Tib



-
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: Referencing an application level image

2003-02-28 Thread Louie Zhang
Think about make a symbol link of every /myapp/mymodule1/sharedimages/,
/myapp/mymodule2/sharedimages/ to /myapp/images
then you can refer to 

- Original Message -
From: "Christopher Cheng" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 11:10 AM
Subject: Referencing an application level image


How can I reference an image located in the application's root image folder
with  in a mutiple module environment?

For example if I use

it will generate "/myapp/mymodule/images/picture.gif"

If I would like to reference "/myapp/images/picture.gif" instead, how could
I do it?


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



RE: Referencing an application level image

2003-02-28 Thread James Mitchell
I do not recommend using relative links.  It will only cause you more
headaches down the road.


--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/



> -Original Message-
> From: Phillip Qin [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 28, 2003 11:16 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Referencing an application level image
> 
> 
> I never tried, but what about "../../images/picture.gif"?
> 
> Regards,
>  
>  
> PQ
>  
> "This Guy Thinks He Knows Everything"
> "This Guy Thinks He Knows What He Is Doing"
> 
> -Original Message-
> From: Christopher Cheng [mailto:[EMAIL PROTECTED] 
> Sent: February 28, 2003 11:10 AM
> To: [EMAIL PROTECTED]
> Subject: Referencing an application level image
> 
> How can I reference an image located in the application's 
> root image folder
> with  in a mutiple module environment?
> 
> For example if I use
> 
> it will generate "/myapp/mymodule/images/picture.gif"
> 
> If I would like to reference "/myapp/images/picture.gif" 
> instead, how could
> I do it?
> 


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



RE: html:multibox and bean:write

2003-02-28 Thread Sri Sankaran
You cannot emded a tag inside another tag.  You can achieve what you are trying as 
follows

  value="<%=styleData.getKey()%>"

Sri

-Original Message-
From: shashi_struts [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 28, 2003 7:23 AM
To: Struts Users Mailing List
Subject: html:multibox and bean:write


hi

hi i am using multibox and in the value i want a data comes from the logic:iterate and 
write through the bean:write

but it gives a problem
 
 

  "/>
  


  

-

this is my code
please consider this and help me

Shashi


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



RE: Struts Sub-modules

2003-02-28 Thread James Mitchell
Ok, here ya go.

Only thing missing is the lib directory.

--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/



> -Original Message-
> From: Stephen Smithstone [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 28, 2003 10:53 AM
> To: Struts Users Mailing List
> Subject: Re: Struts Sub-modules
> 
> 
> James Mitchell or anyone
> 
> ive just uploaded an example i made to 
> 
> www.skullboxhouse.co.uk/downloads/smt.war
> 
> it would be great if u can download and run and help me solve 
> the problem :-)
> 
> Ta
> 
> Stephen
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


smt.zip
Description: Zip compressed data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: Referencing an application level image

2003-02-28 Thread Phillip Qin
I never tried, but what about "../../images/picture.gif"?

Regards,
 
 
PQ
 
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"

-Original Message-
From: Christopher Cheng [mailto:[EMAIL PROTECTED] 
Sent: February 28, 2003 11:10 AM
To: [EMAIL PROTECTED]
Subject: Referencing an application level image

How can I reference an image located in the application's root image folder
with  in a mutiple module environment?

For example if I use

it will generate "/myapp/mymodule/images/picture.gif"

If I would like to reference "/myapp/images/picture.gif" instead, how could
I do it?


Re: Declarative Exception Handling Options

2003-02-28 Thread David Graham
When your action calls the business layer validation it will catch the 
exception that is thrown then translate it into an ActionError for that form 
field.

David



From: "scarter" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Declarative Exception Handling Options
Date: Fri, 28 Feb 2003 10:58:22 -0500
I'm using struts declarative exception handling mechanism, however, I
need to associate a custom exception type with a specific field on the
page so that they can be handled similar to exceptions that occur as a
result of the validator.  For example, we have built a custom extension
that highlights a particular field on the screen when an exception
related to that field occurs.  This works great for validations defined
in the validation.xml file, however, every now and then, a business
validation that is associated with a specific field exists within a
business component and because we don't allow presentation component
references to exist within our business tier, we can't associate a
specific field to the message.  It would be great if the declarative
exception handling mechanism in struts allowed us to make this
relationship.  Any ideas?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Referencing an application level image

2003-02-28 Thread Christopher Cheng
How can I reference an image located in the application's root image folder with 
 in a mutiple module environment?

For example if I use

it will generate "/myapp/mymodule/images/picture.gif"

If I would like to reference "/myapp/images/picture.gif" instead, how could I do it?


how to get original requestURI within a tile?

2003-02-28 Thread perry . tew
Hello,
   I'm using tiles to create a dynamic menu.  It is a
collapsable/expandable menu.  The code behind the menu examines the
requestURI and based on that determines which part of the menu to display.
For example, if a particulate URL was requested, I am displaying that URL
in the menu differently, as well as ensuring it's parents are visible in
the menu too.  The entire menu is created on the server and the client
receive plan html.

Anyway,  my problem is, that when I call request.getRequestURI from within
my tile (menu.jsp), the method returns '/WEB-INF/templates/menu.jsp, rather
than the desired URL '/mycontext/mydir/index.jsp'.  Because of that, I
can't include the menu everywhere and have it automatically determine which
part of the menu to highlight as the current selection etc.

That being said, here is the relevant setup:

struts-config.xml:



tiles-defs.xml:













The only thing I can think of is to put an attribute containing the URL
requested hardcoded within my tiles-defs.xml, so my menu has an idea what
the actual URL request was.  However, them I lose my dynamic ability to
include my menu anywhere I wish and I've got hardcoded URLs everywhere.
Does anyone know how to get the actual URL requested by the browser from
within a tile?  Does the tile library store the original requestURI as some
attribute of the request object (that would be great)?  If you could point
me to the appropriate documentation, I would be most grateful.


Thanks,
Perry Tew



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



Declarative Exception Handling Options

2003-02-28 Thread scarter
I'm using struts declarative exception handling mechanism, however, I
need to associate a custom exception type with a specific field on the
page so that they can be handled similar to exceptions that occur as a
result of the validator.  For example, we have built a custom extension
that highlights a particular field on the screen when an exception
related to that field occurs.  This works great for validations defined
in the validation.xml file, however, every now and then, a business
validation that is associated with a specific field exists within a
business component and because we don't allow presentation component
references to exist within our business tier, we can't associate a
specific field to the message.  It would be great if the declarative
exception handling mechanism in struts allowed us to make this
relationship.  Any ideas?


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



Re: Struts Sub-modules

2003-02-28 Thread Stephen Smithstone
James Mitchell or anyone

ive just uploaded an example i made to 

www.skullboxhouse.co.uk/downloads/smt.war

it would be great if u can download and run and help me solve the problem :-)

Ta

Stephen


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



RE: [OT] how do people work in project with one server for development

2003-02-28 Thread Chappell, Simon P
The test server in WSAD is not a full version of WAS. It does not handle db 
connections and some aspects of EJBs very well, not to mention that it is single 
server, so there is no way to test multi-server code.

All told, don't rely on the quasi-WAS in WSAD ... get a real version of WAS or an open 
source/free application server instead.

Simon

>-Original Message-
>From: Gerhard Poul [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 28, 2003 9:23 AM
>To: [EMAIL PROTECTED]
>Subject: Re: [OT] how do people work in project with one server for
>development
>
>
>If you have WSAD on your workstation where is the problem with 
>just using
>the WAS development license that was installed with it?
>
>"Chappell, Simon P" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]
>
>
>>-Original Message-
>>From: Mark Galbreath [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, February 06, 2003 9:42 AM
>>To: 'Struts Users Mailing List'
>>Subject: RE: [OT] how do people work in project with one server for
>>development
>>
>>
>>I don't know how IBM licenses WebSphere, but when we were
>>faced with this
>>problem we decided to go with BEA's WebLogic because BEA gave us great
>>discounts for instances running on our own workstations, which
>>created a
>>development environment like you describe with Tomcat.
>>Perhaps you should
>>have shopped around before chaining yourselves to Big Blue?
>
>If only it were that simple. Some of us get WAS handed down to 
>us from a
>being so far up the corporate ladder that it still has frost 
>on it. This
>same breather of rarified air, then also decides that once 
>you're using WAS,
>you should naturally use WSAD for your IDE. Oh ... and they're 
>going to lock
>down workstations, so that you can't install free stuff on there to use
>instead.
>
>Welcome to Corporate America. Please leave your innovation at 
>home, it will
>not be required at the office.
>
>>Mark
>
>
>
>Simon
>
>
>
>
>-
>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: FormFile results in BeanUtils.populate error

2003-02-28 Thread Stephen Smithstone

no problem susan i make the same mistake on several occasions

On Friday 28 February 2003 3:17 pm, Susan Bradeen wrote:
> No, I forgot that! I made very sure to *not* forget that the first time
> around, but alas, it slipped my mind this time. It works fine now. Thanks
> a lot Stephen.
>
> Susan
>
> On 02/28/2003 10:11:39 AM Stephen Smithstone wrote:
> > have u got the encrpt line in your jsp form ?? or what ever it is
> >
> > On Friday 28 February 2003 3:04 pm, Susan Bradeen wrote:
> > > I just got through implementing an upload function into my
>
> application,
>
> > > which is working perfectly, and now I am trying to incorporate the
>
> same
>
> > > upload  functionality into an existing "add" action in my application.
> > > (Struts 1.1b3) My new upload action and this add action use different
> > > ActionForms. I am wondering if combining an upload file field with a
>
> jsp
>
> > > form containing a dozen other fields is a problem?
> > >
> > > Any ideas are appreciated.
> > >
> > > Susan Bradeen
> > >
> > >
> > > -
> > > 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: Struts Sub-modules

2003-02-28 Thread Stephen Smithstone
Just on how to set it up and get it workin correctly

i understand that u make up a new config file say

struts-mod1.xml

and mod1 becomes the prefix

then i create a folder under the main webapp folder called mod1

then in my default struts-config.xml i have global forward  say called toMod1


which looks like this 




then i have in my struts-mod1.xml

do i define an actionmapping that does



etc??

had to make that up etc cos i deleted my example on my machine
just need some confirmation on is that the correct setup also

if im in the mod1 module how do i get back to the default mod1

Also i had to laugh at the url in your sig :-)

On Friday 28 February 2003 3:11 pm, James Mitchell wrote:
> What kind of problems are you having?
>
>
>
> --
> James Mitchell
> Web Developer/Struts Evangelist
> http://www.microsoft.com/struts/
>
> > -Original Message-
> > From: Stephen Smithstone [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 28, 2003 9:45 AM
> > To: Struts Users Mailing List
> > Subject: Struts Sub-modules
> >
> >
> > Does any one have a spare simple war that shows off switching
> > modules im
> > having to many problems at the minute :/
> >
> > if you could email them to [EMAIL PROTECTED] it
> > would be great
> >
> > ta
> >
> >
> > -
> > 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: [OT] how do people work in project with one server for development

2003-02-28 Thread Gerhard Poul
If you have WSAD on your workstation where is the problem with just using
the WAS development license that was installed with it?

"Chappell, Simon P" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]


>-Original Message-
>From: Mark Galbreath [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 06, 2003 9:42 AM
>To: 'Struts Users Mailing List'
>Subject: RE: [OT] how do people work in project with one server for
>development
>
>
>I don't know how IBM licenses WebSphere, but when we were
>faced with this
>problem we decided to go with BEA's WebLogic because BEA gave us great
>discounts for instances running on our own workstations, which
>created a
>development environment like you describe with Tomcat.
>Perhaps you should
>have shopped around before chaining yourselves to Big Blue?

If only it were that simple. Some of us get WAS handed down to us from a
being so far up the corporate ladder that it still has frost on it. This
same breather of rarified air, then also decides that once you're using WAS,
you should naturally use WSAD for your IDE. Oh ... and they're going to lock
down workstations, so that you can't install free stuff on there to use
instead.

Welcome to Corporate America. Please leave your innovation at home, it will
not be required at the office.

>Mark



Simon




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



Re: how do people work in project with one server for development

2003-02-28 Thread Gerhard Poul
"Ashish Kulkarni" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> But now we are moving to websphere, and it is not
> possible to have each one one copy to play with on his
> machine

Don't get me wrong, but why isn't that possible?

A development license of WAS is included with every copy of WSAD and you can
even purchase it separately.

Where's the problem?

btw: Asking this question _now_ seems a little late. Maybe you should've
evaluated it earlier or contacted IBM to help you.




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



RE: STRUTS with TORQUE

2003-02-28 Thread Mitchell Morris
I don't know that I'd love TORQUE since I'm not using it. I can say,
however, that I'm using Hibernate and think quite a great deal of it.

> -Original Message-
> From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 10:06 AM
> To: [EMAIL PROTECTED]
> Subject: Re: STRUTS with TORQUE
> 
> 
> If you like Torque, you would LOVE CommonsSQL in the commons 
> CVS sandbox.
> 
> .V
> 
> Mitchell Morris wrote:
> > Please summarize your findings to the list, if you would; I would
> > be interested in seeing the group consensus on Torque as well.
> > 
> > From following Jetspeed and Turbine user lists it seems that
> > there's a lot of confusion about where the various Turbine projects
> > are going especially with respect to Avalon. In my professional
> > caution, I discarded Torque as a candidate persistence layer
> > because of the organizational uncertainty that I thought I saw. I
> > would be delighted to find out that I was overly hasty.
> > 
> > +Mitchell
> > 
> > 
> >>-Original Message-
> >>From: Petrus, Christian (CORP, GEITC)
> >>[mailto:[EMAIL PROTECTED]
> >>Sent: Thursday, February 27, 2003 11:19 PM
> >>To: [EMAIL PROTECTED]
> >>Subject: STRUTS with TORQUE
> >>
> >>
> >>  Hello All,
> >>
> >>Thanks for all the help in this list.   
> >> 
> >>We are rewriting an entire swing application and we have 
> >>chosen Struts for
> >>the new web version of the product.  
> >> 
> >>For the database handling part, we are planning to use 
> >>Torque.  Does anyone
> >>have experience working with Struts / Torque or have 
> >>Information especially
> >>on what can go wrong with this combo?  Torque seems to be too 
> >>good and easy
> >>to be true!!!
> >> 
> >>Any info. would be greatly appreciated!!
> >> 
> >>Thanks in advance,
> >>Christian
> >> 
> >>
> >>
> >>
> >>"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED 
> >>ONLY FOR THE
> >>ADDRESSEE and may contain confidential and privileged information.
> >>If the reader of this message is not the intended recipient,
> >>you are notified that any dissemination, distribution or 
> copy of this 
> >>communication is strictly Prohibited. 
> >>If you have received this message by error, please notify us 
> >>immediately, return the original mail to the sender and delete the 
> >>message from your system."
> >>
> >>
> 
> 
> 
> -
> 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: How do you display action error messages in jsp?

2003-02-28 Thread James Mitchell
I agree, I just finished the test suite against the ErrorsTag so I know
it does exactly what its supposed to.



--
James Mitchell
Web Developer/Struts Evangelist



> -Original Message-
> From: Gemes Tibor [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 28, 2003 9:53 AM
> To: Struts Users Mailing List
> Subject: Re: How do you display action error messages in jsp?
> 
> 
> julian green wrote:
> 
> > Done all of your suggestions, and still fails.
> >
> > this is the end of my action method
> >
> > System.out.println("errors.size()=" + errors.size());
> 
> 
> You'd better use log4j for debugging, imho.
> 
> > if (errors.size() > 0)
> > {
> > saveErrors(request, errors);
> > return mapping.findForward("fail");
> > }
> >
> > return mapping.findForward("success");
> > }
> >
> > and here is a snippet from struts-config.xml
> >
> >  >   type="...admin.suspendenable.SuspendEnableAction"
> >   name="suspendenableform"
> >   scope="request"
> >   validate="false"
> >   parameter="whatdoesthisdo"
> >   input="/listprofiles.jsp">
> >
> > 
> > 
> > 
> >
> > ... and finally I have  in error.jsp which renders 
> > nothing.  Still confused 
> 
> 
> But you have the errors.jsp displayed, have you? Look into the logs, 
> might help a lot.
> 
> Tib
> 
> 
> 
> -
> 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]



  1   2   >